Lines Matching refs:subkeys
35 /* Magic number, used during generating of the subkeys. */
45 /* The key schedule consists of 33 128 bit subkeys. */
51 serpent_subkeys_t keys; /* Generated subkeys. */
530 subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary storage.
532 #define ROUND(which, subkeys, block, block_tmp) \
534 BLOCK_XOR (block, subkeys[round]); \
542 and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary
545 #define ROUND_LAST(which, subkeys, block, block_tmp) \
547 BLOCK_XOR (block, subkeys[round]); \
550 BLOCK_XOR (block_tmp, subkeys[round]); \
555 WHICH and the subkeys contained in SUBKEYS. Use BLOCK_TMP as
567 and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary
570 #define ROUND_FIRST_INVERSE(which, subkeys, block, block_tmp) \
572 BLOCK_XOR (block, subkeys[round]); \
575 BLOCK_XOR (block_tmp, subkeys[round]); \
605 /* Derive the 33 subkeys from KEY and store them in SUBKEYS. */
607 serpent_subkeys_generate (serpent_key_t key, serpent_subkeys_t subkeys)
622 /* Calculate subkeys via S-Boxes, in bitslice mode. */
657 /* Renumber subkeys. */
660 subkeys[i][j] = k[4 * i + j];