Lines Matching refs:geniv
35 struct crypto_ablkcipher *geniv; in seqiv_complete2() local
43 geniv = skcipher_givcrypt_reqtfm(req); in seqiv_complete2()
44 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); in seqiv_complete2()
61 struct crypto_aead *geniv; in seqiv_aead_complete2() local
69 geniv = aead_givcrypt_reqtfm(req); in seqiv_aead_complete2()
70 memcpy(req->areq.iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_complete2()
100 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt() local
101 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt()
109 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in seqiv_givencrypt()
115 ivsize = crypto_ablkcipher_ivsize(geniv); in seqiv_givencrypt()
118 crypto_ablkcipher_alignmask(geniv) + 1))) { in seqiv_givencrypt()
145 struct crypto_aead *geniv = aead_givcrypt_reqtfm(req); in seqiv_aead_givencrypt() local
146 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_givencrypt()
155 aead_request_set_tfm(subreq, aead_geniv_base(geniv)); in seqiv_aead_givencrypt()
161 ivsize = crypto_aead_ivsize(geniv); in seqiv_aead_givencrypt()
164 crypto_aead_alignmask(geniv) + 1))) { in seqiv_aead_givencrypt()
191 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt_first() local
192 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt_first()
196 if (crypto_ablkcipher_crt(geniv)->givencrypt != seqiv_givencrypt_first) in seqiv_givencrypt_first()
199 crypto_ablkcipher_crt(geniv)->givencrypt = seqiv_givencrypt; in seqiv_givencrypt_first()
201 crypto_ablkcipher_ivsize(geniv)); in seqiv_givencrypt_first()
214 struct crypto_aead *geniv = aead_givcrypt_reqtfm(req); in seqiv_aead_givencrypt_first() local
215 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_givencrypt_first()
219 if (crypto_aead_crt(geniv)->givencrypt != seqiv_aead_givencrypt_first) in seqiv_aead_givencrypt_first()
222 crypto_aead_crt(geniv)->givencrypt = seqiv_aead_givencrypt; in seqiv_aead_givencrypt_first()
224 crypto_aead_ivsize(geniv)); in seqiv_aead_givencrypt_first()
237 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in seqiv_init() local
238 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_init()
249 struct crypto_aead *geniv = __crypto_aead_cast(tfm); in seqiv_aead_init() local
250 struct seqiv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_init()