eedceaa36b
3.1.1 ----- 2020/06/15 - Various documentation fixes. - Fixed various compiler warnings. - Fixed some integer overflows (16-bit platforms only). 3.1.0 ----- 2020/04/03 - Added Elligator 2 mappings (hash to curve, curve to hash). - Added OPRF support (with scalar inversion). - Added Edwards25519 -> Curve25519 conversions 3.0.0 ----- 2020/01/19 - Deprecated the incremental AEAD interface. - Deprecated the incremental Chacha20, added a direct interface. - Added IETF Chacha20 (96-bit nonce), as described in RFC 8439. - Moved deprecated interfaces to a separate `src/deprecated` folder. - Removed the `ED25519_SHA512` preprocessor flag. - `crypto_x25519()` and `crypto_key_exchange()` now return `void`. - Added a custom hash interface to EdDSA. Several instances of EdDSA can share the same binary. - Added optional support for HMAC SHA-512 - Moved all SHA-512 operations to `src/optional/monocypher-ed25519.(h|c)` - Optional support for Ed25519 no longer requires a preprocessor flag. Add `src/optional/monocypher-ed25519.(h|c)` to your project instead. 2.0.6 ----- 2019/10/21 - Added the `BLAKE2_NO_UNROLLING` preprocessor definition. Activating it makes the binary about 5KB smaller, and speeds up processing times on many embedded processors. - Reduced the stack usage of signature verification by about 40%. Signature verification now fits in smaller machines. - Fixed many implicit casts warnings. - Fixed the manual here and there. - Lots of small nitpicks.
26 lines
893 B
Text
26 lines
893 B
Text
$NetBSD: patch-makefile,v 1.2 2020/10/19 12:30:30 mef Exp $
|
|
|
|
Allow overriding CC, DESTDIR and PREFIX
|
|
Use the more standard MANDIR (that we override)
|
|
|
|
--- makefile.orig 2020-04-22 00:00:00.000000000 +0000
|
|
+++ makefile
|
|
@@ -49,14 +49,14 @@
|
|
# You should have received a copy of the CC0 Public Domain Dedication along
|
|
# with this software. If not, see
|
|
# <https://creativecommons.org/publicdomain/zero/1.0/>
|
|
-CC=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
|
|
+CC?=gcc -std=gnu99 # speed tests don't work with -std=cxx, they need the POSIX extensions
|
|
CFLAGS= -pedantic -Wall -Wextra -O3 -march=native
|
|
-DESTDIR=
|
|
-PREFIX=usr/local
|
|
+DESTDIR?=
|
|
+PREFIX?=usr/local
|
|
LIBDIR=$(PREFIX)/lib
|
|
INCLUDEDIR=$(PREFIX)/include
|
|
PKGCONFIGDIR=$(LIBDIR)/pkgconfig
|
|
-MANDIR=$(PREFIX)/share/man/man3
|
|
+MANDIR?=$(PREFIX)/share/man/man3
|
|
SONAME=libmonocypher.so.3
|
|
|
|
VERSION=3.1.1
|