| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | authenc.c | 126 if (unlikely(kcaop->dst_len == 0 || caop->auth_len == 0)) { in get_userbuf_srtp() 134 auth_pagecount = PAGECOUNT(caop->auth_src, caop->auth_len); in get_userbuf_srtp() 149 rc = __cryptodev_get_userbuf(caop->auth_src, caop->auth_len, 1, auth_pagecount, in get_userbuf_srtp() 163 cryptodev_sg_copy(ses->sg, (*dst_sg), caop->auth_len); in get_userbuf_srtp() 317 caop->auth_len = compat->auth_len; in compat_to_crypt_auth_op() 335 compat->auth_len = caop->auth_len; in crypt_auth_op_to_compat() 438 struct scatterlist *auth_sg, uint32_t auth_len, in tls_auth_n_crypt() argument 450 if (auth_len > 0) { in tls_auth_n_crypt() 452 auth_sg, auth_len); in tls_auth_n_crypt() 521 if (auth_len > 0) { in tls_auth_n_crypt() [all …]
|
| H A D | rk_cryptodev.c | 750 struct scatterlist *auth_sg, uint32_t auth_len, in rk_auth_fd_n_crypt() argument 769 cryptodev_cipher_auth(&ses_ptr->cdata, auth_sg, auth_len); in rk_auth_fd_n_crypt() 843 if (caop->auth_len > 0) { in crypto_auth_fd_zc_rk() 848 ret = get_dmafd_sgtbl(caop->auth_fd, caop->auth_len, DMA_TO_DEVICE, in crypto_auth_fd_zc_rk() 857 sg_tbl_auth->sgl, caop->auth_len); in crypto_auth_fd_zc_rk() 860 sg_tbl_auth->sgl, caop->auth_len); in crypto_auth_fd_zc_rk() 900 ret = rk_auth_fd_n_crypt(ses_ptr, kcaop, NULL, caop->auth_len, in crypto_auth_fd_zc_rk() 903 ret = rk_auth_fd_n_crypt(ses_ptr, kcaop, NULL, caop->auth_len, in crypto_auth_fd_zc_rk()
|
| H A D | cryptodev.h | 85 uint32_t auth_len; /* length of auth data */ member
|
| /OK3568_Linux_fs/kernel/drivers/crypto/bcm/ |
| H A D | spu.c | 627 unsigned int auth_len; in spum_create_request() local 629 auth_len = real_db_size; in spum_create_request() 635 auth_len -= hash_parms->digestsize; in spum_create_request() 639 auth_len -= hash_parms->pad_len; in spum_create_request() 664 auth_offset, auth_len, cipher_offset, cipher_len); in spum_create_request() 774 auth_len = cipher_offset + aead_parms->data_pad_len; in spum_create_request() 789 bdesc->length_mac = cpu_to_be16(auth_len); in spum_create_request() 798 auth_len += spum_wordalign_padlen(auth_len); in spum_create_request() 800 bdesc->offset_icv = cpu_to_be16(auth_len); in spum_create_request()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/ |
| H A D | sa2ul.c | 1384 size_t auth_len; in sa_sha_run() local 1386 auth_len = req->nbytes; in sa_sha_run() 1388 if (!auth_len) in sa_sha_run() 1391 if (auth_len > SA_MAX_DATA_SZ || in sa_sha_run() 1392 (auth_len >= SA_UNSAFE_DATA_SZ_MIN && in sa_sha_run() 1393 auth_len <= SA_UNSAFE_DATA_SZ_MAX)) { in sa_sha_run() 1402 subreq->nbytes = auth_len; in sa_sha_run() 1415 sa_req.size = auth_len; in sa_sha_run() 1416 sa_req.auth_size = auth_len; in sa_sha_run() 1678 u16 auth_len; in sa_aead_dma_in_callback() local [all …]
|
| H A D | ixp4xx_crypto.c | 126 u16 auth_len; /* Authentication data length */ member 130 u16 auth_len; /* Authentication data length */ member 657 crypt->auth_len = HMAC_PAD_BLOCKLEN; in register_chain_var() 1039 crypt->auth_len = req->assoclen + cryptlen; in aead_perform() 1043 buf = chainup_buffers(dev, req->src, crypt->auth_len, in aead_perform() 1063 buf = chainup_buffers(dev, req->dst, crypt->auth_len, in aead_perform()
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | rk_cryptodev.h | 36 __u32 auth_len; /* length of auth data */ member
|
| H A D | cryptodev.h | 190 __u32 auth_len; /* length of auth data */ member
|
| /OK3568_Linux_fs/external/security/librkcrypto/include/ |
| H A D | rk_cryptodev.h | 36 __u32 auth_len; /* length of auth data */ member
|
| H A D | cryptodev.h | 190 __u32 auth_len; /* length of auth data */ member
|
| /OK3568_Linux_fs/kernel/net/sctp/ |
| H A D | auth.c | 260 __u32 auth_len; in sctp_auth_asoc_set_secret() local 262 auth_len = first_vector->len + last_vector->len; in sctp_auth_asoc_set_secret() 264 auth_len += ep_key->key->len; in sctp_auth_asoc_set_secret() 266 secret = sctp_auth_create_key(auth_len, gfp); in sctp_auth_asoc_set_secret()
|
| H A D | output.c | 415 int auth_len = 0; in sctp_packet_pack() local 434 auth_len = padded; in sctp_packet_pack() 435 else if (auth_len + padded + packet->overhead > in sctp_packet_pack()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | icp_qat_fw_la.h | 287 __u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/net/key/ |
| H A D | af_key.c | 1619 int len, auth_len, enc_len, i; in compose_sadb_supported() local 1621 auth_len = xfrm_count_pfkey_auth_supported(); in compose_sadb_supported() 1622 if (auth_len) { in compose_sadb_supported() 1623 auth_len *= sizeof(struct sadb_alg); in compose_sadb_supported() 1624 auth_len += sizeof(struct sadb_supported); in compose_sadb_supported() 1633 len = enc_len + auth_len + sizeof(struct sadb_msg); in compose_sadb_supported() 1644 if (auth_len) { in compose_sadb_supported() 1648 sp = skb_put(skb, auth_len); in compose_sadb_supported() 1651 sp->sadb_supported_len = auth_len / sizeof(uint64_t); in compose_sadb_supported()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | journal.c | 727 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local 741 auth_len = ubifs_auth_node_sz(c); in ubifs_jnl_write_data() 743 data = kmalloc(dlen + auth_len, GFP_NOFS | __GFP_NOWARN); in ubifs_jnl_write_data() 783 write_len = ALIGN(dlen, 8) + auth_len; in ubifs_jnl_write_data()
|
| /OK3568_Linux_fs/external/security/librkcrypto/src/ |
| H A D | rkcrypto_core.c | 685 op.auth_len = ae_cfg->aad_len; in rk_ae_crypt() 751 op.auth_len = ae_cfg->aad_len; in rk_ae_crypt_virt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/ |
| H A D | sta_info.h | 487 u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/ |
| H A D | sta_info.h | 488 u32 auth_len; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/ |
| H A D | sta_info.h | 495 u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/ |
| H A D | sta_info.h | 487 u32 auth_len; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/ |
| H A D | sta_info.h | 495 u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/ |
| H A D | sta_info.h | 499 u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/ |
| H A D | sta_info.h | 498 u32 auth_len; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/ |
| H A D | sta_info.h | 486 u32 auth_len; member
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/ |
| H A D | sta_info.h | 526 u32 auth_len; member
|