/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/ |
main.c | 277 int i, tz_nvctr_nid, ntz_nvctr_nid, hash_nid, pk_nid; local 432 CHECK_OID(hash_nid, BL2_HASH_OID); 433 CHECK_NULL(hash_ext, ext_new_hash(hash_nid, EXT_CRIT, md, 511 CHECK_OID(hash_nid, BL30_HASH_OID); 512 CHECK_NULL(hash_ext, ext_new_hash(hash_nid, EXT_CRIT, md, 561 CHECK_OID(hash_nid, BL31_HASH_OID); 562 CHECK_NULL(hash_ext, ext_new_hash(hash_nid, EXT_CRIT, md, 614 CHECK_OID(hash_nid, BL32_HASH_OID); 615 CHECK_NULL(hash_ext, ext_new_hash(hash_nid, EXT_CRIT, md, 664 CHECK_OID(hash_nid, BL33_HASH_OID) [all...] |
/bootable/recovery/ |
verifier.cpp | 257 int hash_nid; local 261 hash_nid = NID_sha1; 265 hash_nid = NID_sha256; 274 if (!RSA_verify(hash_nid, hash, key.hash_len, sig_der.data(), sig_der.size(),
|
/external/boringssl/src/crypto/rsa/ |
rsa.c | 409 int *is_alloced, int hash_nid, const uint8_t *msg, 413 if (hash_nid == NID_md5_sha1) { 428 if (sig_prefix->nid != hash_nid) { 463 int RSA_sign(int hash_nid, const uint8_t *in, unsigned in_len, uint8_t *out, 473 return rsa->meth->sign(hash_nid, in, in_len, out, out_len, rsa); 477 &signed_msg_is_alloced, hash_nid, in, in_len)) { 500 int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, 514 if (hash_nid == NID_md5_sha1 && msg_len != SSL_SIG_LENGTH) { 531 &signed_msg_is_alloced, hash_nid, msg, msg_len)) {
|
/external/boringssl/src/include/openssl/ |
rsa.h | 208 * The |hash_nid| argument identifies the hash function used to calculate |in| 213 OPENSSL_EXPORT int RSA_sign(int hash_nid, const uint8_t *in, 233 * The |hash_nid| argument identifies the hash function used to calculate |in| 241 OPENSSL_EXPORT int RSA_verify(int hash_nid, const uint8_t *msg, size_t msg_len, 366 int *is_alloced, int hash_nid,
|
/external/boringssl/src/crypto/obj/ |
obj.c | 534 static uint32_t hash_nid(const ASN1_OBJECT *obj) { function 581 global_added_by_nid = lh_ASN1_OBJECT_new(hash_nid, cmp_nid);
|