diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-06 07:19:31 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-02-06 07:19:31 +0100 |
commit | b7f2aed0f25b8222ee72973e3a75f551c5d3c456 (patch) | |
tree | 4d556daffa94502ea1556b31f0abce2dfea39c02 | |
parent | ad637845a8635dd0da6236575e7a31505e775b00 (diff) | |
download | plan9front-b7f2aed0f25b8222ee72973e3a75f551c5d3c456.tar.xz |
libsec: mpconv -> mpfmt
-rw-r--r-- | sys/src/libsec/port/egtest.c | 2 | ||||
-rw-r--r-- | sys/src/libsec/port/primetest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/libsec/port/egtest.c b/sys/src/libsec/port/egtest.c index 41b438dcf..7c17c266f 100644 --- a/sys/src/libsec/port/egtest.c +++ b/sys/src/libsec/port/egtest.c @@ -9,7 +9,7 @@ main(void) mpint *m, *gamma, *delta, *in, *out; int plen, shift; - fmtinstall('B', mpconv); + fmtinstall('B', mpfmt); sk = egprivalloc(); sk->pub.p = uitomp(2357, nil); diff --git a/sys/src/libsec/port/primetest.c b/sys/src/libsec/port/primetest.c index 2d082e64f..cc649c384 100644 --- a/sys/src/libsec/port/primetest.c +++ b/sys/src/libsec/port/primetest.c @@ -10,7 +10,7 @@ main(void) mpint *q = mpnew(0); mpint *nine = mpnew(0); - fmtinstall('B', mpconv); + fmtinstall('B', mpfmt); strtomp("2492491", nil, 16, z); // 38347921 = x*y = (2**28-9)/7, // an example of 3**(n-1)=1 mod n strtomp("15662C00E811", nil, 16, p);// 23528569104401, a prime |