Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm64/crypto/
H A Dpolyval-ce-glue.c30 #define NUM_KEY_POWERS 8 macro
36 u8 key_powers[NUM_KEY_POWERS][POLYVAL_BLOCK_SIZE];
56 polyval_update_non4k(keys->key_powers[NUM_KEY_POWERS-1], in, in internal_polyval_update()
81 memcpy(tctx->key_powers[NUM_KEY_POWERS-1], key, POLYVAL_BLOCK_SIZE); in polyval_arm64_setkey()
83 for (i = NUM_KEY_POWERS-2; i >= 0; i--) { in polyval_arm64_setkey()
122 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_arm64_update()
150 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_arm64_final()
/openbmc/linux/arch/x86/crypto/
H A Dpolyval-clmulni_glue.c34 #define NUM_KEY_POWERS 8 macro
40 u8 key_powers[NUM_KEY_POWERS][POLYVAL_BLOCK_SIZE] POLYVAL_ALIGN_ATTR;
65 polyval_update_non4k(keys->key_powers[NUM_KEY_POWERS-1], in, in internal_polyval_update()
90 memcpy(tctx->key_powers[NUM_KEY_POWERS-1], key, POLYVAL_BLOCK_SIZE); in polyval_x86_setkey()
92 for (i = NUM_KEY_POWERS-2; i >= 0; i--) { in polyval_x86_setkey()
131 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_x86_update()
159 tctx->key_powers[NUM_KEY_POWERS-1]); in polyval_x86_final()