Searched refs:hmac_len (Results 1 – 1 of 1) sorted by relevance
393 int hmac_len = c->hmac_desc_len; in ubifs_node_calc_hmac() local397 ubifs_assert(c, ofs_hmac + hmac_len < len); in ubifs_node_calc_hmac()411 if (len - ofs_hmac - hmac_len > 0) { in ubifs_node_calc_hmac()412 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac()413 len - ofs_hmac - hmac_len); in ubifs_node_calc_hmac()452 int hmac_len = c->hmac_desc_len; in __ubifs_node_verify_hmac() local456 hmac = kmalloc(hmac_len, GFP_NOFS); in __ubifs_node_verify_hmac()466 err = crypto_memneq(hmac, node + ofs_hmac, hmac_len); in __ubifs_node_verify_hmac()