Home
last modified time | relevance | path

Searched refs:NID_sha256 (Results 1 – 20 of 20) sorted by relevance

/external/boringssl/src/crypto/obj/
Dobj_xref.c74 {NID_sha256WithRSAEncryption, NID_sha256, NID_rsaEncryption},
81 {NID_dsa_with_SHA256, NID_sha256, NID_dsa},
85 {NID_ecdsa_with_SHA256, NID_sha256, NID_X9_62_id_ecPublicKey},
Dobj_test.cc65 ASSERT_EQ(digest_nid, NID_sha256); in TEST()
68 ASSERT_FALSE(OBJ_find_sigid_algs(NID_sha256, &digest_nid, &pkey_nid)); in TEST()
71 ASSERT_TRUE(OBJ_find_sigid_by_algs(&sign_nid, NID_sha256, NID_rsaEncryption)); in TEST()
Dobj_dat.h8243 {"SHA256", "sha256", NID_sha256, 9, &kObjectData[4534], 0},
/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc564 EXPECT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), buf, in TEST()
566 EXPECT_TRUE(RSA_verify(NID_sha256, kDummyHash, sizeof(kDummyHash), buf, in TEST()
579 EXPECT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), buf, in TEST()
583 EXPECT_TRUE(RSA_verify(NID_sha256, kDummyHash, sizeof(kDummyHash), buf, in TEST()
693 RSA_sign(NID_sha256, kZeros, sizeof(kZeros), sig, &sig_len, rsa.get())); in TEST()
695 RSA_verify(NID_sha256, kZeros, sizeof(kZeros), sig, sig_len, rsa.get())); in TEST()
1061 EXPECT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), sig, in TEST()
1096 EXPECT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), sig2, in TEST()
1102 EXPECT_TRUE(RSA_verify(NID_sha256, kDummyHash, sizeof(kDummyHash), sig, in TEST()
/external/boringssl/src/crypto/digest_extra/
Ddigest_extra.c80 {NID_sha256, EVP_sha256, SN_sha256, LN_sha256},
131 { {0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01}, 9, NID_sha256 },
/external/boringssl/src/fipstools/
Dtest_fips.c189 if (!RSA_sign(NID_sha256, kPlaintextSHA256, sizeof(kPlaintextSHA256), output, in main()
200 if (!RSA_verify(NID_sha256, kPlaintextSHA256, sizeof(kPlaintextSHA256), in main()
/external/boringssl/src/ssl/
Dssl_privkey.cc507 {EVP_PKEY_RSA, NID_sha256, SSL_SIGN_RSA_PKCS1_SHA256},
510 {EVP_PKEY_RSA_PSS, NID_sha256, SSL_SIGN_RSA_PSS_RSAE_SHA256},
514 {EVP_PKEY_EC, NID_sha256, SSL_SIGN_ECDSA_SECP256R1_SHA256},
722 hash_nid = NID_sha256; in parse_sigalgs_list()
Dssl_test.cc920 NID_sha256, in TEST()
929 NID_sha256, in TEST()
956 NID_sha256, in TEST()
974 NID_sha256, in TEST()
983 NID_sha256, in TEST()
4190 {{NID_sha256, EVP_PKEY_ED25519}, false, {}}, in TEST()
4191 {{NID_sha256, EVP_PKEY_RSA, NID_sha256, EVP_PKEY_RSA}, false, {}}, in TEST()
4193 {{NID_sha256, EVP_PKEY_RSA}, true, {SSL_SIGN_RSA_PKCS1_SHA256}}, in TEST()
4195 {{NID_sha256, EVP_PKEY_RSA_PSS}, true, {SSL_SIGN_RSA_PSS_RSAE_SHA256}}, in TEST()
Dssl_cipher.cc1451 return NID_sha256; in SSL_CIPHER_get_prf_nid()
/external/boringssl/src/crypto/fipsmodule/self_check/
Dself_check.c508 if (!RSA_sign(NID_sha256, kPlaintextSHA256, sizeof(kPlaintextSHA256), output, in BORINGSSL_self_test()
517 if (!RSA_verify(NID_sha256, kPlaintextSHA256, sizeof(kPlaintextSHA256), in BORINGSSL_self_test()
/external/webrtc/webrtc/base/
Dopenssldigest.cc95 } else if (md_type == NID_sha256) { in GetDigestName()
/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c256 case NID_sha256: in EVP_tls_cbc_record_digest_supported()
295 case NID_sha256: in EVP_tls_cbc_digest_record()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa.c419 NID_sha256,
847 if (!RSA_sign(NID_sha256, data, sizeof(data), sig, &sig_len, key)) { in RSA_check_fips()
855 if (!RSA_verify(NID_sha256, data, sizeof(data), sig, sig_len, key)) { in RSA_check_fips()
/external/boringssl/src/tool/
Dspeed.cc183 return RSA_sign(NID_sha256, fake_sha256_hash, sizeof(fake_sha256_hash), in SpeedRSA()
195 NID_sha256, fake_sha256_hash, sizeof(fake_sha256_hash), in SpeedRSA()
221 return RSA_verify(NID_sha256, fake_sha256_hash, in SpeedRSA()
/external/boringssl/src/crypto/evp/
Dp_ec.c187 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl()
Devp_extra_test.cc424 ASSERT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), sig, in TEST()
/external/openssh/
Dssh-rsa.c73 return NID_sha256; in rsa_hash_alg_nid()
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigests.c187 out->type = NID_sha256; in DEFINE_METHOD_FUNCTION()
/external/kmod/libkmod/
Dlibkmod-signature.c155 case NID_sha256: in obj_to_hash_algo()
/external/boringssl/src/include/openssl/
Dnid.h2993 #define NID_sha256 672 macro