Home
last modified time | relevance | path

Searched refs:hmac_desc_len (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/ubifs/
H A Dauth.c326 c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); in ubifs_init_authentication()
327 if (c->hmac_desc_len > UBIFS_HMAC_ARR_SZ) { in ubifs_init_authentication()
329 hmac_name, c->hmac_desc_len, UBIFS_HMAC_ARR_SZ); in ubifs_init_authentication()
393 int hmac_len = c->hmac_desc_len; in ubifs_node_calc_hmac()
452 int hmac_len = c->hmac_desc_len; in __ubifs_node_verify_hmac()
546 return !memchr_inv(hmac, 0, c->hmac_desc_len); in ubifs_hmac_zero()
H A Dubifs.h1230 * @hmac_desc_len: length of the HMAC used for authentication
1473 int hmac_desc_len; member
1594 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
1686 return sizeof(struct ubifs_auth_node) + c->hmac_desc_len; in ubifs_auth_node_sz()
/kernel/linux/linux-6.6/fs/ubifs/
H A Dauth.c325 c->hmac_desc_len = crypto_shash_digestsize(c->hmac_tfm); in ubifs_init_authentication()
326 if (c->hmac_desc_len > UBIFS_HMAC_ARR_SZ) { in ubifs_init_authentication()
328 hmac_name, c->hmac_desc_len, UBIFS_HMAC_ARR_SZ); in ubifs_init_authentication()
392 int hmac_len = c->hmac_desc_len; in ubifs_node_calc_hmac()
451 int hmac_len = c->hmac_desc_len; in __ubifs_node_verify_hmac()
545 return !memchr_inv(hmac, 0, c->hmac_desc_len); in ubifs_hmac_zero()
H A Dubifs.h1251 * @hmac_desc_len: length of the HMAC used for authentication
1501 int hmac_desc_len; member
1623 return crypto_memneq(expected, got, c->hmac_desc_len); in ubifs_check_hmac()
1715 return sizeof(struct ubifs_auth_node) + c->hmac_desc_len; in ubifs_auth_node_sz()

Completed in 14 milliseconds