Lines Matching refs:key_len
31 int key_len; member
35 unsigned int key_len, u64 *decrypt_key);
38 unsigned int key_len) in camellia_set_key() argument
43 if (key_len != 16 && key_len != 24 && key_len != 32) in camellia_set_key()
46 ctx->key_len = key_len; in camellia_set_key()
49 key_len, &ctx->decrypt_key[0]); in camellia_set_key()
54 const u8 *in_key, unsigned int key_len) in camellia_set_key_skcipher() argument
56 return camellia_set_key(crypto_skcipher_tfm(tfm), in_key, key_len); in camellia_set_key_skcipher()
60 u32 *output, unsigned int key_len);
68 (u32 *) dst, ctx->key_len); in camellia_encrypt()
77 (u32 *) dst, ctx->key_len); in camellia_decrypt()
80 extern void camellia_sparc64_load_keys(const u64 *key, unsigned int key_len);
99 if (ctx->key_len != 16) in __ecb_crypt()
110 camellia_sparc64_load_keys(key, ctx->key_len); in __ecb_crypt()
149 if (ctx->key_len != 16) in cbc_encrypt()
157 camellia_sparc64_load_keys(key, ctx->key_len); in cbc_encrypt()
178 if (ctx->key_len != 16) in cbc_decrypt()
186 camellia_sparc64_load_keys(key, ctx->key_len); in cbc_decrypt()