Lines Matching refs:raw_key

41 	static const u8 raw_key[POLYVAL_BLOCK_SIZE] =  in test_polyval_rfc8452_testvec()  local
57 polyval_preparekey(&key, raw_key); in test_polyval_rfc8452_testvec()
117 u8 raw_key[POLYVAL_BLOCK_SIZE]; in test_polyval_with_guarded_key() local
118 u8 *guarded_raw_key = &test_buf[TEST_BUF_LEN - sizeof(raw_key)]; in test_polyval_with_guarded_key()
124 rand_bytes(raw_key, sizeof(raw_key)); in test_polyval_with_guarded_key()
125 polyval_preparekey(&key1, raw_key); in test_polyval_with_guarded_key()
128 memcpy(guarded_raw_key, raw_key, sizeof(raw_key)); in test_polyval_with_guarded_key()
133 polyval_preparekey(guarded_key, raw_key); in test_polyval_with_guarded_key()
144 u8 raw_key[POLYVAL_BLOCK_SIZE]; in test_polyval_with_minimally_aligned_key() local
156 rand_bytes(raw_key, sizeof(raw_key)); in test_polyval_with_minimally_aligned_key()
157 polyval_preparekey(&key, raw_key); in test_polyval_with_minimally_aligned_key()
158 polyval_preparekey(minaligned_key, raw_key); in test_polyval_with_minimally_aligned_key()
164 u8 raw_key[POLYVAL_BLOCK_SIZE]; member
172 polyval_preparekey(&key, state->raw_key); in polyval_irq_test_func()
184 rand_bytes(state.raw_key, sizeof(state.raw_key)); in test_polyval_preparekey_in_irqs()
185 polyval_preparekey(&state.expected_key, state.raw_key); in test_polyval_preparekey_in_irqs()
191 u8 raw_key[POLYVAL_BLOCK_SIZE]; in polyval_suite_init() local
193 rand_bytes_seeded_from_len(raw_key, sizeof(raw_key)); in polyval_suite_init()
194 polyval_preparekey(&test_key, raw_key); in polyval_suite_init()