Lines Matching refs:crypto_cipher
16 static int crypto_ecb_crypt(struct crypto_cipher *cipher, const u8 *src, in crypto_ecb_crypt()
37 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_ecb_encrypt2()
38 struct crypto_cipher *cipher = *ctx; in crypto_ecb_encrypt2()
48 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in crypto_ecb_decrypt2()
49 struct crypto_cipher *cipher = *ctx; in crypto_ecb_decrypt2()
59 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_setkey_simple2()
60 struct crypto_cipher *cipher = *ctx; in lskcipher_setkey_simple2()
71 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_init_tfm_simple2()
73 struct crypto_cipher *cipher; in lskcipher_init_tfm_simple2()
86 struct crypto_cipher **ctx = crypto_lskcipher_ctx(tfm); in lskcipher_exit_tfm_simple2()
137 inst->alg.co.base.cra_ctxsize = sizeof(struct crypto_cipher *); in lskcipher_alloc_instance_simple2()