Searched defs:in_key (Results 1 - 3 of 3) sorted by relevance
/arch/s390/crypto/ |
H A D | aes_s390.c | 94 static int setkey_fallback_cip(struct crypto_tfm *tfm, const u8 *in_key, argument 104 ret = crypto_cipher_setkey(sctx->fallback.cip, in_key, key_len); 113 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 128 memcpy(sctx->key, in_key, key_len); 132 return setkey_fallback_cip(tfm, in_key, key_len); 286 static int ecb_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 295 return setkey_fallback_blk(tfm, in_key, key_len); 313 return aes_set_key(tfm, in_key, key_len); 415 static int cbc_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 424 return setkey_fallback_blk(tfm, in_key, key_le 579 xts_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len) argument 728 ctr_aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, unsigned int key_len) argument [all...] |
/arch/x86/crypto/ |
H A D | aesni-intel_glue.c | 85 asmlinkage int aesni_set_key(struct crypto_aes_ctx *ctx, const u8 *in_key, 170 const u8 *in_key, unsigned int key_len) 183 err = crypto_aes_expand_key(ctx, in_key, key_len); 186 err = aesni_set_key(ctx, in_key, key_len); 193 static int aes_set_key(struct crypto_tfm *tfm, const u8 *in_key, argument 196 return aes_set_key_common(tfm, crypto_tfm_ctx(tfm), in_key, key_len); 169 aes_set_key_common(struct crypto_tfm *tfm, void *raw_ctx, const u8 *in_key, unsigned int key_len) argument
|
H A D | camellia_glue.c | 1308 static int camellia_setkey(struct crypto_tfm *tfm, const u8 *in_key, argument 1311 return __camellia_setkey(crypto_tfm_ctx(tfm), in_key, key_len,
|
Completed in 69 milliseconds