Searched refs:vb2_crypto_to_hash (Results 1 – 8 of 8) sorted by relevance
/external/vboot_reference/tests/ |
D | vb2_sha_tests.c | 115 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()
|
D | vb20_rsa_padding_tests.c | 37 k2->hash_alg = vb2_crypto_to_hash(key->algorithm); in vb2_public_key_to_vb2()
|
D | vb20_common2_tests.c | 41 TEST_EQ(pubk.hash_alg, vb2_crypto_to_hash(key->algorithm), in test_unpack_key()
|
D | vb21_common2_tests.c | 246 enum vb2_hash_algorithm hash_alg = vb2_crypto_to_hash(key_algorithm); in test_algorithm()
|
D | vb20_api_tests.c | 125 key->hash_alg = vb2_crypto_to_hash(k->algorithm); in vb2_unpack_key()
|
/external/vboot_reference/firmware/lib20/ |
D | packed_key.c | 48 key->hash_alg = vb2_crypto_to_hash(packed_key->algorithm); in vb2_unpack_key()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2sha.h | 131 enum vb2_hash_algorithm vb2_crypto_to_hash(uint32_t algorithm);
|
/external/vboot_reference/firmware/2lib/ |
D | 2sha_utility.c | 55 enum vb2_hash_algorithm vb2_crypto_to_hash(uint32_t algorithm) in vb2_crypto_to_hash() function
|