Home
last modified time | relevance | path

Searched refs:skreq (Results 1 – 5 of 5) sorted by relevance

/crypto/
A Dauthenc.c180 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_encrypt() local
193 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_encrypt()
194 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_encrypt()
196 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_encrypt()
198 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_encrypt()
214 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_decrypt_tail() local
231 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_decrypt_tail()
232 skcipher_request_set_callback(skreq, flags, in crypto_authenc_decrypt_tail()
234 skcipher_request_set_crypt(skreq, src, dst, in crypto_authenc_decrypt_tail()
237 return crypto_skcipher_decrypt(skreq); in crypto_authenc_decrypt_tail()
A Dauthencesn.c164 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_encrypt() local
182 skcipher_request_set_tfm(skreq, enc); in crypto_authenc_esn_encrypt()
183 skcipher_request_set_callback(skreq, aead_request_flags(req), in crypto_authenc_esn_encrypt()
185 skcipher_request_set_crypt(skreq, src, dst, cryptlen, req->iv); in crypto_authenc_esn_encrypt()
187 err = crypto_skcipher_encrypt(skreq); in crypto_authenc_esn_encrypt()
201 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in crypto_authenc_esn_decrypt_tail() local
227 skcipher_request_set_tfm(skreq, ctx->enc); in crypto_authenc_esn_decrypt_tail()
228 skcipher_request_set_callback(skreq, flags, in crypto_authenc_esn_decrypt_tail()
230 skcipher_request_set_crypt(skreq, dst, dst, cryptlen, req->iv); in crypto_authenc_esn_decrypt_tail()
232 return crypto_skcipher_decrypt(skreq); in crypto_authenc_esn_decrypt_tail()
A Dkrb5enc.c146 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in krb5enc_dispatch_encrypt() local
156 skcipher_request_set_tfm(skreq, enc); in krb5enc_dispatch_encrypt()
157 skcipher_request_set_callback(skreq, aead_request_flags(req), in krb5enc_dispatch_encrypt()
159 skcipher_request_set_crypt(skreq, src, dst, req->cryptlen, req->iv); in krb5enc_dispatch_encrypt()
161 return crypto_skcipher_encrypt(skreq); in krb5enc_dispatch_encrypt()
313 struct skcipher_request *skreq = (void *)(areq_ctx->tail + in krb5enc_dispatch_decrypt() local
324 skcipher_request_set_tfm(skreq, ctx->enc); in krb5enc_dispatch_decrypt()
325 skcipher_request_set_callback(skreq, aead_request_flags(req), in krb5enc_dispatch_decrypt()
327 skcipher_request_set_crypt(skreq, src, dst, in krb5enc_dispatch_decrypt()
330 return crypto_skcipher_decrypt(skreq); in krb5enc_dispatch_decrypt()
A Dccm.c50 struct skcipher_request skreq; member
287 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_encrypt() local
306 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_encrypt()
307 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_encrypt()
309 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt()
310 err = crypto_skcipher_encrypt(skreq); in crypto_ccm_encrypt()
346 struct skcipher_request *skreq = &pctx->skreq; in crypto_ccm_decrypt() local
370 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_ccm_decrypt()
371 skcipher_request_set_callback(skreq, pctx->flags, in crypto_ccm_decrypt()
373 skcipher_request_set_crypt(skreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_decrypt()
[all …]
A Dgcm.c71 struct skcipher_request skreq; member
179 struct skcipher_request *skreq = &pctx->u.skreq; in crypto_gcm_init_crypt() local
184 skcipher_request_set_tfm(skreq, ctx->ctr); in crypto_gcm_init_crypt()
185 skcipher_request_set_crypt(skreq, pctx->src, dst, in crypto_gcm_init_crypt()
448 struct skcipher_request *skreq = &pctx->u.skreq; in crypto_gcm_encrypt() local
453 skcipher_request_set_callback(skreq, flags, gcm_encrypt_done, req); in crypto_gcm_encrypt()
455 return crypto_skcipher_encrypt(skreq) ?: in crypto_gcm_encrypt()
487 struct skcipher_request *skreq = &pctx->u.skreq; in gcm_dec_hash_continue() local
491 skcipher_request_set_callback(skreq, flags, gcm_decrypt_done, req); in gcm_dec_hash_continue()
492 return crypto_skcipher_decrypt(skreq) ?: crypto_gcm_verify(req); in gcm_dec_hash_continue()

Completed in 12 milliseconds