Lines Matching defs:max
365 static void camellia_setup_tail(u32 *subkey, u32 *subL, u32 *subR, int max)
395 if (max == 24) {
510 if (max == 24) {
850 /* max = 24: 128bit encrypt, max = 32: 256bit encrypt */
851 static void camellia_do_encrypt(const u32 *subkey, u32 *io, unsigned max)
892 if (max == 32) {
901 io[2] ^= SUBKEY_L(max);
902 io[3] ^= SUBKEY_R(max);
999 unsigned int max;
1009 max = 24;
1011 max = 32; /* for key lengths of 24 and 32 */
1013 camellia_do_encrypt(cctx->key_table, tmp, max);
1027 unsigned int max;
1037 max = 24;
1039 max = 32; /* for key lengths of 24 and 32 */
1041 camellia_do_decrypt(cctx->key_table, tmp, max);