Searched refs:hash_nid (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/rsa/ |
D | rsa.c | 383 int *is_alloced, int hash_nid, const uint8_t *msg, in RSA_add_pkcs1_prefix() argument 387 if (hash_nid == NID_md5_sha1) { in RSA_add_pkcs1_prefix() 402 if (sig_prefix->nid != hash_nid) { in RSA_add_pkcs1_prefix() 437 int RSA_sign(int hash_nid, const uint8_t *in, unsigned in_len, uint8_t *out, in RSA_sign() argument 447 return rsa->meth->sign(hash_nid, in, in_len, out, out_len, rsa); in RSA_sign() 451 &signed_msg_is_alloced, hash_nid, in, in_len)) { in RSA_sign() 474 int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, in RSA_verify() argument 484 return rsa->meth->verify(hash_nid, msg, msg_len, sig, sig_len, rsa); in RSA_verify() 492 if (hash_nid == NID_md5_sha1 && msg_len != SSL_SIG_LENGTH) { in RSA_verify() 509 &signed_msg_is_alloced, hash_nid, msg, msg_len)) { in RSA_verify()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 190 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in, 218 OPENSSL_EXPORT int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, 330 int *is_alloced, int hash_nid,
|
/external/boringssl/src/crypto/pkcs8/ |
D | pkcs8.c | 988 int hash_nid; in PKCS12_get_key_and_certs() local 1013 hash_nid = OBJ_cbs2nid(&hash_oid); in PKCS12_get_key_and_certs() 1014 if (hash_nid == NID_undef || in PKCS12_get_key_and_certs() 1015 (md = EVP_get_digestbynid(hash_nid)) == NULL) { in PKCS12_get_key_and_certs()
|
/external/boringssl/src/crypto/obj/ |
D | obj.c | 553 static uint32_t hash_nid(const ASN1_OBJECT *obj) { in hash_nid() function 600 global_added_by_nid = lh_ASN1_OBJECT_new(hash_nid, cmp_nid); in obj_add_object()
|