Home
last modified time | relevance | path

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

/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp2079 EVP_MD_CTX digest_ctx; in TEST_P() local
2080 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
2084 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
2100 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())); in TEST_P()
2102 &digest_ctx, reinterpret_cast<const uint8_t*>(signature.data()), in TEST_P()
2104 EVP_MD_CTX_cleanup(&digest_ctx); in TEST_P()
2163 EVP_MD_CTX digest_ctx; in TEST_P() local
2164 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
2168 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
2172 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())) in TEST_P()
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp1703 EVP_MD_CTX digest_ctx; in TEST_P() local
1704 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1708 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
1725 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())); in TEST_P()
1727 &digest_ctx, reinterpret_cast<const uint8_t*>(signature.data()), in TEST_P()
1729 EVP_MD_CTX_cleanup(&digest_ctx); in TEST_P()
1785 EVP_MD_CTX digest_ctx; in TEST_P() local
1786 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1790 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
1794 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())) in TEST_P()
[all …]
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp1081 EVP_MD_CTX digest_ctx; in LocalVerifyMessage() local
1082 EVP_MD_CTX_init(&digest_ctx); in LocalVerifyMessage()
1086 ASSERT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr, pub_key.get())); in LocalVerifyMessage()
1094 ASSERT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, in LocalVerifyMessage()
1097 ASSERT_EQ(1, EVP_DigestVerifyFinal(&digest_ctx, in LocalVerifyMessage()
1100 EVP_MD_CTX_cleanup(&digest_ctx); in LocalVerifyMessage()