aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-08-21 08:41:40 -0400
committerRob Austein <sra@hactrn.net>2015-08-21 08:41:40 -0400
commitc8a5dd6875785a053ae6b1956ebf924b6f468ec9 (patch)
tree98f434fe08d0e06ca5049d86c93dc396c4d3f76a /GNUmakefile
parent53bff0b94832da75e37bea3e94e051f24fdec560 (diff)
Snapshot along the way to ECDSA. Code mostly written, except for
ecdsa_verify(). Untested. Point addition and doubling algorithms are the ones from libtomcrypt, main point of this commit is to save those before replacing them with faster algorithms from hyperelliptic.org.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 82ec7ec..6a777cc 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -28,7 +28,7 @@
INC = hal.h
LIB = libhal.a
OBJ = ${IO_OBJ} csprng.o hash.o aes_keywrap.o pbkdf2.o \
- modexp.o rsa.o errorstrings.o
+ modexp.o rsa.o ecdsa.o asn1.o errorstrings.o
IO_OBJ_EIM = hal_io_eim.o novena-eim.o
IO_OBJ_I2C = hal_io_i2c.o
@@ -49,6 +49,10 @@ ${OBJ}: ${INC}
${LIB}: ${OBJ}
ar rcs $@ $^
+asn1.o rsa.o ecdsa.o: asn1_internal.h
+
+ecdsa.o: ecdsa_curves.h
+
test: all
cd tests; ${MAKE} -k $@