Home
last modified time | relevance | path

Searched refs:hmac_len (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c393 const u8 *hmac, u16 hmac_len) in tpm2_buf_append_auth() argument
395 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth()
403 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth()
405 if (hmac && hmac_len) in tpm2_buf_append_auth()
406 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth()
/Linux-v4.19/include/net/sctp/
Dauth.h49 __u16 hmac_len; /* length of the signature */ member
/Linux-v4.19/net/sctp/
Dauth.c45 .hmac_len = SCTP_SHA1_SIG_SIZE,
55 .hmac_len = SCTP_SHA256_SIG_SIZE,
Dchunk.c204 hmac_desc->hmac_len); in sctp_datamsg_from_user()
Dsm_make_chunk.c1298 hmac_desc->hmac_len + sizeof(auth_hdr), in sctp_make_auth()
1309 skb_put_zero(retval->skb, hmac_desc->hmac_len); in sctp_make_auth()
1313 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
Dsm_statefuns.c4220 if (sig_len != hmac->hmac_len) in sctp_sf_authenticate()