pkgsrc/security/codecrypt/Makefile
agc b25a1e3218 Add codecrypt, version 1.7.5 to the Packages Collection.
codecrypt is a program like gnupg (or netpgp) that uses only
quantum-computer-resistant algorithms

	This is a GnuPG-like unix program for encryption and signing that uses
	only quantum-computer-resistant algorithms:

	+ McEliece cryptosystem (compact QC-MDPC variant) for encryption
	+ Hash-based Merkle tree algorithm (FMTSeq variant) for digital
	signatures

	Stream ciphers used:  ChaCha20, XSynd stream cipher, RC4 (for initial
	simplicity of implementation)

	CRHFs used:
	+ Cubehash variants were selected for implementation ease, really
	clean design, quite good speed and flexibility of parameter choices.
	KeyID's are CUBE256 hashes of serialized public key.
	+ ripemd128 for small hashes
	+ tiger192 is used as an alternative for Cubehash for 192bit hashes
	+ There's always a variant with SHA-256, SHA-384 or SHA-512.

	Signature algorithms:
	+ FMTSeq with many possibilities and combinations of aforementioned CRHFs

	Encryption:
	MDPC McEliece on quasi-cyclic matrices - decoding is (slightly)
	vulnerable to timing attacks.
2016-04-30 19:27:43 +00:00

31 lines
828 B
Makefile

# $NetBSD: Makefile,v 1.1 2016/04/30 19:27:43 agc Exp $
DISTNAME= codecrypt-1.7.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=exaexa/}
GITHUB_TAG= v1.7.5
MAINTAINER= agc@NetBSD.org
HOMEPAGE= https://github.com/exaexa/codecrypt
COMMENT= Post-quantum cryptographic software
LICENSE= gnu-lgpl-v3
USE_TOOLS+= autoconf automake autoreconf gmake pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
CRYPTOPPFLAGS= CRYPTOPP_CFLAGS=-I${PREFIX}/include
CRYPTOPPFLAGS+= CRYPTOPP_LIBS='-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lcryptopp'
CONFIGURE_ENV+= ${CRYPTOPPFLAGS}
MAKE_ENV+= ${CRYPTOPPFLAGS}
pre-configure:
cd ${WRKSRC} && ./autogen.sh
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../security/crypto++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"