summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec.h
diff options
context:
space:
mode:
authormiod <>2016-11-04 17:33:20 +0000
committermiod <>2016-11-04 17:33:20 +0000
commit247b083db1529704b5b7f31b26a406c50cdd32b0 (patch)
tree2628371c69ae733bbfebf3b933d9fcaf0677413a /src/lib/libcrypto/ec/ec.h
parent723502d9588ba0e1cc08af1b12654917da74d440 (diff)
downloadopenbsd-247b083db1529704b5b7f31b26a406c50cdd32b0.tar.gz
openbsd-247b083db1529704b5b7f31b26a406c50cdd32b0.tar.bz2
openbsd-247b083db1529704b5b7f31b26a406c50cdd32b0.zip
Add assembler code for the nist 256-bit GFp curve, written initially by
Intel. Obtained from BoringSSL, with some integration work borrowed from OpenSSL 1.0.2; assembler code for arm and sparc64 borrowed from OpenSSL 1.1.0. None of this code is enabled in libcrypto yet. ok beck@ jsing@
Diffstat (limited to 'src/lib/libcrypto/ec/ec.h')
-rw-r--r--src/lib/libcrypto/ec/ec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ec/ec.h b/src/lib/libcrypto/ec/ec.h
index a1ece2e0d5..dc70cfa6af 100644
--- a/src/lib/libcrypto/ec/ec.h
+++ b/src/lib/libcrypto/ec/ec.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec.h,v 1.11 2015/10/13 15:25:18 jsing Exp $ */ 1/* $OpenBSD: ec.h,v 1.12 2016/11/04 17:33:19 miod Exp $ */
2/* 2/*
3 * Originally written by Bodo Moeller for the OpenSSL project. 3 * Originally written by Bodo Moeller for the OpenSSL project.
4 */ 4 */
@@ -992,6 +992,12 @@ void ERR_load_EC_strings(void);
992#define EC_F_ECP_NIST_MOD_224 204 992#define EC_F_ECP_NIST_MOD_224 204
993#define EC_F_ECP_NIST_MOD_256 205 993#define EC_F_ECP_NIST_MOD_256 205
994#define EC_F_ECP_NIST_MOD_521 206 994#define EC_F_ECP_NIST_MOD_521 206
995#define EC_F_ECP_NISTZ256_GET_AFFINE 240
996#define EC_F_ECP_NISTZ256_MULT_PRECOMPUTE 243
997#define EC_F_ECP_NISTZ256_POINTS_MUL 241
998#define EC_F_ECP_NISTZ256_PRE_COMP_NEW 244
999#define EC_F_ECP_NISTZ256_SET_WORDS 245
1000#define EC_F_ECP_NISTZ256_WINDOWED_MUL 242
995#define EC_F_EC_ASN1_GROUP2CURVE 153 1001#define EC_F_EC_ASN1_GROUP2CURVE 153
996#define EC_F_EC_ASN1_GROUP2FIELDID 154 1002#define EC_F_EC_ASN1_GROUP2FIELDID 154
997#define EC_F_EC_ASN1_GROUP2PARAMETERS 155 1003#define EC_F_EC_ASN1_GROUP2PARAMETERS 155