Home
last modified time | relevance | path

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

/mcuboot-latest/ext/tinycrypt/tests/
Dtest_ecc_dsa.c124 int hash_dwords = TC_SHA256_DIGEST_SIZE / 4; in sign_vectors() local
125 if (NUM_ECC_WORDS < hash_dwords) { in sign_vectors()
126 hash_dwords = NUM_ECC_WORDS; in sign_vectors()
129 memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in sign_vectors()
130 uECC_vli_bytesToNative(digest + (NUM_ECC_WORDS-hash_dwords), in sign_vectors()
391 int hash_dwords = TC_SHA256_DIGEST_SIZE / 4; in vrfy_vectors() local
392 if (NUM_ECC_WORDS < hash_dwords) { in vrfy_vectors()
393 hash_dwords = NUM_ECC_WORDS; in vrfy_vectors()
396 memset(digest, 0, NUM_ECC_BYTES - 4 * hash_dwords); in vrfy_vectors()
397 uECC_vli_bytesToNative(digest + (NUM_ECC_WORDS-hash_dwords), digest_bytes, in vrfy_vectors()