| /OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/ |
| H A D | authenc.c | 201 dst_len += caop->tag_len; in cryptodev_get_dst_len() 234 if (caop->tag_len == 0) in fill_kcaop_from_caop() 235 caop->tag_len = cryptodev_get_tag_len(ses_ptr); in fill_kcaop_from_caop() 318 caop->tag_len = compat->tag_len; in compat_to_crypt_auth_op() 336 compat->tag_len = caop->tag_len; in crypt_auth_op_to_compat() 474 copy_tls_hash(dst_sg, len, hash_output, caop->tag_len); in tls_auth_n_crypt() 475 len += caop->tag_len; in tls_auth_n_crypt() 513 if (unlikely(caop->tag_len > sizeof(vhash) || caop->tag_len > len)) { in tls_auth_n_crypt() 518 read_tls_hash(dst_sg, len, vhash, caop->tag_len); in tls_auth_n_crypt() 519 len -= caop->tag_len; in tls_auth_n_crypt() [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | cipso_ipv4.c | 1181 u32 tag_len; in cipso_v4_gentag_rbm() local 1206 tag_len = 14; in cipso_v4_gentag_rbm() 1208 tag_len = 4 + ret_val; in cipso_v4_gentag_rbm() 1210 tag_len = 4; in cipso_v4_gentag_rbm() 1213 buffer[1] = tag_len; in cipso_v4_gentag_rbm() 1216 return tag_len; in cipso_v4_gentag_rbm() 1236 u8 tag_len = tag[1]; in cipso_v4_parsetag_rbm() local 1245 if (tag_len > 4) { in cipso_v4_parsetag_rbm() 1248 tag_len - 4, in cipso_v4_parsetag_rbm() 1280 u32 tag_len; in cipso_v4_gentag_enum() local [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/ |
| H A D | ccm.h | 164 unsigned char *tag, size_t tag_len ); 212 unsigned char *tag, size_t tag_len ); 249 const unsigned char *tag, size_t tag_len ); 294 const unsigned char *tag, size_t tag_len );
|
| H A D | gcm.h | 179 size_t tag_len, 222 size_t tag_len, 298 size_t tag_len );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/ |
| H A D | ccm.h | 164 unsigned char *tag, size_t tag_len ); 212 unsigned char *tag, size_t tag_len ); 249 const unsigned char *tag, size_t tag_len ); 294 const unsigned char *tag, size_t tag_len );
|
| H A D | gcm.h | 179 size_t tag_len, 222 size_t tag_len, 298 size_t tag_len );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/ |
| H A D | ccm.h | 164 unsigned char *tag, size_t tag_len ); 212 unsigned char *tag, size_t tag_len ); 249 const unsigned char *tag, size_t tag_len ); 294 const unsigned char *tag, size_t tag_len );
|
| H A D | gcm.h | 179 size_t tag_len, 222 size_t tag_len, 298 size_t tag_len );
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/ |
| H A D | ccm.h | 164 unsigned char *tag, size_t tag_len ); 212 unsigned char *tag, size_t tag_len ); 249 const unsigned char *tag, size_t tag_len ); 294 const unsigned char *tag, size_t tag_len );
|
| H A D | gcm.h | 179 size_t tag_len, 222 size_t tag_len, 298 size_t tag_len );
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | bcmbloom.c | 170 const uint8 *tag, uint tag_len, const uint8 *buf, uint buf_len) in bcm_bloom_is_member() argument 175 if (!tag || (tag_len == 0)) /* empty tag is always a member */ in bcm_bloom_is_member() 191 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_is_member() 207 bcm_bloom_add_member(bcm_bloom_filter_t *bp, const uint8 *tag, uint tag_len) in bcm_bloom_add_member() argument 211 if (!bp || !tag || (tag_len == 0)) in bcm_bloom_add_member() 221 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_add_member()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | bcmbloom.c | 170 const uint8 *tag, uint tag_len, const uint8 *buf, uint buf_len) in bcm_bloom_is_member() argument 175 if (!tag || (tag_len == 0)) /* empty tag is always a member */ in bcm_bloom_is_member() 191 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_is_member() 207 bcm_bloom_add_member(bcm_bloom_filter_t *bp, const uint8 *tag, uint tag_len) in bcm_bloom_add_member() argument 211 if (!bp || !tag || (tag_len == 0)) in bcm_bloom_add_member() 221 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_add_member()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | bcmbloom.c | 170 const uint8 *tag, uint tag_len, const uint8 *buf, uint buf_len) in bcm_bloom_is_member() argument 175 if (!tag || (tag_len == 0)) /* empty tag is always a member */ in bcm_bloom_is_member() 191 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_is_member() 207 bcm_bloom_add_member(bcm_bloom_filter_t *bp, const uint8 *tag, uint tag_len) in bcm_bloom_add_member() argument 211 if (!bp || !tag || (tag_len == 0)) in bcm_bloom_add_member() 221 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_add_member()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | bcmbloom.c | 163 const uint8 *tag, uint tag_len, const uint8 *buf, uint buf_len) in bcm_bloom_is_member() argument 168 if (!tag || (tag_len == 0)) /* empty tag is always a member */ in bcm_bloom_is_member() 184 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_is_member() 198 bcm_bloom_add_member(bcm_bloom_filter_t *bp, const uint8 *tag, uint tag_len) in bcm_bloom_add_member() argument 202 if (!bp || !tag || (tag_len == 0)) in bcm_bloom_add_member() 212 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_add_member()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | bcmbloom.c | 163 const uint8 *tag, uint tag_len, const uint8 *buf, uint buf_len) in bcm_bloom_is_member() argument 168 if (!tag || (tag_len == 0)) /* empty tag is always a member */ in bcm_bloom_is_member() 184 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_is_member() 198 bcm_bloom_add_member(bcm_bloom_filter_t *bp, const uint8 *tag, uint tag_len) in bcm_bloom_add_member() argument 202 if (!bp || !tag || (tag_len == 0)) in bcm_bloom_add_member() 212 pos = (*bp->hash[i])(bp->cb_ctx, i, tag, tag_len); in bcm_bloom_add_member()
|
| /OK3568_Linux_fs/external/security/librkcrypto/test/ |
| H A D | test_ae.c | 48 uint32_t tag_len = 16; in test_ae_item_virt() local 111 ae_cfg.tag_len = tag_len; in test_ae_item_virt() 155 aad, ae_cfg.aad_len, ae_cfg.tag_len, in test_ae_item_virt() 169 if (memcmp(tag_hard, tag_soft, ae_cfg.tag_len) != 0) { in test_ae_item_virt() 265 uint32_t tag_len = 16; in test_ae_item_fd() local 328 ae_cfg.tag_len = tag_len; in test_ae_item_fd() 372 aad->vaddr, aad_len, ae_cfg.tag_len, in test_ae_item_fd() 386 if (memcmp(tag_hard, tag_soft, ae_cfg.tag_len) != 0) { in test_ae_item_fd()
|
| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | cls_lock_client.c | 32 int tag_len = strlen(tag); in ceph_cls_lock() local 41 tag_len + sizeof(__le32) + in ceph_cls_lock() 63 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_lock() 193 int tag_len = strlen(tag); in ceph_cls_set_cookie() local 201 tag_len + sizeof(__le32) + in ceph_cls_set_cookie() 220 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_set_cookie() 389 int tag_len = strlen(tag); in ceph_cls_assert_locked() local 396 tag_len + sizeof(__le32) + in ceph_cls_assert_locked() 418 ceph_encode_string(&p, end, tag, tag_len); in ceph_cls_assert_locked()
|
| /OK3568_Linux_fs/kernel/include/net/ |
| H A D | cipso_ipv4.h | 274 u8 tag_len; in cipso_v4_validate() local 291 tag_len = opt[opt_iter + 1]; in cipso_v4_validate() 292 if ((tag_len == 0) || (tag_len > (opt_len - opt_iter))) { in cipso_v4_validate() 296 opt_iter += tag_len; in cipso_v4_validate()
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/openssl/ |
| H A D | aead.h | 222 uint8_t tag_len; member 252 size_t key_len, size_t tag_len); 269 size_t tag_len, ENGINE *impl); 439 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/include/openssl/ |
| H A D | aead.h | 156 uint8_t tag_len; member 186 size_t key_len, size_t tag_len); 203 size_t tag_len, ENGINE *impl); 382 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/export-user_ta/host_include/openssl/ |
| H A D | aead.h | 156 uint8_t tag_len; member 186 size_t key_len, size_t tag_len); 203 size_t tag_len, ENGINE *impl); 382 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/openssl/ |
| H A D | aead.h | 222 uint8_t tag_len; member 252 size_t key_len, size_t tag_len); 269 size_t tag_len, ENGINE *impl); 439 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/openssl/ |
| H A D | aead.h | 222 uint8_t tag_len; member 252 size_t key_len, size_t tag_len); 269 size_t tag_len, ENGINE *impl); 439 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/openssl/ |
| H A D | aead.h | 222 uint8_t tag_len; member 252 size_t key_len, size_t tag_len); 269 size_t tag_len, ENGINE *impl); 439 size_t tag_len, enum evp_aead_direction_t dir);
|
| /OK3568_Linux_fs/kernel/net/9p/ |
| H A D | trans_virtio.c | 531 int tag_len; in p9_mount_tag_show() local 535 tag_len = strlen(chan->tag); in p9_mount_tag_show() 537 memcpy(buf, chan->tag, tag_len + 1); in p9_mount_tag_show() 539 return tag_len + 1; in p9_mount_tag_show() 554 __u16 tag_len; in p9_virtio_probe() local 587 virtio_cread(vdev, struct virtio_9p_config, tag_len, &tag_len); in p9_virtio_probe() 592 tag = kzalloc(tag_len + 1, GFP_KERNEL); in p9_virtio_probe() 599 tag, tag_len); in p9_virtio_probe()
|