ape/libsec: add secp384r1 curve parameters for tls
This commit is contained in:
parent
ef8cbbba03
commit
62d3108646
2 changed files with 3 additions and 1 deletions
|
@ -543,6 +543,7 @@ char* X509ecdsaverify(uchar *sig, int siglen, ECdomain *dom, ECpub *pub);
|
||||||
/* curves */
|
/* curves */
|
||||||
void secp256r1(mpint *p, mpint *a, mpint *b, mpint *x, mpint *y, mpint *n, mpint *h);
|
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 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 *);
|
DigestState* ripemd160(uchar *, ulong, uchar *, DigestState *);
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,10 @@ CFILES = des.c desmodes.c desECB.c desCBC.c des3ECB.c des3CBC.c\
|
||||||
ccpoly.c\
|
ccpoly.c\
|
||||||
tsmemcmp.c\
|
tsmemcmp.c\
|
||||||
secp256r1.c\
|
secp256r1.c\
|
||||||
|
secp384r1.c\
|
||||||
secp256k1.c\
|
secp256k1.c\
|
||||||
|
|
||||||
CLEANFILES=secp256r1.c secp256k1.c jacobian.c
|
CLEANFILES=secp256r1.c secp384r1.c secp256k1.c jacobian.c
|
||||||
|
|
||||||
ALLOFILES=${CFILES:%.c=%.$O}
|
ALLOFILES=${CFILES:%.c=%.$O}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue