/dports/multimedia/libv4l/linux-5.13-rc2/net/mac80211/ |
H A D | aead_api.c | 23 struct aead_request *aead_req; in aead_encrypt() local 29 if (!aead_req) in aead_encrypt() 32 __aad = (u8 *)aead_req + reqsize; in aead_encrypt() 40 aead_request_set_tfm(aead_req, tfm); in aead_encrypt() 44 ret = crypto_aead_encrypt(aead_req); in aead_encrypt() 45 kfree_sensitive(aead_req); in aead_encrypt() 55 struct aead_request *aead_req; in aead_decrypt() local 64 if (!aead_req) in aead_decrypt() 67 __aad = (u8 *)aead_req + reqsize; in aead_decrypt() 75 aead_request_set_tfm(aead_req, tfm); in aead_decrypt() [all …]
|
H A D | aes_gmac.c | 22 struct aead_request *aead_req; in ieee80211_aes_gmac() local 23 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in ieee80211_aes_gmac() 30 aead_req = kzalloc(reqsize + GMAC_MIC_LEN + GMAC_AAD_LEN, GFP_ATOMIC); in ieee80211_aes_gmac() 31 if (!aead_req) in ieee80211_aes_gmac() 34 zero = (u8 *)aead_req + reqsize; in ieee80211_aes_gmac() 59 aead_request_set_tfm(aead_req, tfm); in ieee80211_aes_gmac() 60 aead_request_set_crypt(aead_req, sg, sg, 0, iv); in ieee80211_aes_gmac() 61 aead_request_set_ad(aead_req, GMAC_AAD_LEN + data_len); in ieee80211_aes_gmac() 63 ret = crypto_aead_encrypt(aead_req); in ieee80211_aes_gmac() 64 kfree_sensitive(aead_req); in ieee80211_aes_gmac()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/mac80211/ |
H A D | aead_api.c | 23 struct aead_request *aead_req; in aead_encrypt() local 29 if (!aead_req) in aead_encrypt() 32 __aad = (u8 *)aead_req + reqsize; in aead_encrypt() 40 aead_request_set_tfm(aead_req, tfm); in aead_encrypt() 44 ret = crypto_aead_encrypt(aead_req); in aead_encrypt() 45 kfree_sensitive(aead_req); in aead_encrypt() 55 struct aead_request *aead_req; in aead_decrypt() local 64 if (!aead_req) in aead_decrypt() 67 __aad = (u8 *)aead_req + reqsize; in aead_decrypt() 75 aead_request_set_tfm(aead_req, tfm); in aead_decrypt() [all …]
|
H A D | aes_gmac.c | 22 struct aead_request *aead_req; in ieee80211_aes_gmac() local 23 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in ieee80211_aes_gmac() 30 aead_req = kzalloc(reqsize + GMAC_MIC_LEN + GMAC_AAD_LEN, GFP_ATOMIC); in ieee80211_aes_gmac() 31 if (!aead_req) in ieee80211_aes_gmac() 34 zero = (u8 *)aead_req + reqsize; in ieee80211_aes_gmac() 59 aead_request_set_tfm(aead_req, tfm); in ieee80211_aes_gmac() 60 aead_request_set_crypt(aead_req, sg, sg, 0, iv); in ieee80211_aes_gmac() 61 aead_request_set_ad(aead_req, GMAC_AAD_LEN + data_len); in ieee80211_aes_gmac() 63 ret = crypto_aead_encrypt(aead_req); in ieee80211_aes_gmac() 64 kfree_sensitive(aead_req); in ieee80211_aes_gmac()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/mac80211/ |
H A D | aead_api.c | 23 struct aead_request *aead_req; in aead_encrypt() local 29 if (!aead_req) in aead_encrypt() 32 __aad = (u8 *)aead_req + reqsize; in aead_encrypt() 40 aead_request_set_tfm(aead_req, tfm); in aead_encrypt() 44 ret = crypto_aead_encrypt(aead_req); in aead_encrypt() 45 kfree_sensitive(aead_req); in aead_encrypt() 55 struct aead_request *aead_req; in aead_decrypt() local 64 if (!aead_req) in aead_decrypt() 67 __aad = (u8 *)aead_req + reqsize; in aead_decrypt() 75 aead_request_set_tfm(aead_req, tfm); in aead_decrypt() [all …]
|
H A D | aes_gmac.c | 22 struct aead_request *aead_req; in ieee80211_aes_gmac() local 23 int reqsize = sizeof(*aead_req) + crypto_aead_reqsize(tfm); in ieee80211_aes_gmac() 30 aead_req = kzalloc(reqsize + GMAC_MIC_LEN + GMAC_AAD_LEN, GFP_ATOMIC); in ieee80211_aes_gmac() 31 if (!aead_req) in ieee80211_aes_gmac() 34 zero = (u8 *)aead_req + reqsize; in ieee80211_aes_gmac() 59 aead_request_set_tfm(aead_req, tfm); in ieee80211_aes_gmac() 60 aead_request_set_crypt(aead_req, sg, sg, 0, iv); in ieee80211_aes_gmac() 61 aead_request_set_ad(aead_req, GMAC_AAD_LEN + data_len); in ieee80211_aes_gmac() 63 ret = crypto_aead_encrypt(aead_req); in ieee80211_aes_gmac() 64 kfree_sensitive(aead_req); in ieee80211_aes_gmac()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/tls/ |
H A D | tls_device_fallback.c | 115 rc = crypto_aead_encrypt(aead_req); in tls_enc_record() 123 aead_request_set_tfm(aead_req, aead); in tls_init_aead_request() 132 struct aead_request *aead_req; in tls_alloc_aead_request() local 134 aead_req = kzalloc(req_size, flags); in tls_alloc_aead_request() 135 if (aead_req) in tls_alloc_aead_request() 136 tls_init_aead_request(aead_req, aead); in tls_alloc_aead_request() 137 return aead_req; in tls_alloc_aead_request() 152 rc = tls_enc_record(aead_req, aead, aad, iv, in tls_enc_records() 317 struct aead_request *aead_req; in tls_enc_skb() local 322 if (!aead_req) in tls_enc_skb() [all …]
|
H A D | tls_sw.c | 207 kfree(aead_req); in tls_decrypt_done() 223 struct aead_request *aead_req, in tls_do_decryption() argument 245 aead_request_set_callback(aead_req, in tls_do_decryption() 250 aead_request_set_callback(aead_req, in tls_do_decryption() 255 ret = crypto_aead_decrypt(aead_req); in tls_do_decryption() 439 rec = container_of(aead_req, struct tls_rec, aead_req); in tls_encrypt_done() 490 struct aead_request *aead_req, in tls_do_encryption() argument 528 rc = crypto_aead_encrypt(aead_req); in tls_do_encryption() 718 req = &rec->aead_req; in tls_push_record() 1409 struct aead_request *aead_req; in decrypt_internal() local [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/net/tls/ |
H A D | tls_device_fallback.c | 115 rc = crypto_aead_encrypt(aead_req); in tls_enc_record() 123 aead_request_set_tfm(aead_req, aead); in tls_init_aead_request() 132 struct aead_request *aead_req; in tls_alloc_aead_request() local 134 aead_req = kzalloc(req_size, flags); in tls_alloc_aead_request() 135 if (aead_req) in tls_alloc_aead_request() 136 tls_init_aead_request(aead_req, aead); in tls_alloc_aead_request() 137 return aead_req; in tls_alloc_aead_request() 152 rc = tls_enc_record(aead_req, aead, aad, iv, in tls_enc_records() 317 struct aead_request *aead_req; in tls_enc_skb() local 322 if (!aead_req) in tls_enc_skb() [all …]
|
H A D | tls_sw.c | 207 kfree(aead_req); in tls_decrypt_done() 223 struct aead_request *aead_req, in tls_do_decryption() argument 245 aead_request_set_callback(aead_req, in tls_do_decryption() 250 aead_request_set_callback(aead_req, in tls_do_decryption() 255 ret = crypto_aead_decrypt(aead_req); in tls_do_decryption() 439 rec = container_of(aead_req, struct tls_rec, aead_req); in tls_encrypt_done() 490 struct aead_request *aead_req, in tls_do_encryption() argument 528 rc = crypto_aead_encrypt(aead_req); in tls_do_encryption() 718 req = &rec->aead_req; in tls_push_record() 1409 struct aead_request *aead_req; in decrypt_internal() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/tls/ |
H A D | tls_device_fallback.c | 115 rc = crypto_aead_encrypt(aead_req); in tls_enc_record() 123 aead_request_set_tfm(aead_req, aead); in tls_init_aead_request() 132 struct aead_request *aead_req; in tls_alloc_aead_request() local 134 aead_req = kzalloc(req_size, flags); in tls_alloc_aead_request() 135 if (aead_req) in tls_alloc_aead_request() 136 tls_init_aead_request(aead_req, aead); in tls_alloc_aead_request() 137 return aead_req; in tls_alloc_aead_request() 152 rc = tls_enc_record(aead_req, aead, aad, iv, in tls_enc_records() 317 struct aead_request *aead_req; in tls_enc_skb() local 322 if (!aead_req) in tls_enc_skb() [all …]
|
H A D | tls_sw.c | 207 kfree(aead_req); in tls_decrypt_done() 223 struct aead_request *aead_req, in tls_do_decryption() argument 245 aead_request_set_callback(aead_req, in tls_do_decryption() 250 aead_request_set_callback(aead_req, in tls_do_decryption() 255 ret = crypto_aead_decrypt(aead_req); in tls_do_decryption() 439 rec = container_of(aead_req, struct tls_rec, aead_req); in tls_encrypt_done() 490 struct aead_request *aead_req, in tls_do_encryption() argument 528 rc = crypto_aead_encrypt(aead_req); in tls_do_encryption() 718 req = &rec->aead_req; in tls_push_record() 1409 struct aead_request *aead_req; in decrypt_internal() local [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 129 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_verify() local 138 aead_req->cryptlen + aead_req->assoclen - in sec_aead_verify() 699 struct aead_request *aead_req = req->aead_req.aead_req; in GEN_SEC_SETKEY_FUNC() local 728 struct aead_request *aead_req = req->aead_req.aead_req; in sec_cipher_pbuf_unmap() local 942 struct aead_request *aq = req->aead_req.aead_req; in GEN_SEC_AEAD_SETKEY_FUNC() 949 struct aead_request *aq = req->aead_req.aead_req; in sec_aead_sgl_unmap() 1042 struct aead_request *aead_req = req->aead_req.aead_req; in sec_update_iv() local 1117 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_copy_iv() local 1177 struct sec_aead_req *aead_req = &req->aead_req; in sec_aead_callback() local 1210 backlog_aead_req = backlog_req->aead_req.aead_req; in sec_aead_callback() [all …]
|
H A D | sec.h | 36 struct aead_request *aead_req; member 46 struct sec_aead_req aead_req; member
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 129 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_verify() local 138 aead_req->cryptlen + aead_req->assoclen - in sec_aead_verify() 699 struct aead_request *aead_req = req->aead_req.aead_req; in GEN_SEC_SETKEY_FUNC() local 728 struct aead_request *aead_req = req->aead_req.aead_req; in sec_cipher_pbuf_unmap() local 942 struct aead_request *aq = req->aead_req.aead_req; in GEN_SEC_AEAD_SETKEY_FUNC() 949 struct aead_request *aq = req->aead_req.aead_req; in sec_aead_sgl_unmap() 1042 struct aead_request *aead_req = req->aead_req.aead_req; in sec_update_iv() local 1117 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_copy_iv() local 1177 struct sec_aead_req *aead_req = &req->aead_req; in sec_aead_callback() local 1210 backlog_aead_req = backlog_req->aead_req.aead_req; in sec_aead_callback() [all …]
|
H A D | sec.h | 36 struct aead_request *aead_req; member 46 struct sec_aead_req aead_req; member
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 129 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_verify() local 138 aead_req->cryptlen + aead_req->assoclen - in sec_aead_verify() 699 struct aead_request *aead_req = req->aead_req.aead_req; in GEN_SEC_SETKEY_FUNC() local 728 struct aead_request *aead_req = req->aead_req.aead_req; in sec_cipher_pbuf_unmap() local 942 struct aead_request *aq = req->aead_req.aead_req; in GEN_SEC_AEAD_SETKEY_FUNC() 949 struct aead_request *aq = req->aead_req.aead_req; in sec_aead_sgl_unmap() 1042 struct aead_request *aead_req = req->aead_req.aead_req; in sec_update_iv() local 1117 struct aead_request *aead_req = req->aead_req.aead_req; in sec_aead_copy_iv() local 1177 struct sec_aead_req *aead_req = &req->aead_req; in sec_aead_callback() local 1210 backlog_aead_req = backlog_req->aead_req.aead_req; in sec_aead_callback() [all …]
|
H A D | sec.h | 36 struct aead_request *aead_req; member 46 struct sec_aead_req aead_req; member
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/crypto/ |
H A D | omap-aes-gcm.c | 31 struct aead_request *req = dd->aead_req; in omap_aes_gcm_finish_req() 50 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_done_task() 61 dd->aead_req->assoclen, dd->total, in omap_aes_gcm_done_task() 66 dd->aead_req->dst, in omap_aes_gcm_done_task() 67 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_done_task() 190 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback() 191 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_dma_out_callback() 194 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_dma_out_callback() 224 dd->aead_req = req; in omap_aes_gcm_prepare_req()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/crypto/ |
H A D | omap-aes-gcm.c | 31 struct aead_request *req = dd->aead_req; in omap_aes_gcm_finish_req() 50 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_done_task() 61 dd->aead_req->assoclen, dd->total, in omap_aes_gcm_done_task() 66 dd->aead_req->dst, in omap_aes_gcm_done_task() 67 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_done_task() 190 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback() 191 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_dma_out_callback() 194 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_dma_out_callback() 224 dd->aead_req = req; in omap_aes_gcm_prepare_req()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/crypto/ |
H A D | omap-aes-gcm.c | 31 struct aead_request *req = dd->aead_req; in omap_aes_gcm_finish_req() 50 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_done_task() 61 dd->aead_req->assoclen, dd->total, in omap_aes_gcm_done_task() 66 dd->aead_req->dst, in omap_aes_gcm_done_task() 67 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_done_task() 190 scatterwalk_map_and_copy(tag, dd->aead_req->src, in omap_aes_gcm_dma_out_callback() 191 dd->total + dd->aead_req->assoclen, in omap_aes_gcm_dma_out_callback() 194 rctx = aead_request_ctx(dd->aead_req); in omap_aes_gcm_dma_out_callback() 224 dd->aead_req = req; in omap_aes_gcm_prepare_req()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/crypto/ |
H A D | algif_aead.c | 280 aead_request_set_crypt(&areq->cra_u.aead_req, rsgl_src, in _aead_recvmsg() 282 aead_request_set_ad(&areq->cra_u.aead_req, ctx->aead_assoclen); in _aead_recvmsg() 283 aead_request_set_tfm(&areq->cra_u.aead_req, tfm); in _aead_recvmsg() 293 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 296 err = ctx->enc ? crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 297 crypto_aead_decrypt(&areq->cra_u.aead_req); in _aead_recvmsg() 306 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 311 crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 312 crypto_aead_decrypt(&areq->cra_u.aead_req), in _aead_recvmsg()
|
H A D | essiv.c | 63 struct aead_request aead_req; member 183 struct aead_request *subreq = &rctx->aead_req; in essiv_aead_crypt() 326 BUILD_BUG_ON(offsetofend(struct essiv_aead_request_ctx, aead_req) != in essiv_aead_init_tfm() 333 subreq_size = sizeof_field(struct essiv_aead_request_ctx, aead_req) + in essiv_aead_init_tfm() 336 tctx->ivoffset = offsetof(struct essiv_aead_request_ctx, aead_req) + in essiv_aead_init_tfm()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/crypto/ |
H A D | algif_aead.c | 280 aead_request_set_crypt(&areq->cra_u.aead_req, rsgl_src, in _aead_recvmsg() 282 aead_request_set_ad(&areq->cra_u.aead_req, ctx->aead_assoclen); in _aead_recvmsg() 283 aead_request_set_tfm(&areq->cra_u.aead_req, tfm); in _aead_recvmsg() 293 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 296 err = ctx->enc ? crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 297 crypto_aead_decrypt(&areq->cra_u.aead_req); in _aead_recvmsg() 306 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 311 crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 312 crypto_aead_decrypt(&areq->cra_u.aead_req), in _aead_recvmsg()
|
/dports/multimedia/libv4l/linux-5.13-rc2/crypto/ |
H A D | algif_aead.c | 280 aead_request_set_crypt(&areq->cra_u.aead_req, rsgl_src, in _aead_recvmsg() 282 aead_request_set_ad(&areq->cra_u.aead_req, ctx->aead_assoclen); in _aead_recvmsg() 283 aead_request_set_tfm(&areq->cra_u.aead_req, tfm); in _aead_recvmsg() 293 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 296 err = ctx->enc ? crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 297 crypto_aead_decrypt(&areq->cra_u.aead_req); in _aead_recvmsg() 306 aead_request_set_callback(&areq->cra_u.aead_req, in _aead_recvmsg() 311 crypto_aead_encrypt(&areq->cra_u.aead_req) : in _aead_recvmsg() 312 crypto_aead_decrypt(&areq->cra_u.aead_req), in _aead_recvmsg()
|