ape/libsec: add secp384r1 curve parameters for tls

This commit is contained in:
cinap_lenrek 2016-10-30 20:32:03 +01:00
parent ef8cbbba03
commit 62d3108646
2 changed files with 3 additions and 1 deletions

View file

@ -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 *);

View file

@ -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}