Home
last modified time | relevance | path

Searched refs:digest_ctx (Results 1 – 2 of 2) 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.cpp1589 EVP_MD_CTX digest_ctx; in TEST_P() local
1590 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1594 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
1610 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())); in TEST_P()
1612 &digest_ctx, reinterpret_cast<const uint8_t*>(signature.data()), in TEST_P()
1614 EVP_MD_CTX_cleanup(&digest_ctx); in TEST_P()
1670 EVP_MD_CTX digest_ctx; in TEST_P() local
1671 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1675 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, md, nullptr /* engine */, in TEST_P()
1679 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())) in TEST_P()
[all …]