Searched refs:ofs_hmac (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/fs/ubifs/ |
| D | auth.c | 411 int len, int ofs_hmac, void *hmac) in ubifs_node_calc_hmac() argument 417 ubifs_assert(c, ofs_hmac > 8); in ubifs_node_calc_hmac() 418 ubifs_assert(c, ofs_hmac + hmac_len < len); in ubifs_node_calc_hmac() 427 err = crypto_shash_update(shash, node + 8, ofs_hmac - 8); 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() 455 int ofs_hmac) in __ubifs_node_insert_hmac() argument 457 return ubifs_node_calc_hmac(c, node, len, ofs_hmac, node + ofs_hmac); in __ubifs_node_insert_hmac() 471 int len, int ofs_hmac) in __ubifs_node_verify_hmac() argument [all …]
|
| D | ubifs.h | 1646 int len, int ofs_hmac); 1648 int len, int ofs_hmac) in ubifs_node_insert_hmac() argument 1651 return __ubifs_node_insert_hmac(c, buf, len, ofs_hmac); in ubifs_node_insert_hmac() 1657 int len, int ofs_hmac); 1659 const void *buf, int len, int ofs_hmac) in ubifs_node_verify_hmac() argument 1662 return __ubifs_node_verify_hmac(c, buf, len, ofs_hmac); in ubifs_node_verify_hmac()
|