Home
last modified time | relevance | path

Searched refs:hash_nid (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/ssl/
Dssl_privkey.cc503 int hash_nid; member
532 const int hash_nid = values[i]; in parse_sigalg_pairs() local
537 if (candidate.pkey_type == pkey_type && candidate.hash_nid == hash_nid) { in parse_sigalg_pairs()
546 ERR_add_error_dataf("unknown hash:%d pkey:%d", hash_nid, pkey_type); in parse_sigalg_pairs()
653 int pkey_type = 0, hash_nid = 0; in parse_sigalgs_list() local
720 hash_nid = NID_sha1; in parse_sigalgs_list()
722 hash_nid = NID_sha256; in parse_sigalgs_list()
724 hash_nid = NID_sha384; in parse_sigalgs_list()
726 hash_nid = NID_sha512; in parse_sigalgs_list()
736 candidate.hash_nid == hash_nid) { in parse_sigalgs_list()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c445 int *is_alloced, int hash_nid, const uint8_t *msg, in RSA_add_pkcs1_prefix() argument
449 if (hash_nid == NID_md5_sha1) { in RSA_add_pkcs1_prefix()
464 if (sig_prefix->nid != hash_nid) { in RSA_add_pkcs1_prefix()
504 int RSA_sign(int hash_nid, const uint8_t *in, unsigned in_len, uint8_t *out, in RSA_sign() argument
514 return rsa->meth->sign(hash_nid, in, in_len, out, out_len, rsa); in RSA_sign()
518 &signed_msg_is_alloced, hash_nid, in, in_len) || in RSA_sign()
557 int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, in RSA_verify() argument
571 if (hash_nid == NID_md5_sha1 && msg_len != SSL_SIG_LENGTH) { in RSA_verify()
588 &signed_msg_is_alloced, hash_nid, msg, msg_len)) { in RSA_verify()
/external/boringssl/src/include/openssl/
Drsa.h266 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in,
313 OPENSSL_EXPORT int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len,
457 int *is_alloced, int hash_nid,
/external/boringssl/src/crypto/obj/
Dobj.c471 static uint32_t hash_nid(const ASN1_OBJECT *obj) { in hash_nid() function
518 global_added_by_nid = lh_ASN1_OBJECT_new(hash_nid, cmp_nid); in obj_add_object()