Lines Matching defs:hmac
151 memcpy(mp_opt->hmac, ptr, MPTCPOPT_HMAC_LEN);
152 pr_debug("MP_JOIN hmac");
510 memcpy(opts->hmac, subflow->hmac, MPTCPOPT_HMAC_LEN);
626 u8 hmac[SHA256_DIGEST_SIZE];
644 mptcp_crypto_hmac_sha(key1, key2, msg, i, hmac);
646 return get_unaligned_be64(&hmac[SHA256_DIGEST_SIZE - sizeof(u64)]);
683 * to avoid appending the hmac even for ADD_ADDR echo
1099 u64 hmac = 0;
1104 hmac = add_addr_generate_hmac(READ_ONCE(msk->remote_key),
1109 msk, hmac, mp_opt->ahmac);
1111 return hmac == mp_opt->ahmac;
1510 memcpy(ptr, opts->hmac, MPTCPOPT_HMAC_LEN);