Lines Matching refs:hmac
52 void *hmac)
59 mptcp_crypto_hmac_sha(key1, key2, msg, 8, hmac);
70 /* validate received token and create truncated hmac and nonce for SYN-ACK */
74 u8 hmac[SHA256_DIGEST_SIZE];
80 subflow_req->remote_nonce, hmac);
82 subflow_req->thmac = get_unaligned_be64(hmac);
378 /* validate received truncated hmac and create hmac for third ACK */
381 u8 hmac[SHA256_DIGEST_SIZE];
386 hmac);
388 thmac = get_unaligned_be64(hmac);
528 u8 hmac[SHA256_DIGEST_SIZE];
555 hmac);
556 memcpy(subflow->hmac, hmac, MPTCPOPT_HMAC_LEN);
704 /* validate hmac received in third ACK */
709 u8 hmac[SHA256_DIGEST_SIZE];
719 subflow_req->local_nonce, hmac);
721 return !crypto_memneq(hmac, mp_opt->hmac, MPTCPOPT_HMAC_LEN);