changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: libauthsrv: fix ed448 goldilocks prime comment

changeset 5056: 735111a6645a
parent 5055: f1f8fd04d6de
child 5057: 04e01e481c6a
author: mischief <mischief@offblast.org>
date: Mon, 11 Jan 2016 19:30:41 -0800
files: sys/src/libauthsrv/ed448.mp
description: libauthsrv: fix ed448 goldilocks prime comment
     1.1--- a/sys/src/libauthsrv/ed448.mp
     1.2+++ b/sys/src/libauthsrv/ed448.mp
     1.3@@ -1,7 +1,7 @@
     1.4 # Edwards Curve Ed448-Goldilocks
     1.5 
     1.6 # x^2+y^2 = 1-39081x^2y^2
     1.7-# modulo p = 2^448 - 1^224 - 1
     1.8+# modulo p = 2^448 - 2^224 - 1
     1.9 ed448_curve(p,a,d,x,y) {
    1.10 	p = (1<<448) - (1<<224) - 1;
    1.11 	a = 1;