diff --git a/sys/include/ape/libsec.h b/sys/include/ape/libsec.h index 8c7fb7c23..11e8b5f61 100644 --- a/sys/include/ape/libsec.h +++ b/sys/include/ape/libsec.h @@ -543,6 +543,7 @@ char* X509ecdsaverify(uchar *sig, int siglen, ECdomain *dom, ECpub *pub); /* curves */ void secp256r1(mpint *p, mpint *a, mpint *b, mpint *x, mpint *y, mpint *n, mpint *h); void secp256k1(mpint *p, mpint *a, mpint *b, mpint *x, mpint *y, mpint *n, mpint *h); +void secp384r1(mpint *p, mpint *a, mpint *b, mpint *x, mpint *y, mpint *n, mpint *h); DigestState* ripemd160(uchar *, ulong, uchar *, DigestState *); diff --git a/sys/src/ape/lib/sec/port/mkfile b/sys/src/ape/lib/sec/port/mkfile index a87f0237c..bbfcb6b51 100644 --- a/sys/src/ape/lib/sec/port/mkfile +++ b/sys/src/ape/lib/sec/port/mkfile @@ -37,9 +37,10 @@ CFILES = des.c desmodes.c desECB.c desCBC.c des3ECB.c des3CBC.c\ ccpoly.c\ tsmemcmp.c\ secp256r1.c\ + secp384r1.c\ secp256k1.c\ -CLEANFILES=secp256r1.c secp256k1.c jacobian.c +CLEANFILES=secp256r1.c secp384r1.c secp256k1.c jacobian.c ALLOFILES=${CFILES:%.c=%.$O}