HomeSort by relevance Sort by last modified time
    Searched refs:ECDSA_SIG (Results 1 - 21 of 21) sorted by null

  /external/openssl/crypto/ecdsa/
ecs_asn1.c 60 ASN1_SEQUENCE(ECDSA_SIG) = {
61 ASN1_SIMPLE(ECDSA_SIG, r, CBIGNUM),
62 ASN1_SIMPLE(ECDSA_SIG, s, CBIGNUM)
63 } ASN1_SEQUENCE_END(ECDSA_SIG)
65 DECLARE_ASN1_FUNCTIONS_const(ECDSA_SIG)
66 DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECDSA_SIG, ECDSA_SIG)
67 IMPLEMENT_ASN1_FUNCTIONS_const(ECDSA_SIG)
ecdsa.h 82 } ECDSA_SIG;
84 /** Allocates and initialize a ECDSA_SIG structure
85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
87 ECDSA_SIG *ECDSA_SIG_new(void);
89 /** frees a ECDSA_SIG structure
90 * \param sig pointer to the ECDSA_SIG structure
92 void ECDSA_SIG_free(ECDSA_SIG *sig);
94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp
96 * \param sig pointer to the ECDSA_SIG object
98 * \return the length of the DER encoded ECDSA_SIG object or 0
    [all...]
ecs_vrf.c 70 const ECDSA_SIG *sig, EC_KEY *eckey)
86 ECDSA_SIG *s;
ecs_locl.h 71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len,
77 const ECDSA_SIG *sig, EC_KEY *eckey);
ecs_sign.c 63 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, int dlen, EC_KEY *eckey)
68 ECDSA_SIG *ECDSA_do_sign_ex(const unsigned char *dgst, int dlen,
87 ECDSA_SIG *s;
ecs_ossl.c 65 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dlen,
71 const ECDSA_SIG *sig, EC_KEY *eckey);
242 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len,
250 ECDSA_SIG *ret;
374 const ECDSA_SIG *sig, EC_KEY *eckey)
ecdsatest.c 189 ECDSA_SIG *signature = NULL;
290 ECDSA_SIG *ecdsa_sig = NULL; local
437 if ((ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len)) == NULL)
444 r_len = BN_num_bytes(ecdsa_sig->r);
445 s_len = BN_num_bytes(ecdsa_sig->s);
457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len);
458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len);
465 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) ||
466 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL)
    [all...]
  /external/chromium_org/third_party/boringssl/src/crypto/ecdsa/
ecdsa_asn1.c 62 ASN1_SEQUENCE(ECDSA_SIG) = {
63 ASN1_SIMPLE(ECDSA_SIG, r, CBIGNUM),
64 ASN1_SIMPLE(ECDSA_SIG, s, CBIGNUM),
65 } ASN1_SEQUENCE_END(ECDSA_SIG);
67 DECLARE_ASN1_FUNCTIONS_const(ECDSA_SIG);
68 DECLARE_ASN1_ENCODE_FUNCTIONS_const(ECDSA_SIG, ECDSA_SIG);
69 IMPLEMENT_ASN1_FUNCTIONS_const(ECDSA_SIG);
ecdsa.c 75 ECDSA_SIG *s;
123 ECDSA_SIG *ECDSA_do_sign(const uint8_t *digest, size_t digest_len,
129 const ECDSA_SIG *sig, EC_KEY *eckey) {
358 ECDSA_SIG *ECDSA_do_sign_ex(const uint8_t *digest, size_t digest_len,
366 ECDSA_SIG *ret;
465 ECDSA_SIG *s = NULL;
ecdsa_test.c 69 ECDSA_SIG *ecdsa_sig = NULL; local
197 ecdsa_sig = d2i_ECDSA_SIG(NULL, &sig_ptr, sig_len);
198 if (ecdsa_sig == NULL) {
204 r_len = BN_num_bytes(ecdsa_sig->r);
205 s_len = BN_num_bytes(ecdsa_sig->s);
218 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len);
219 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len);
226 if (BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL ||
227 BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL)
    [all...]
  /external/openssl/include/openssl/
ecdsa.h 82 } ECDSA_SIG;
84 /** Allocates and initialize a ECDSA_SIG structure
85 * \return pointer to a ECDSA_SIG structure or NULL if an error occurred
87 ECDSA_SIG *ECDSA_SIG_new(void);
89 /** frees a ECDSA_SIG structure
90 * \param sig pointer to the ECDSA_SIG structure
92 void ECDSA_SIG_free(ECDSA_SIG *sig);
94 /** DER encode content of ECDSA_SIG object (note: this function modifies *pp
96 * \param sig pointer to the ECDSA_SIG object
98 * \return the length of the DER encoded ECDSA_SIG object or 0
    [all...]
  /external/chromium_org/third_party/boringssl/src/include/openssl/
ecdsa.h 95 * Low-level functions handle signatures as |ECDSA_SIG| structures which allow
103 /* ECDSA_SIG_new returns a fresh |ECDSA_SIG| structure or NULL on error. */
104 OPENSSL_EXPORT ECDSA_SIG *ECDSA_SIG_new(void);
107 OPENSSL_EXPORT void ECDSA_SIG_free(ECDSA_SIG *sig);
113 OPENSSL_EXPORT ECDSA_SIG *ECDSA_do_sign(const uint8_t *digest,
122 const ECDSA_SIG *sig, EC_KEY *key);
140 OPENSSL_EXPORT ECDSA_SIG *ECDSA_do_sign_ex(const uint8_t *digest,
158 * directly into |*out|, otherwise a fresh |ECDSA_SIG| is allocated. On
161 OPENSSL_EXPORT ECDSA_SIG *d2i_ECDSA_SIG(ECDSA_SIG **out, const uint8_t **inp
    [all...]
base.h 180 typedef struct ecdsa_sig_st ECDSA_SIG;
  /external/chromium_org/crypto/
scoped_openssl_types.h 46 typedef ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free>::Type ScopedECDSA_SIG;
ec_signature_creator_openssl.cc 22 typedef ScopedOpenSSL<ECDSA_SIG, ECDSA_SIG_free>::Type ScopedECDSA_SIG;
60 // Create ECDSA_SIG object from DER-encoded data.
62 ScopedECDSA_SIG ecdsa_sig(
64 if (!ecdsa_sig.get())
73 BIGNUM* r = ecdsa_sig.get()->r;
74 BIGNUM* s = ecdsa_sig.get()->s;
85 BN_bn2bin(ecdsa_sig.get()->r, &result[kMaxBytesPerBN - r_bytes]);
86 BN_bn2bin(ecdsa_sig.get()->s, &result[2 * kMaxBytesPerBN - s_bytes]);
  /external/chromium_org/net/quic/crypto/
channel_id_openssl.cc 45 ECDSA_SIG sig;
  /external/chromium_org/third_party/boringssl/src/ssl/
s3_clnt.c     [all...]
s3_srvr.c     [all...]
  /external/openssl/ssl/
s3_clnt.c     [all...]
s3_srvr.c     [all...]
  /external/conscrypt/src/main/native/
org_conscrypt_NativeCrypto.cpp     [all...]

Completed in 782 milliseconds