Searched refs:hash_nid (Results 1 - 5 of 5) sorted by relevance

/external/boringssl/src/crypto/rsa/
H A Drsa.c383 int *is_alloced, int hash_nid, const uint8_t *msg,
387 if (hash_nid == NID_md5_sha1) {
402 if (sig_prefix->nid != hash_nid) {
437 int RSA_sign(int hash_nid, const uint8_t *in, unsigned in_len, uint8_t *out, argument
447 return rsa->meth->sign(hash_nid, in, in_len, out, out_len, rsa);
451 &signed_msg_is_alloced, hash_nid, in, in_len)) {
474 int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, argument
484 return rsa->meth->verify(hash_nid, msg, msg_len, sig, sig_len, rsa);
492 if (hash_nid == NID_md5_sha1 && msg_len != SSL_SIG_LENGTH) {
509 &signed_msg_is_alloced, hash_nid, ms
382 RSA_add_pkcs1_prefix(uint8_t **out_msg, size_t *out_msg_len, int *is_alloced, int hash_nid, const uint8_t *msg, size_t msg_len) argument
[all...]
/external/boringssl/include/openssl/
H A Drsa.h185 * The |hash_nid| argument identifies the hash function used to calculate |in|
190 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in,
210 * The |hash_nid| argument identifies the hash function used to calculate |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/include/openssl/
H A Drsa.h185 * The |hash_nid| argument identifies the hash function used to calculate |in|
190 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in,
210 * The |hash_nid| argument identifies the hash function used to calculate |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/
H A Dpkcs8.c988 int hash_nid; local
1013 hash_nid = OBJ_cbs2nid(&hash_oid);
1014 if (hash_nid == NID_undef ||
1015 (md = EVP_get_digestbynid(hash_nid)) == NULL) {
/external/boringssl/src/crypto/obj/
H A Dobj.c553 static uint32_t hash_nid(const ASN1_OBJECT *obj) { function
600 global_added_by_nid = lh_ASN1_OBJECT_new(hash_nid, cmp_nid);

Completed in 90 milliseconds