Searched refs:hmac_len (Results 1 – 1 of 1) sorted by relevance
391 int hmac_len = c->hmac_desc_len; in ubifs_node_calc_hmac() local395 ubifs_assert(c, ofs_hmac + hmac_len < len); in ubifs_node_calc_hmac()409 if (len - ofs_hmac - hmac_len > 0) { in ubifs_node_calc_hmac()410 err = crypto_shash_update(shash, node + ofs_hmac + hmac_len, in ubifs_node_calc_hmac()411 len - ofs_hmac - hmac_len); in ubifs_node_calc_hmac()450 int hmac_len = c->hmac_desc_len; in __ubifs_node_verify_hmac() local454 hmac = kmalloc(hmac_len, GFP_NOFS); in __ubifs_node_verify_hmac()464 err = crypto_memneq(hmac, node + ofs_hmac, hmac_len); in __ubifs_node_verify_hmac()
Completed in 5 milliseconds