View | Details | Raw Unified | Return to bug 252894 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/dev/if_wg/module/curve25519.c (+1 lines)
Lines 767-772 void curve25519_generic(u8 out[CURVE25519_KEY_SIZE], Link Here
767
	u8 e[32];
767
	u8 e[32];
768
768
769
	memcpy(e, scalar, 32);
769
	memcpy(e, scalar, 32);
770
	curve25519_clamp_secret(e);
770
771
771
	/* The following implementation was transcribed to Coq and proven to
772
	/* The following implementation was transcribed to Coq and proven to
772
	 * correspond to unary scalar multiplication in affine coordinates given
773
	 * correspond to unary scalar multiplication in affine coordinates given

Return to bug 252894