Home
last modified time | relevance | path

Searched refs:CALC_K_2 (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Dtwofish_common.c505 /* Macros to calculate the whitening and round subkeys. CALC_K_2 computes the
511 * CALC_K computes a pair of subkeys for 128-bit Twofish, by calling CALC_K_2
516 * CALC_K192_2 expands CALC_K_2 to handle 192-bit keys, by doing an
522 * instead of CALC_K_2.
527 * CALC_K256_2 macro instead of CALC_K_2. */
529 #define CALC_K_2(a, b, c, d, j) \ macro
536 x = CALC_K_2 (k, l, k, l, 0); \
537 y = CALC_K_2 (m, n, m, n, 4); \
543 CALC_K_2 (q0[a ^ key[(j) + 16]], \
/kernel/linux/linux-6.6/crypto/
H A Dtwofish_common.c505 /* Macros to calculate the whitening and round subkeys. CALC_K_2 computes the
511 * CALC_K computes a pair of subkeys for 128-bit Twofish, by calling CALC_K_2
516 * CALC_K192_2 expands CALC_K_2 to handle 192-bit keys, by doing an
522 * instead of CALC_K_2.
527 * CALC_K256_2 macro instead of CALC_K_2. */
529 #define CALC_K_2(a, b, c, d, j) \ macro
536 x = CALC_K_2 (k, l, k, l, 0); \
537 y = CALC_K_2 (m, n, m, n, 4); \
543 CALC_K_2 (q0[a ^ key[(j) + 16]], \

Completed in 3 milliseconds