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

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dtwofish.c522 /* Macros to calculate the whitening and round subkeys. CALC_K_2 computes the
528 * CALC_K computes a pair of subkeys for 128-bit Twofish, by calling CALC_K_2
533 * CALC_K256_2 expands CALC_K_2 to handle 256-bit keys, by doing two
537 * CALC_K256_2 macro instead of CALC_K_2. */
539 #define CALC_K_2(a, b, c, d, j) \
546 x = CALC_K_2 (k, l, k, l, 0); \
547 y = CALC_K_2 (m, n, m, n, 4); \
553 CALC_K_2 (q0[q1[b ^ key[(j) + 24]] ^ key[(j) + 16]], \
535 #define CALC_K_2 macro
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dtwofish.c521 /* Macros to calculate the whitening and round subkeys. CALC_K_2 computes the
527 * CALC_K computes a pair of subkeys for 128-bit Twofish, by calling CALC_K_2
532 * CALC_K256_2 expands CALC_K_2 to handle 256-bit keys, by doing two
536 * CALC_K256_2 macro instead of CALC_K_2. */
538 #define CALC_K_2(a, b, c, d, j) \
545 x = CALC_K_2 (k, l, k, l, 0); \
546 y = CALC_K_2 (m, n, m, n, 4); \
552 CALC_K_2 (q0[q1[b ^ key[(j) + 24]] ^ key[(j) + 16]], \
534 #define CALC_K_2 macro

Completed in 24 milliseconds