Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvb2_sha_tests.c115 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA1024_SHA1), VB2_HASH_SHA1, in misc_tests()
117 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA2048_SHA256), VB2_HASH_SHA256, in misc_tests()
119 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA4096_SHA256), VB2_HASH_SHA256, in misc_tests()
121 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_RSA8192_SHA512), VB2_HASH_SHA512, in misc_tests()
123 TEST_EQ(vb2_crypto_to_hash(VB2_ALG_COUNT), VB2_HASH_INVALID, in misc_tests()
Dvb20_rsa_padding_tests.c37 k2->hash_alg = vb2_crypto_to_hash(key->algorithm); in vb2_public_key_to_vb2()
Dvb20_common2_tests.c41 TEST_EQ(pubk.hash_alg, vb2_crypto_to_hash(key->algorithm), in test_unpack_key()
Dvb21_common2_tests.c246 enum vb2_hash_algorithm hash_alg = vb2_crypto_to_hash(key_algorithm); in test_algorithm()
Dvb20_api_tests.c125 key->hash_alg = vb2_crypto_to_hash(k->algorithm); in vb2_unpack_key()
/external/vboot_reference/firmware/lib20/
Dpacked_key.c48 key->hash_alg = vb2_crypto_to_hash(packed_key->algorithm); in vb2_unpack_key()
/external/vboot_reference/firmware/2lib/include/
D2sha.h131 enum vb2_hash_algorithm vb2_crypto_to_hash(uint32_t algorithm);
/external/vboot_reference/firmware/2lib/
D2sha_utility.c55 enum vb2_hash_algorithm vb2_crypto_to_hash(uint32_t algorithm) in vb2_crypto_to_hash() function