Searched refs:actual_hash (Results 1 – 1 of 1) sorted by relevance
| /linux/lib/crypto/tests/ |
| H A D | hash-test-template.h | 109 u8 actual_hash[HASH_SIZE]; in test_hash_test_vectors() local 114 HASH(test_buf, data_len, actual_hash); in test_hash_test_vectors() 116 test, actual_hash, hash_testvecs[i].digest, HASH_SIZE, in test_hash_test_vectors() 337 u8 actual_hash[HASH_SIZE]; in hash_irq_test1_func() local 339 HASH(&test_buf[i * IRQ_TEST_DATA_LEN], IRQ_TEST_DATA_LEN, actual_hash); in hash_irq_test1_func() 340 return memcmp(actual_hash, state->expected_hashes[i], HASH_SIZE) == 0; in hash_irq_test1_func() 406 u8 actual_hash[HASH_SIZE]; in hash_irq_test2_func() local 410 HASH_FINAL(&ctx->hash_ctx, actual_hash); in hash_irq_test2_func() 411 if (memcmp(actual_hash, state->expected_hash, HASH_SIZE) != 0) in hash_irq_test2_func()
|