Lines Matching refs:geniv
38 struct crypto_ablkcipher *geniv; in seqiv_complete2() local
46 geniv = skcipher_givcrypt_reqtfm(req); in seqiv_complete2()
47 memcpy(req->creq.info, subreq->info, crypto_ablkcipher_ivsize(geniv)); in seqiv_complete2()
64 struct crypto_aead *geniv; in seqiv_aead_encrypt_complete2() local
72 geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt_complete2()
73 memcpy(req->iv, subreq->iv, crypto_aead_ivsize(geniv)); in seqiv_aead_encrypt_complete2()
104 struct crypto_ablkcipher *geniv = skcipher_givcrypt_reqtfm(req); in seqiv_givencrypt() local
105 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_givencrypt()
113 ablkcipher_request_set_tfm(subreq, skcipher_geniv_cipher(geniv)); in seqiv_givencrypt()
119 ivsize = crypto_ablkcipher_ivsize(geniv); in seqiv_givencrypt()
122 crypto_ablkcipher_alignmask(geniv) + 1))) { in seqiv_givencrypt()
149 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_encrypt() local
150 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_encrypt()
179 crypto_aead_alignmask(geniv) + 1))) { in seqiv_aead_encrypt()
207 struct crypto_aead *geniv = crypto_aead_reqtfm(req); in seqiv_aead_decrypt() local
208 struct aead_geniv_ctx *ctx = crypto_aead_ctx(geniv); in seqiv_aead_decrypt()
214 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv)) in seqiv_aead_decrypt()
234 struct crypto_ablkcipher *geniv = __crypto_ablkcipher_cast(tfm); in seqiv_init() local
235 struct seqiv_ctx *ctx = crypto_ablkcipher_ctx(geniv); in seqiv_init()
244 crypto_ablkcipher_crt(geniv)->givencrypt = seqiv_givencrypt; in seqiv_init()
246 crypto_ablkcipher_ivsize(geniv)); in seqiv_init()