Lines Matching refs:skcipher

71 	struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req);  in skcipher_encrypt_blkcipher()  local
72 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_blkcipher()
80 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_decrypt_blkcipher() local
81 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_blkcipher()
97 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_init_skcipher_ops_blkcipher() local
116 skcipher->setkey = skcipher_setkey_blkcipher; in crypto_init_skcipher_ops_blkcipher()
117 skcipher->encrypt = skcipher_encrypt_blkcipher; in crypto_init_skcipher_ops_blkcipher()
118 skcipher->decrypt = skcipher_decrypt_blkcipher; in crypto_init_skcipher_ops_blkcipher()
120 skcipher->ivsize = crypto_blkcipher_ivsize(blkcipher); in crypto_init_skcipher_ops_blkcipher()
121 skcipher->has_setkey = calg->cra_blkcipher.max_keysize; in crypto_init_skcipher_ops_blkcipher()
163 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_encrypt_ablkcipher() local
164 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_encrypt_ablkcipher()
172 struct crypto_skcipher *skcipher = crypto_skcipher_reqtfm(req); in skcipher_decrypt_ablkcipher() local
173 struct crypto_tfm *tfm = crypto_skcipher_tfm(skcipher); in skcipher_decrypt_ablkcipher()
189 struct crypto_skcipher *skcipher = __crypto_skcipher_cast(tfm); in crypto_init_skcipher_ops_ablkcipher() local
207 skcipher->setkey = skcipher_setkey_ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
208 skcipher->encrypt = skcipher_encrypt_ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
209 skcipher->decrypt = skcipher_decrypt_ablkcipher; in crypto_init_skcipher_ops_ablkcipher()
211 skcipher->ivsize = crypto_ablkcipher_ivsize(ablkcipher); in crypto_init_skcipher_ops_ablkcipher()
212 skcipher->reqsize = crypto_ablkcipher_reqsize(ablkcipher) + in crypto_init_skcipher_ops_ablkcipher()
214 skcipher->has_setkey = calg->cra_ablkcipher.max_keysize; in crypto_init_skcipher_ops_ablkcipher()