NTL is an object oriented library for number theory, written
by Victor Shoup. It provides objects and methods for - arbitrary length integers - finite fields - polynomials over fields - extensions of fields. NTL's lattice reduction code is also one of the best available anywhere, in terms of both speed and robustness, and one of the few implementations of block Korkin-Zolotarev reduction with the Schnorr-Horner pruning heuristic. It has been used to "crack" several cryptosystems. MAINTAINER= Tom Knienieder <tom@knienieder.com>
This commit is contained in:
parent
71e4c2c6ee
commit
090c1d231e
24
math/ntl/Makefile
Normal file
24
math/ntl/Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/01/08 16:15:35 reinhard Exp $
|
||||
|
||||
DISTNAME= ntl-5.0c
|
||||
CATEGORIES= math
|
||||
NEED_VERSION= 1.348
|
||||
MASTER_SITES= http://www.shoup.net/ntl/
|
||||
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
HOMEPAGE= http://www.shoup.net/ntl/
|
||||
|
||||
MAINTAINER= Tom Knienieder <tom@knienieder.com>
|
||||
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
CONFIGURE_STYLE= simple
|
||||
|
||||
pre-patch:
|
||||
@mv ${WRKDIST}/makefile ${WRKDIST}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/ntl/files/md5
Normal file
3
math/ntl/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ntl-5.0c.tar.gz) = c6bffdaf1a5f56d41daadb4c123b573e
|
||||
SHA1 (ntl-5.0c.tar.gz) = 20603a3aeff1e3e3452d2537375896bc501c2504
|
||||
RMD160 (ntl-5.0c.tar.gz) = 8dd40e94faa194ecc2b89d58a59b73a01b5b6ef3
|
37
math/ntl/patches/patch-Makefile
Normal file
37
math/ntl/patches/patch-Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2001/01/08 16:15:35 reinhard Exp $
|
||||
--- Makefile.orig Sun Nov 19 15:11:21 2000
|
||||
+++ Makefile Sun Jan 7 22:14:41 2001
|
||||
@@ -64,10 +64,10 @@ LDLIBS_CXX=$(LDLIBS)
|
||||
CPPFLAGS=
|
||||
# arguments for the C preprocessor
|
||||
|
||||
-PREFIX=/usr/local
|
||||
+#PREFIX=/usr/local
|
||||
LIBDIR=$(PREFIX)/lib
|
||||
INCLUDEDIR=$(PREFIX)/include
|
||||
-DOCDIR=$(PREFIX)/doc
|
||||
+DOCDIR=$(PREFIX)/share/doc
|
||||
# where to install NTL
|
||||
|
||||
###############################################################
|
||||
@@ -373,16 +373,16 @@ check:
|
||||
|
||||
install:
|
||||
mkdir -p $(LIBDIR)
|
||||
- cp ntl.a $(LIBDIR)/libntl.a
|
||||
+ install -o 0 -g 0 -m 0644 ntl.a $(LIBDIR)/libntl.a
|
||||
mkdir -p $(INCLUDEDIR)
|
||||
- rm -r $(INCLUDEDIR)/NTL
|
||||
mkdir $(INCLUDEDIR)/NTL
|
||||
- cp ../include/NTL/*.h $(INCLUDEDIR)/NTL
|
||||
+ install -o 0 -g 0 -m 0644 ../include/NTL/*.h $(INCLUDEDIR)/NTL
|
||||
mkdir -p $(DOCDIR)
|
||||
- rm -r $(DOCDIR)/NTL
|
||||
mkdir $(DOCDIR)/NTL
|
||||
- cp ../doc/*.txt $(DOCDIR)/NTL
|
||||
- cp ../doc/*.html $(DOCDIR)/NTL
|
||||
+ install -o 0 -g 0 -m 0644 ../doc/*.txt $(DOCDIR)/NTL
|
||||
+ install -o 0 -g 0 -m 0644 ../doc/*.html $(DOCDIR)/NTL
|
||||
|
||||
|
||||
uninstall:
|
1
math/ntl/pkg/COMMENT
Normal file
1
math/ntl/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
Victor Shoup's Number Theory Library
|
13
math/ntl/pkg/DESCR
Normal file
13
math/ntl/pkg/DESCR
Normal file
@ -0,0 +1,13 @@
|
||||
NTL is an object oriented library for number theory, written
|
||||
by Victor Shoup. It provides objects and methods for
|
||||
- arbitrary length integers
|
||||
- finite fields
|
||||
- polynomials over fields
|
||||
- extensions of fields.
|
||||
|
||||
NTL's lattice reduction code is also one of the best available anywhere, in
|
||||
terms of both speed and robustness, and one of the few implementations of block
|
||||
Korkin-Zolotarev reduction with the Schnorr-Horner pruning heuristic. It has
|
||||
been used to "crack" several cryptosystems.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
170
math/ntl/pkg/PLIST
Normal file
170
math/ntl/pkg/PLIST
Normal file
@ -0,0 +1,170 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/01/08 16:15:35 reinhard Exp $
|
||||
include/NTL/FFT.h
|
||||
include/NTL/FacVec.h
|
||||
include/NTL/GF2.h
|
||||
include/NTL/GF2E.h
|
||||
include/NTL/GF2EX.h
|
||||
include/NTL/GF2EXFactoring.h
|
||||
include/NTL/GF2X.h
|
||||
include/NTL/GF2XFactoring.h
|
||||
include/NTL/GF2XVec.h
|
||||
include/NTL/HNF.h
|
||||
include/NTL/IsFinite.h
|
||||
include/NTL/LLL.h
|
||||
include/NTL/RR.h
|
||||
include/NTL/WordVector.h
|
||||
include/NTL/ZZ.h
|
||||
include/NTL/ZZVec.h
|
||||
include/NTL/ZZX.h
|
||||
include/NTL/ZZXFactoring.h
|
||||
include/NTL/ZZ_p.h
|
||||
include/NTL/ZZ_pE.h
|
||||
include/NTL/ZZ_pEX.h
|
||||
include/NTL/ZZ_pEXFactoring.h
|
||||
include/NTL/ZZ_pX.h
|
||||
include/NTL/ZZ_pXFactoring.h
|
||||
include/NTL/c_lip.h
|
||||
include/NTL/config.h
|
||||
include/NTL/def_config.h
|
||||
include/NTL/fileio.h
|
||||
include/NTL/g_lip.h
|
||||
include/NTL/gmp_aux.h
|
||||
include/NTL/lip.h
|
||||
include/NTL/lzz_p.h
|
||||
include/NTL/lzz_pE.h
|
||||
include/NTL/lzz_pEX.h
|
||||
include/NTL/lzz_pEXFactoring.h
|
||||
include/NTL/lzz_pX.h
|
||||
include/NTL/lzz_pXFactoring.h
|
||||
include/NTL/mach_desc.h
|
||||
include/NTL/mat_GF2.h
|
||||
include/NTL/mat_GF2E.h
|
||||
include/NTL/mat_RR.h
|
||||
include/NTL/mat_ZZ.h
|
||||
include/NTL/mat_ZZ_p.h
|
||||
include/NTL/mat_ZZ_pE.h
|
||||
include/NTL/mat_lzz_p.h
|
||||
include/NTL/mat_lzz_pE.h
|
||||
include/NTL/mat_poly_ZZ.h
|
||||
include/NTL/mat_poly_ZZ_p.h
|
||||
include/NTL/mat_poly_lzz_p.h
|
||||
include/NTL/matrix.h
|
||||
include/NTL/new.h
|
||||
include/NTL/pair.h
|
||||
include/NTL/pair_GF2EX_long.h
|
||||
include/NTL/pair_GF2X_long.h
|
||||
include/NTL/pair_ZZX_long.h
|
||||
include/NTL/pair_ZZ_pEX_long.h
|
||||
include/NTL/pair_ZZ_pX_long.h
|
||||
include/NTL/pair_lzz_pEX_long.h
|
||||
include/NTL/pair_lzz_pX_long.h
|
||||
include/NTL/quad_float.h
|
||||
include/NTL/tools.h
|
||||
include/NTL/vec_GF2.h
|
||||
include/NTL/vec_GF2E.h
|
||||
include/NTL/vec_GF2XVec.h
|
||||
include/NTL/vec_RR.h
|
||||
include/NTL/vec_ZZ.h
|
||||
include/NTL/vec_ZZVec.h
|
||||
include/NTL/vec_ZZ_p.h
|
||||
include/NTL/vec_ZZ_pE.h
|
||||
include/NTL/vec_double.h
|
||||
include/NTL/vec_long.h
|
||||
include/NTL/vec_lzz_p.h
|
||||
include/NTL/vec_lzz_pE.h
|
||||
include/NTL/vec_quad_float.h
|
||||
include/NTL/vec_ulong.h
|
||||
include/NTL/vec_vec_GF2.h
|
||||
include/NTL/vec_vec_GF2E.h
|
||||
include/NTL/vec_vec_RR.h
|
||||
include/NTL/vec_vec_ZZ.h
|
||||
include/NTL/vec_vec_ZZ_p.h
|
||||
include/NTL/vec_vec_ZZ_pE.h
|
||||
include/NTL/vec_vec_long.h
|
||||
include/NTL/vec_vec_lzz_p.h
|
||||
include/NTL/vec_vec_lzz_pE.h
|
||||
include/NTL/vec_vec_ulong.h
|
||||
include/NTL/vec_xdouble.h
|
||||
include/NTL/vector.h
|
||||
include/NTL/version.h
|
||||
include/NTL/xdouble.h
|
||||
lib/libntl.a
|
||||
share/doc/NTL/GF2.txt
|
||||
share/doc/NTL/GF2E.txt
|
||||
share/doc/NTL/GF2EX.txt
|
||||
share/doc/NTL/GF2EXFactoring.txt
|
||||
share/doc/NTL/GF2X.txt
|
||||
share/doc/NTL/GF2XFactoring.txt
|
||||
share/doc/NTL/GF2XVec.txt
|
||||
share/doc/NTL/HNF.txt
|
||||
share/doc/NTL/LLL.txt
|
||||
share/doc/NTL/RR.txt
|
||||
share/doc/NTL/ZZ.txt
|
||||
share/doc/NTL/ZZVec.txt
|
||||
share/doc/NTL/ZZX.txt
|
||||
share/doc/NTL/ZZXFactoring.txt
|
||||
share/doc/NTL/ZZ_p.txt
|
||||
share/doc/NTL/ZZ_pE.txt
|
||||
share/doc/NTL/ZZ_pEX.txt
|
||||
share/doc/NTL/ZZ_pEXFactoring.txt
|
||||
share/doc/NTL/ZZ_pX.txt
|
||||
share/doc/NTL/ZZ_pXFactoring.txt
|
||||
share/doc/NTL/config.txt
|
||||
share/doc/NTL/conversions.txt
|
||||
share/doc/NTL/copying.txt
|
||||
share/doc/NTL/flags.txt
|
||||
share/doc/NTL/lzz_p.txt
|
||||
share/doc/NTL/lzz_pE.txt
|
||||
share/doc/NTL/lzz_pEX.txt
|
||||
share/doc/NTL/lzz_pEXFactoring.txt
|
||||
share/doc/NTL/lzz_pX.txt
|
||||
share/doc/NTL/lzz_pXFactoring.txt
|
||||
share/doc/NTL/mat_GF2.txt
|
||||
share/doc/NTL/mat_GF2E.txt
|
||||
share/doc/NTL/mat_RR.txt
|
||||
share/doc/NTL/mat_ZZ.txt
|
||||
share/doc/NTL/mat_ZZ_p.txt
|
||||
share/doc/NTL/mat_ZZ_pE.txt
|
||||
share/doc/NTL/mat_lzz_p.txt
|
||||
share/doc/NTL/mat_lzz_pE.txt
|
||||
share/doc/NTL/mat_poly_ZZ.txt
|
||||
share/doc/NTL/mat_poly_ZZ_p.txt
|
||||
share/doc/NTL/mat_poly_lzz_p.txt
|
||||
share/doc/NTL/matrix.txt
|
||||
share/doc/NTL/names.txt
|
||||
share/doc/NTL/pair.txt
|
||||
share/doc/NTL/quad_float.txt
|
||||
share/doc/NTL/sedscript.txt
|
||||
share/doc/NTL/tools.txt
|
||||
share/doc/NTL/tour-ack.html
|
||||
share/doc/NTL/tour-changes.html
|
||||
share/doc/NTL/tour-ex1.html
|
||||
share/doc/NTL/tour-ex2.html
|
||||
share/doc/NTL/tour-ex3.html
|
||||
share/doc/NTL/tour-ex4.html
|
||||
share/doc/NTL/tour-ex5.html
|
||||
share/doc/NTL/tour-ex6.html
|
||||
share/doc/NTL/tour-examples.html
|
||||
share/doc/NTL/tour-gmp.html
|
||||
share/doc/NTL/tour-impl.html
|
||||
share/doc/NTL/tour-intro.html
|
||||
share/doc/NTL/tour-modules.html
|
||||
share/doc/NTL/tour-roadmap.html
|
||||
share/doc/NTL/tour-stdcxx.html
|
||||
share/doc/NTL/tour-struct.html
|
||||
share/doc/NTL/tour-time.html
|
||||
share/doc/NTL/tour-unix.html
|
||||
share/doc/NTL/tour-win.html
|
||||
share/doc/NTL/tour.html
|
||||
share/doc/NTL/vec_GF2.txt
|
||||
share/doc/NTL/vec_GF2E.txt
|
||||
share/doc/NTL/vec_RR.txt
|
||||
share/doc/NTL/vec_ZZ.txt
|
||||
share/doc/NTL/vec_ZZ_p.txt
|
||||
share/doc/NTL/vec_ZZ_pE.txt
|
||||
share/doc/NTL/vec_lzz_p.txt
|
||||
share/doc/NTL/vec_lzz_pE.txt
|
||||
share/doc/NTL/vector.txt
|
||||
share/doc/NTL/xdouble.txt
|
||||
@dirrm share/doc/NTL
|
||||
@dirrm include/NTL
|
Loading…
Reference in New Issue
Block a user