Home
last modified time | relevance | path

Searched refs:kDummyHash (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/rsa_extra/
Drsa_test.cc560 const uint8_t kDummyHash[32] = {0}; in TEST() local
564 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()
1057 const uint8_t kDummyHash[32] = {0}; in TEST() local
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/evp/
Devp_extra_test.cc421 const uint8_t kDummyHash[32] = {0}; in TEST() local
424 ASSERT_TRUE(RSA_sign(NID_sha256, kDummyHash, sizeof(kDummyHash), sig, in TEST()
440 EXPECT_EQ(Bytes(kDummyHash), Bytes(recovered.data(), out_len)); in TEST()
Dp_rsa.c269 static const uint8_t kDummyHash[EVP_MAX_MD_SIZE] = {0}; in pkey_rsa_verify_recover() local
277 kDummyHash, hash_len)) { in pkey_rsa_verify_recover()