Searched defs:digest_size (Results 1 - 2 of 2) sorted by relevance

/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp1552 * A PSS-padded message is of length salt_size + digest_size + 16 (sizes in bits), and the keymaster
1553 * specification requires that salt_size == digest_size, so the message will be digest_size * 2 +
1555 * uses SHA512, which has a digest_size == 512, so the message size is 1040 bits, too large for a
2782 constexpr size_t digest_size = 160 /* SHA1 */ / 8; local
2783 constexpr size_t oaep_overhead = 2 * digest_size + 2;
/hardware/interfaces/keymaster/4.0/vts/functional/
H A Dkeymaster_hidl_hal_test.cpp827 * A PSS-padded message is of length salt_size + digest_size + 16 (sizes in bits), and the keymaster
828 * specification requires that salt_size == digest_size, so the message will be digest_size * 2 +
830 * uses SHA512, which has a digest_size == 512, so the message size is 1040 bits, too large for a
2177 constexpr size_t digest_size = 160 /* SHA1 */ / 8; local
2178 constexpr size_t oaep_overhead = 2 * digest_size + 2;

Completed in 237 milliseconds