• Home
  • Raw
  • Download

Lines Matching refs:key

545 static void camellia_setup128(const unsigned char *key, u32 *subkey)  in camellia_setup128()  argument
555 kll = get_unaligned_be32(key); in camellia_setup128()
556 klr = get_unaligned_be32(key + 4); in camellia_setup128()
557 krl = get_unaligned_be32(key + 8); in camellia_setup128()
558 krr = get_unaligned_be32(key + 12); in camellia_setup128()
651 static void camellia_setup256(const unsigned char *key, u32 *subkey) in camellia_setup256() argument
663 kll = get_unaligned_be32(key); in camellia_setup256()
664 klr = get_unaligned_be32(key + 4); in camellia_setup256()
665 krl = get_unaligned_be32(key + 8); in camellia_setup256()
666 krr = get_unaligned_be32(key + 12); in camellia_setup256()
667 krll = get_unaligned_be32(key + 16); in camellia_setup256()
668 krlr = get_unaligned_be32(key + 20); in camellia_setup256()
669 krrl = get_unaligned_be32(key + 24); in camellia_setup256()
670 krrr = get_unaligned_be32(key + 28); in camellia_setup256()
800 static void camellia_setup192(const unsigned char *key, u32 *subkey) in camellia_setup192() argument
805 memcpy(kk, key, 24); in camellia_setup192()
806 memcpy((unsigned char *)&krll, key+16, 4); in camellia_setup192()
807 memcpy((unsigned char *)&krlr, key+20, 4); in camellia_setup192()
972 const unsigned char *key = (const unsigned char *)in_key; in camellia_set_key() local
984 camellia_setup128(key, cctx->key_table); in camellia_set_key()
987 camellia_setup192(key, cctx->key_table); in camellia_set_key()
990 camellia_setup256(key, cctx->key_table); in camellia_set_key()