Lines Matching refs:subkeys
36 /* Magic number, used during generating of the subkeys. */
46 /* The key schedule consists of 33 128 bit subkeys. */
52 serpent_subkeys_t keys; /* Generated subkeys. */
531 subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary storage.
533 #define ROUND(which, subkeys, block, block_tmp) \
535 BLOCK_XOR (block, subkeys[round]); \
543 and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary
546 #define ROUND_LAST(which, subkeys, block, block_tmp) \
548 BLOCK_XOR (block, subkeys[round]); \
551 BLOCK_XOR (block_tmp, subkeys[round]); \
556 WHICH and the subkeys contained in SUBKEYS. Use BLOCK_TMP as
568 and the subkeys contained in SUBKEYS. Use BLOCK_TMP as temporary
571 #define ROUND_FIRST_INVERSE(which, subkeys, block, block_tmp) \
573 BLOCK_XOR (block, subkeys[round]); \
576 BLOCK_XOR (block_tmp, subkeys[round]); \
606 /* Derive the 33 subkeys from KEY and store them in SUBKEYS. */
608 serpent_subkeys_generate (serpent_key_t key, serpent_subkeys_t subkeys)
623 /* Calculate subkeys via S-Boxes, in bitslice mode. */
658 /* Renumber subkeys. */
661 subkeys[i][j] = k[4 * i + j];