From ba9de77abd2155e58e1c74910b06e39bf41f645e Mon Sep 17 00:00:00 2001 From: Tim Buktu Date: Sat, 14 May 2016 10:48:18 +0200 Subject: [PATCH] libntru 0.5 --- Makefile.bsd | 2 +- Makefile.linux | 2 +- Makefile.os2 | 2 +- Makefile.osx | 2 +- Makefile.win | 2 +- changelog | 21 +++++++++++++++++++++ 6 files changed, 26 insertions(+), 5 deletions(-) diff --git a/Makefile.bsd b/Makefile.bsd index 9726390..93dc21e 100644 --- a/Makefile.bsd +++ b/Makefile.bsd @@ -56,7 +56,7 @@ ifeq ($(SSE), yes) endif endif TEST_OBJS=test_bitstring.o test_hash.o test_idxgen.o test_key.o test_ntru.o test.o test_poly.o test_util.o -VERSION=0.4 +VERSION=0.5 INST_PFX=/usr INST_LIBDIR=$(INST_PFX)/lib INST_INCLUDE=$(INST_PFX)/include/libntru diff --git a/Makefile.linux b/Makefile.linux index f176456..cc8f07b 100644 --- a/Makefile.linux +++ b/Makefile.linux @@ -54,7 +54,7 @@ ifeq ($(SSE), yes) endif endif TEST_OBJS=test_bitstring.o test_hash.o test_idxgen.o test_key.o test_ntru.o test.o test_poly.o test_util.o -VERSION=0.4 +VERSION=0.5 INST_PFX=/usr INST_LIBDIR=$(INST_PFX)/lib INST_INCLUDE=$(INST_PFX)/include/libntru diff --git a/Makefile.os2 b/Makefile.os2 index 31e0199..865ae4a 100644 --- a/Makefile.os2 +++ b/Makefile.os2 @@ -19,7 +19,7 @@ ifeq ($(SSE), yes) LIB_OBJS+=sha1-mb-x86_64.o sha256-mb-x86_64.o endif TEST_OBJS=test_bitstring.o test_hash.o test_idxgen.o test_key.o test_ntru.o test.o test_poly.o test_util.o -VERSION=0.4 +VERSION=0.5 INST_PFX=%PROGRAMFILES% INST_LIBDIR=$(INST_PFX)\libntru INST_INCLUDE=$(INST_PFX)\libntru\include diff --git a/Makefile.osx b/Makefile.osx index 5504513..ee6aada 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -37,7 +37,7 @@ ifeq ($(SSE), yes) LIB_OBJS+=sha1-mb-x86_64.o sha256-mb-x86_64.o endif TEST_OBJS=test_bitstring.o test_hash.o test_idxgen.o test_key.o test_ntru.o test.o test_poly.o test_util.o -VERSION=0.4 +VERSION=0.5 INST_PFX=/usr INST_LIBDIR=$(INST_PFX)/lib INST_INCLUDE=$(INST_PFX)/include/libntru diff --git a/Makefile.win b/Makefile.win index e8d2641..224d740 100644 --- a/Makefile.win +++ b/Makefile.win @@ -18,7 +18,7 @@ ifeq ($(SSE), yes) LIB_OBJS+=sha1-mb-x86_64.o sha256-mb-x86_64.o endif TEST_OBJS=test_bitstring.o test_hash.o test_idxgen.o test_key.o test_ntru.o test.o test_poly.o test_util.o -VERSION=0.4 +VERSION=0.5 INST_PFX=%PROGRAMFILES% INST_LIBDIR=$(INST_PFX)\libntru INST_INCLUDE=$(INST_PFX)\libntru\include diff --git a/changelog b/changelog index d912afc..f4de1cc 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,24 @@ +0.5 (5/14/2016) + * RNGs: NTRU_RNG_DEFAULT uses CTR_DRBG now, NTRU_RNG_CTR_DRBG replaces NTRU_RNG_IGF2 + This change breaks the API! + * Denser encoding of private keys + This change breaks binary compatibility! + * new API feature: multiple public keys for the same private key + * new parameter sets: EES443EP1 and EES587EP1 + * new #defines for referencing param sets by strength: NTRU_DEFAULT_PARAMS_xxx_BITS + * BSD support + * bugfixes: + o fixed deterministic encryption on big-endian machines + o fixed some incorrect error codes when key generation failed + o fixed generation of polynomial g which deviated from the standard + o fixed SSE detection on BSD + o fixed buffer overruns (thanks Jeffrey Quesnelle) + o fixed a resource leak + o fixed tests on ARMv6 + o fixed calculation of M_len + * AVX2 optimizations (thanks Shay Gueron and Fabian Schlieker) + * minor optimizations + 0.4.1 (5/11/2015) * Experimental support for OS/2 (thanks Elbert Pol) * Fixed build when the CC environment variable is set