Lines Matching refs:NOISE_PUBLIC_KEY_LEN

55 		       NOISE_PUBLIC_KEY_LEN);
61 const u8 peer_public_key[NOISE_PUBLIC_KEY_LEN],
69 memcpy(handshake->remote_static, peer_public_key, NOISE_PUBLIC_KEY_LEN);
80 memset(&handshake->ephemeral_private, 0, NOISE_PUBLIC_KEY_LEN);
81 memset(&handshake->remote_ephemeral, 0, NOISE_PUBLIC_KEY_LEN);
296 const u8 private_key[NOISE_PUBLIC_KEY_LEN])
299 NOISE_PUBLIC_KEY_LEN);
406 const u8 private[NOISE_PUBLIC_KEY_LEN],
407 const u8 public[NOISE_PUBLIC_KEY_LEN])
409 u8 dh_calculation[NOISE_PUBLIC_KEY_LEN];
414 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN, chaining_key);
415 memzero_explicit(dh_calculation, NOISE_PUBLIC_KEY_LEN);
421 const u8 precomputed[NOISE_PUBLIC_KEY_LEN])
423 static u8 zero_point[NOISE_PUBLIC_KEY_LEN];
424 if (unlikely(!crypto_memneq(precomputed, zero_point, NOISE_PUBLIC_KEY_LEN)))
427 NOISE_SYMMETRIC_KEY_LEN, 0, NOISE_PUBLIC_KEY_LEN,
456 const u8 remote_static[NOISE_PUBLIC_KEY_LEN])
460 mix_hash(hash, remote_static, NOISE_PUBLIC_KEY_LEN);
485 static void message_ephemeral(u8 ephemeral_dst[NOISE_PUBLIC_KEY_LEN],
486 const u8 ephemeral_src[NOISE_PUBLIC_KEY_LEN],
491 memcpy(ephemeral_dst, ephemeral_src, NOISE_PUBLIC_KEY_LEN);
492 mix_hash(hash, ephemeral_src, NOISE_PUBLIC_KEY_LEN);
494 NOISE_PUBLIC_KEY_LEN, chaining_key);
557 NOISE_PUBLIC_KEY_LEN, key, handshake->hash);
593 u8 s[NOISE_PUBLIC_KEY_LEN];
594 u8 e[NOISE_PUBLIC_KEY_LEN];
644 memcpy(handshake->remote_ephemeral, e, NOISE_PUBLIC_KEY_LEN);
737 u8 e[NOISE_PUBLIC_KEY_LEN];
738 u8 ephemeral_private[NOISE_PUBLIC_KEY_LEN];
739 u8 static_private[NOISE_PUBLIC_KEY_LEN];
758 NOISE_PUBLIC_KEY_LEN);
794 memcpy(handshake->remote_ephemeral, e, NOISE_PUBLIC_KEY_LEN);
809 memzero_explicit(ephemeral_private, NOISE_PUBLIC_KEY_LEN);
810 memzero_explicit(static_private, NOISE_PUBLIC_KEY_LEN);