Home
last modified time | relevance | path

Searched refs:dgst_len (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/
Decs_vrf.c69 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, in ECDSA_do_verify() argument
75 return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey); in ECDSA_do_verify()
83 int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, in ECDSA_verify() argument
92 ret=ECDSA_do_verify(dgst, dgst_len, s, eckey); in ECDSA_verify()
Decs_ossl.c68 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len,
222 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, in ecdsa_do_sign() argument
268 if (8 * dgst_len > i) in ecdsa_do_sign()
269 dgst_len = (i + 7)/8; in ecdsa_do_sign()
270 if (!BN_bin2bn(dgst, dgst_len, m)) in ecdsa_do_sign()
276 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) in ecdsa_do_sign()
353 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, in ecdsa_do_verify() argument
414 if (8 * dgst_len > i) in ecdsa_do_verify()
415 dgst_len = (i + 7)/8; in ecdsa_do_verify()
416 if (!BN_bin2bn(dgst, dgst_len, m)) in ecdsa_do_verify()
[all …]
Decs_locl.h71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len,
75 int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len,
Decdsa.h118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
Decdsatest.c186 unsigned int dgst_len = 0; in x9_62_test_internal() local
196 EVP_DigestFinal(&md_ctx, digest, &dgst_len); in x9_62_test_internal()
/external/openssl/crypto/ecdsa/
Decs_vrf.c69 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, in ECDSA_do_verify() argument
75 return ecdsa->meth->ecdsa_do_verify(dgst, dgst_len, sig, eckey); in ECDSA_do_verify()
83 int ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, in ECDSA_verify() argument
92 ret=ECDSA_do_verify(dgst, dgst_len, s, eckey); in ECDSA_verify()
Decs_ossl.c68 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len,
222 static ECDSA_SIG *ecdsa_do_sign(const unsigned char *dgst, int dgst_len, in ecdsa_do_sign() argument
268 if (8 * dgst_len > i) in ecdsa_do_sign()
269 dgst_len = (i + 7)/8; in ecdsa_do_sign()
270 if (!BN_bin2bn(dgst, dgst_len, m)) in ecdsa_do_sign()
276 if ((8 * dgst_len > i) && !BN_rshift(m, m, 8 - (i & 0x7))) in ecdsa_do_sign()
353 static int ecdsa_do_verify(const unsigned char *dgst, int dgst_len, in ecdsa_do_verify() argument
414 if (8 * dgst_len > i) in ecdsa_do_verify()
415 dgst_len = (i + 7)/8; in ecdsa_do_verify()
416 if (!BN_bin2bn(dgst, dgst_len, m)) in ecdsa_do_verify()
[all …]
Decs_locl.h71 ECDSA_SIG *(*ecdsa_do_sign)(const unsigned char *dgst, int dgst_len,
75 int (*ecdsa_do_verify)(const unsigned char *dgst, int dgst_len,
Decdsa.h118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
Decdsatest.c186 unsigned int dgst_len = 0; in x9_62_test_internal() local
196 EVP_DigestFinal(&md_ctx, digest, &dgst_len); in x9_62_test_internal()
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/
Ddsa_vrf.c64 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, in DSA_do_verify() argument
75 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); in DSA_do_verify()
Ddsa_ossl.c71 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
307 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, in dsa_do_verify() argument
357 if (dgst_len > (i >> 3)) in dsa_do_verify()
361 dgst_len = (i >> 3); in dsa_do_verify()
362 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err; in dsa_do_verify()
Ddsa.h135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len,
198 int DSA_do_verify(const unsigned char *dgst,int dgst_len,
217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
Ddsa_asn1.c175 int DSA_verify(int type, const unsigned char *dgst, int dgst_len, in DSA_verify() argument
184 ret=DSA_do_verify(dgst,dgst_len,s,dsa); in DSA_verify()
/external/openssl/crypto/dsa/
Ddsa_vrf.c64 int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, in DSA_do_verify() argument
75 return dsa->meth->dsa_do_verify(dgst, dgst_len, sig, dsa); in DSA_do_verify()
Ddsa_ossl.c71 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
307 static int dsa_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, in dsa_do_verify() argument
357 if (dgst_len > (i >> 3)) in dsa_do_verify()
361 dgst_len = (i >> 3); in dsa_do_verify()
362 if (BN_bin2bn(dgst,dgst_len,&u1) == NULL) goto err; in dsa_do_verify()
Ddsa.h135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len,
198 int DSA_do_verify(const unsigned char *dgst,int dgst_len,
217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
Ddsa_asn1.c175 int DSA_verify(int type, const unsigned char *dgst, int dgst_len, in DSA_verify() argument
184 ret=DSA_do_verify(dgst,dgst_len,s,dsa); in DSA_verify()
/external/openssl/include/openssl/
Decdsa.h118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
Ddsa.h135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len,
198 int DSA_do_verify(const unsigned char *dgst,int dgst_len,
217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
/external/chromium_org/third_party/openssl/openssl/include/openssl/
Decdsa.h118 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst,int dgst_len,EC_KEY *eckey);
142 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len,
Ddsa.h135 int (*dsa_do_verify)(const unsigned char *dgst, int dgst_len,
198 int DSA_do_verify(const unsigned char *dgst,int dgst_len,
217 int DSA_verify(int type,const unsigned char *dgst,int dgst_len,
/external/chromium_org/net/android/
Dkeystore_openssl.cc402 int dgst_len, in DsaMethodDoVerify() argument
543 int dgst_len, in EcdsaMethodDoSign() argument
558 static_cast<size_t>(dgst_len)); in EcdsaMethodDoSign()
592 int dgst_len, in EcdsaMethodDoVerify() argument
/external/chromium_org/third_party/openssl/openssl/crypto/engine/
Deng_cryptodev.c123 static int cryptodev_dsa_verify(const unsigned char *dgst, int dgst_len,
/external/openssl/crypto/engine/
Deng_cryptodev.c123 static int cryptodev_dsa_verify(const unsigned char *dgst, int dgst_len,