Lines Matching defs:max
357 static void camellia_setup_tail(u32 *subkey, u32 *subL, u32 *subR, int max)
387 if (max == 24) {
502 if (max == 24) {
842 /* max = 24: 128bit encrypt, max = 32: 256bit encrypt */
843 static void camellia_do_encrypt(const u32 *subkey, u32 *io, unsigned max)
884 if (max == 32) {
893 io[2] ^= SUBKEY_L(max);
894 io[3] ^= SUBKEY_R(max);
989 unsigned int max;
999 max = 24;
1001 max = 32; /* for key lengths of 24 and 32 */
1003 camellia_do_encrypt(cctx->key_table, tmp, max);
1015 unsigned int max;
1025 max = 24;
1027 max = 32; /* for key lengths of 24 and 32 */
1029 camellia_do_decrypt(cctx->key_table, tmp, max);