Home
last modified time | relevance | path

Searched refs:digest_buf (Results 1 – 6 of 6) sorted by relevance

/external/boringssl/src/util/fipstools/cavp/
Dcavp_rsa2_sigver_test.cc74 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in TestRSA2SigVer() local
77 !EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in TestRSA2SigVer()
83 ok = RSA_verify_pss_mgf1(key.get(), digest_buf, digest_len, md, md, -1, in TestRSA2SigVer()
86 ok = RSA_verify(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in TestRSA2SigVer()
Dcavp_rsa2_siggen_test.cc76 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in TestRSA2SigGen() local
81 !EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in TestRSA2SigGen()
87 digest_buf, digest_len, md, md, -1)) { in TestRSA2SigGen()
92 if (!RSA_sign(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in TestRSA2SigGen()
/external/rust/crates/quiche/deps/boringssl/src/util/fipstools/cavp/
Dcavp_rsa2_sigver_test.cc74 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in TestRSA2SigVer() local
77 !EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in TestRSA2SigVer()
83 ok = RSA_verify_pss_mgf1(key.get(), digest_buf, digest_len, md, md, -1, in TestRSA2SigVer()
86 ok = RSA_verify(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in TestRSA2SigVer()
Dcavp_rsa2_siggen_test.cc76 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in TestRSA2SigGen() local
81 !EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in TestRSA2SigGen()
87 digest_buf, digest_len, md, md, -1)) { in TestRSA2SigGen()
92 if (!RSA_sign(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in TestRSA2SigGen()
/external/boringssl/src/util/fipstools/acvp/modulewrapper/
Dmodulewrapper.cc1628 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in RSASigGen() local
1630 if (!EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in RSASigGen()
1637 if (!RSA_sign_pss_mgf1(key, &sig_len, sig.data(), sig.size(), digest_buf, in RSASigGen()
1643 if (!RSA_sign(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in RSASigGen()
1673 uint8_t digest_buf[EVP_MAX_MD_SIZE]; in RSASigVer() local
1675 if (!EVP_Digest(msg.data(), msg.size(), digest_buf, &digest_len, md, NULL)) { in RSASigVer()
1681 ok = RSA_verify_pss_mgf1(key.get(), digest_buf, digest_len, md, md, -1, in RSASigVer()
1684 ok = RSA_verify(EVP_MD_type(md), digest_buf, digest_len, sig.data(), in RSASigVer()
/external/avb/libavb/
Davb_slot_verify.c1136 uint8_t digest_buf[AVB_SHA512_DIGEST_SIZE]; in load_and_verify_vbmeta() local
1187 digest_buf); in load_and_verify_vbmeta()
1195 digest_buf, in load_and_verify_vbmeta()