Searched refs:hmac_len (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/fs/ubifs/ |
| D | auth.c | 414 int hmac_len = c->hmac_desc_len; in ubifs_node_calc_hmac() local 418 ubifs_assert(c, ofs_hmac + hmac_len < len); in ubifs_node_calc_hmac() 432 if (len - ofs_hmac - hmac_len > 0) { in ubifs_node_calc_hmac() 433 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac() 434 len - ofs_hmac - hmac_len); in ubifs_node_calc_hmac() 473 int hmac_len = c->hmac_desc_len; in __ubifs_node_verify_hmac() local 477 hmac = kmalloc(hmac_len, GFP_NOFS); in __ubifs_node_verify_hmac() 487 err = crypto_memneq(hmac, node + ofs_hmac, hmac_len); in __ubifs_node_verify_hmac()
|
| /Linux-v5.4/drivers/char/tpm/ |
| D | tpm2-cmd.c | 394 const u8 *hmac, u16 hmac_len) in tpm2_buf_append_auth() argument 396 tpm_buf_append_u32(buf, 9 + nonce_len + hmac_len); in tpm2_buf_append_auth() 404 tpm_buf_append_u16(buf, hmac_len); in tpm2_buf_append_auth() 406 if (hmac && hmac_len) in tpm2_buf_append_auth() 407 tpm_buf_append(buf, hmac, hmac_len); in tpm2_buf_append_auth()
|
| /Linux-v5.4/include/net/sctp/ |
| D | auth.h | 34 __u16 hmac_len; /* length of the signature */ member
|
| /Linux-v5.4/net/sctp/ |
| D | chunk.c | 193 hmac_desc->hmac_len); in sctp_datamsg_from_user()
|
| D | auth.c | 30 .hmac_len = SCTP_SHA1_SIG_SIZE, 40 .hmac_len = SCTP_SHA256_SIG_SIZE,
|
| D | sm_make_chunk.c | 1290 hmac_desc->hmac_len + sizeof(auth_hdr), in sctp_make_auth() 1301 skb_put_zero(retval->skb, hmac_desc->hmac_len); in sctp_make_auth() 1305 htons(ntohs(retval->chunk_hdr->length) + hmac_desc->hmac_len); in sctp_make_auth()
|
| D | sm_statefuns.c | 4226 if (sig_len != hmac->hmac_len) in sctp_sf_authenticate()
|