Home
last modified time | relevance | path

Searched refs:auth_len (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/crypto/bcm/
Dspu.c631 unsigned int auth_len; in spum_create_request() local
633 auth_len = real_db_size; in spum_create_request()
639 auth_len -= hash_parms->digestsize; in spum_create_request()
643 auth_len -= hash_parms->pad_len; in spum_create_request()
668 auth_offset, auth_len, cipher_offset, cipher_len); in spum_create_request()
778 auth_len = cipher_offset + aead_parms->data_pad_len; in spum_create_request()
793 bdesc->length_mac = cpu_to_be16(auth_len); in spum_create_request()
802 auth_len += spum_wordalign_padlen(auth_len); in spum_create_request()
804 bdesc->offset_icv = cpu_to_be16(auth_len); in spum_create_request()
/Linux-v5.4/net/sctp/
Dauth.c260 __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()
Doutput.c415 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()
/Linux-v5.4/drivers/crypto/
Dixp4xx_crypto.c125 u16 auth_len; /* Authentication data length */ member
129 u16 auth_len; /* Authentication data length */ member
635 crypt->auth_len = HMAC_PAD_BLOCKLEN; in register_chain_var()
1021 crypt->auth_len = req->assoclen + cryptlen; in aead_perform()
1025 buf = chainup_buffers(dev, req->src, crypt->auth_len, in aead_perform()
1045 buf = chainup_buffers(dev, req->dst, crypt->auth_len, in aead_perform()
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dicp_qat_fw_la.h331 uint32_t auth_len; member
Dqat_algs.c895 auth_param->auth_len = areq->assoclen + cipher_param->cipher_length; in qat_alg_aead_dec()
939 auth_param->auth_len = areq->assoclen + areq->cryptlen; in qat_alg_aead_enc()
/Linux-v5.4/net/key/
Daf_key.c1619 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()
/Linux-v5.4/fs/ubifs/
Djournal.c726 int err, lnum, offs, compr_type, out_len, compr_len, auth_len; in ubifs_jnl_write_data() local
740 auth_len = ubifs_auth_node_sz(c); in ubifs_jnl_write_data()
742 data = kmalloc(dlen + auth_len, GFP_NOFS | __GFP_NOWARN); in ubifs_jnl_write_data()
782 write_len = ALIGN(dlen, 8) + auth_len; in ubifs_jnl_write_data()