Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster_test.cpp1159 EVP_MD_CTX digest_ctx; in TEST_P() local
1160 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1162 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, EVP_sha224(), nullptr /* engine */, in TEST_P()
1165 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())); in TEST_P()
1167 EVP_DigestVerifyFinal(&digest_ctx, reinterpret_cast<const uint8_t*>(signature.data()), in TEST_P()
1169 EVP_MD_CTX_cleanup(&digest_ctx); in TEST_P()
1254 EVP_MD_CTX digest_ctx; in TEST_P() local
1255 EVP_MD_CTX_init(&digest_ctx); in TEST_P()
1257 EXPECT_EQ(1, EVP_DigestVerifyInit(&digest_ctx, &pkey_ctx, EVP_sha224(), nullptr /* engine */, in TEST_P()
1259 EXPECT_EQ(1, EVP_DigestVerifyUpdate(&digest_ctx, message.data(), message.size())); in TEST_P()
[all …]