Home
last modified time | relevance | path

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

/lib/crypto/tests/
A Dhash-test-template.h111 u8 actual_hash[HASH_SIZE]; in test_hash_test_vectors() local
116 HASH(test_buf, data_len, actual_hash); in test_hash_test_vectors()
118 test, actual_hash, hash_testvecs[i].digest, HASH_SIZE, in test_hash_test_vectors()
452 u8 actual_hash[HASH_SIZE]; in hash_irq_test1_func() local
454 HASH(&test_buf[i * IRQ_TEST_DATA_LEN], IRQ_TEST_DATA_LEN, actual_hash); in hash_irq_test1_func()
455 return memcmp(actual_hash, state->expected_hashes[i], HASH_SIZE) == 0; in hash_irq_test1_func()
521 u8 actual_hash[HASH_SIZE]; in hash_irq_test2_func() local
525 HASH_FINAL(&ctx->hash_ctx, actual_hash); in hash_irq_test2_func()
526 if (memcmp(actual_hash, state->expected_hash, HASH_SIZE) != 0) in hash_irq_test2_func()

Completed in 6 milliseconds