Lines Matching refs:linux_af_alg_skcipher
396 struct linux_af_alg_skcipher { struct
402 static void linux_af_alg_skcipher_deinit(struct linux_af_alg_skcipher *skcipher) in linux_af_alg_skcipher_deinit() argument
414 static struct linux_af_alg_skcipher *
415 linux_af_alg_skcipher(const char *alg, const u8 *key, size_t key_len) in linux_af_alg_skcipher() function
417 struct linux_af_alg_skcipher *skcipher; in linux_af_alg_skcipher()
448 static int linux_af_alg_skcipher_oper(struct linux_af_alg_skcipher *skcipher, in linux_af_alg_skcipher_oper()
499 return linux_af_alg_skcipher("ecb(aes)", key, len); in aes_encrypt_init()
505 struct linux_af_alg_skcipher *skcipher = ctx; in aes_encrypt()
519 return linux_af_alg_skcipher("ecb(aes)", key, len); in aes_decrypt_init()
525 struct linux_af_alg_skcipher *skcipher = ctx; in aes_decrypt()
540 struct linux_af_alg_skcipher *skcipher; in rc4_skip()
552 skcipher = linux_af_alg_skcipher("ecb(arc4)", key, keylen); in rc4_skip()
611 struct linux_af_alg_skcipher *skcipher; in des_encrypt()
629 skcipher = linux_af_alg_skcipher("ecb(des)", pkey, sizeof(pkey)); in des_encrypt()
678 struct linux_af_alg_skcipher *skcipher; in aes_128_cbc_oper()
688 skcipher = linux_af_alg_skcipher("cbc(aes)", key, 16); in aes_128_cbc_oper()
787 struct linux_af_alg_skcipher *skcipher; in aes_unwrap()
797 skcipher = linux_af_alg_skcipher("kw(aes)", kek, kek_len); in aes_unwrap()
854 struct linux_af_alg_skcipher *skcipher;
896 ctx->skcipher = linux_af_alg_skcipher(name, key, key_len); in crypto_cipher_init()