head	1.12;
access;
symbols
	perseant-exfatfs-base-20250801:1.12
	perseant-exfatfs-base-20240630:1.12
	perseant-exfatfs:1.12.0.22
	perseant-exfatfs-base:1.12
	cjep_sun2x:1.12.0.20
	cjep_sun2x-base:1.12
	cjep_staticlib_x-base1:1.12
	cjep_staticlib_x:1.12.0.18
	cjep_staticlib_x-base:1.12
	phil-wifi-20200421:1.12
	phil-wifi-20200411:1.12
	phil-wifi-20200406:1.12
	pgoyette-compat-merge-20190127:1.12
	pgoyette-compat-20190127:1.12
	pgoyette-compat-20190118:1.12
	pgoyette-compat-1226:1.12
	pgoyette-compat-1126:1.12
	pgoyette-compat-1020:1.12
	pgoyette-compat-0930:1.12
	pgoyette-compat-0906:1.12
	pgoyette-compat-0728:1.12
	pgoyette-compat-0625:1.12
	pgoyette-compat-0521:1.12
	pgoyette-compat-0502:1.12
	pgoyette-compat-0422:1.12
	pgoyette-compat-0415:1.12
	pgoyette-compat-0407:1.12
	pgoyette-compat-0330:1.12
	pgoyette-compat-0322:1.12
	pgoyette-compat-0315:1.12
	pgoyette-compat:1.12.0.16
	pgoyette-compat-base:1.12
	prg-localcount2-base3:1.12
	prg-localcount2-base2:1.12
	prg-localcount2-base1:1.12
	prg-localcount2:1.12.0.14
	prg-localcount2-base:1.12
	pgoyette-localcount-20170426:1.12
	bouyer-socketcan-base1:1.12
	pgoyette-localcount-20170320:1.12
	bouyer-socketcan:1.12.0.12
	bouyer-socketcan-base:1.12
	pgoyette-localcount-20170107:1.12
	pgoyette-localcount-20161104:1.12
	localcount-20160914:1.12
	pgoyette-localcount-20160806:1.12
	pgoyette-localcount-20160726:1.12
	pgoyette-localcount:1.12.0.10
	pgoyette-localcount-base:1.12
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	yamt-pagecache-base9:1.12
	yamt-pagecache-tag8:1.12
	tls-earlyentropy:1.12.0.6
	tls-earlyentropy-base:1.12
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.12
	riastradh-drm2-base3:1.12
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	agc-symver:1.12.0.8
	agc-symver-base:1.12
	tls-maxphys-base:1.12
	yamt-pagecache-base8:1.12
	netbsd-5-2:1.11.0.2
	yamt-pagecache-base7:1.12
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	yamt-pagecache-base6:1.12
	yamt-pagecache-base5:1.12
	yamt-pagecache-base4:1.12
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.12
	yamt-pagecache-base2:1.12
	yamt-pagecache:1.12.0.4
	yamt-pagecache-base:1.12
	bouyer-quota2-nbase:1.12
	bouyer-quota2:1.12.0.2
	bouyer-quota2-base:1.12
	matt-nb5-mips64-premerge-20101231:1.11
	matt-nb5-pq3:1.11.0.14
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.12
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	matt-nb5-mips64-k15:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	matt-nb5-mips64-premerge-20091211:1.11
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.11
	matt-nb4-mips64-k7-u2a-k9b:1.11
	matt-nb5-mips64-u1-k1-k5:1.11
	matt-nb5-mips64:1.11.0.10
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.8
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.6
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.4
	netbsd-5-base:1.11
	matt-mips64-base2:1.11
	matt-mips64:1.7.0.14
	netbsd-4-0-1-RELEASE:1.7
	wrstuden-revivesa-base-3:1.10
	wrstuden-revivesa-base-2:1.10
	wrstuden-fixsa-newbase:1.7
	wrstuden-revivesa-base-1:1.10
	yamt-pf42-base4:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-baseX:1.8
	yamt-pf42-base2:1.10
	wrstuden-revivesa:1.8.0.8
	wrstuden-revivesa-base:1.10
	yamt-pf42:1.8.0.6
	yamt-pf42-base:1.8
	keiichi-mipv6:1.8.0.4
	keiichi-mipv6-base:1.8
	matt-armv6-nbase:1.8
	matt-armv6-prevmlocking:1.7
	wrstuden-fixsa-base-1:1.7
	netbsd-4-0:1.7.0.12
	netbsd-4-0-RELEASE:1.7
	cube-autoconf:1.8.0.2
	cube-autoconf-base:1.8
	netbsd-4-0-RC5:1.7
	netbsd-4-0-RC4:1.7
	netbsd-4-0-RC3:1.7
	netbsd-4-0-RC2:1.7
	netbsd-4-0-RC1:1.7
	matt-armv6:1.7.0.10
	matt-armv6-base:1.8
	matt-mips64-base:1.7
	hpcarm-cleanup:1.7.0.8
	hpcarm-cleanup-base:1.8
	netbsd-3-1-1-RELEASE:1.4
	netbsd-3-0-3-RELEASE:1.4
	wrstuden-fixsa:1.7.0.6
	wrstuden-fixsa-base:1.7
	abandoned-netbsd-4-base:1.7
	abandoned-netbsd-4:1.7.0.2
	netbsd-3-1:1.4.0.12
	netbsd-3-1-RELEASE:1.4
	netbsd-3-0-2-RELEASE:1.4
	netbsd-3-1-RC4:1.4
	netbsd-3-1-RC3:1.4
	netbsd-3-1-RC2:1.4
	netbsd-3-1-RC1:1.4
	netbsd-4:1.7.0.4
	netbsd-4-base:1.7
	netbsd-3-0-1-RELEASE:1.4
	netbsd-3-0:1.4.0.10
	netbsd-3-0-RELEASE:1.4
	netbsd-3-0-RC6:1.4
	netbsd-3-0-RC5:1.4
	netbsd-3-0-RC4:1.4
	netbsd-3-0-RC3:1.4
	netbsd-3-0-RC2:1.4
	netbsd-3-0-RC1:1.4
	netbsd-2-0-3-RELEASE:1.4
	netbsd-2-1:1.4.0.8
	netbsd-2-1-RELEASE:1.4
	netbsd-2-1-RC6:1.4
	netbsd-2-1-RC5:1.4
	netbsd-2-1-RC4:1.4
	netbsd-2-1-RC3:1.4
	netbsd-2-1-RC2:1.4
	netbsd-2-1-RC1:1.4
	netbsd-2-0-2-RELEASE:1.4
	netbsd-3:1.4.0.6
	netbsd-3-base:1.4
	netbsd-2-0-1-RELEASE:1.4
	netbsd-2:1.4.0.4
	netbsd-2-base:1.4
	netbsd-2-0-RELEASE:1.4
	netbsd-2-0-RC5:1.4
	netbsd-2-0-RC4:1.4
	netbsd-2-0-RC3:1.4
	netbsd-2-0-RC2:1.4
	netbsd-2-0-RC1:1.4
	netbsd-2-0:1.4.0.2
	netbsd-2-0-base:1.4
	netbsd-1-6-PATCH002-RELEASE:1.3
	netbsd-1-6-PATCH002:1.3
	netbsd-1-6-PATCH002-RC4:1.3
	netbsd-1-6-PATCH002-RC3:1.3
	netbsd-1-6-PATCH002-RC2:1.3
	netbsd-1-6-PATCH002-RC1:1.3
	netbsd-1-6-PATCH001:1.3
	netbsd-1-6-PATCH001-RELEASE:1.3
	netbsd-1-6-PATCH001-RC3:1.3
	netbsd-1-6-PATCH001-RC2:1.3
	netbsd-1-6-PATCH001-RC1:1.3
	fvdl_fs64_base:1.3
	netbsd-1-6-RELEASE:1.3
	netbsd-1-6-RC3:1.3
	netbsd-1-6-RC2:1.3
	netbsd-1-6-RC1:1.3
	netbsd-1-6:1.3.0.2
	netbsd-1-6-base:1.3
	netbsd-1-5-PATCH003:1.1.1.1.2.2
	netbsd-1-5-PATCH002:1.1.1.1.2.2
	netbsd-1-5-PATCH001:1.1.1.1.2.2
	netbsd-1-5-RELEASE:1.1.1.1.2.2
	netbsd-1-5-BETA2:1.1.1.1.2.2
	netbsd-1-5-BETA:1.1.1.1.2.2
	netbsd-1-5-ALPHA2:1.1.1.1.2.2
	minoura-xpg4dl:1.2.0.2
	netbsd-1-5:1.1.1.1.0.2
	netbsd-1-5-base:1.1.1.1
	cryptosrc-intl-20000615:1.1.1.1
	netbsd-cryptosrc-intl:1.1.1;
locks; strict;
comment	@# @;


1.12
date	2009.07.19.23.35.03;	author christos;	state dead;
branches;
next	1.11;

1.11
date	2008.09.19.14.50.53;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	2008.05.10.21.41.22;	author christos;	state Exp;
branches;
next	1.9;

1.9
date	2008.05.10.21.30.06;	author christos;	state Exp;
branches;
next	1.8;

1.8
date	2007.12.09.22.44.13;	author adrianp;	state Exp;
branches
	1.8.6.1
	1.8.8.1;
next	1.7;

1.7
date	2006.03.17.20.47.45;	author dsl;	state Exp;
branches
	1.7.10.1;
next	1.6;

1.6
date	2005.11.25.20.34.58;	author christos;	state Exp;
branches;
next	1.5;

1.5
date	2005.11.25.19.15.08;	author christos;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.24.14.16.31;	author itojun;	state Exp;
branches;
next	1.3;

1.3
date	2000.07.16.07.16.21;	author mrg;	state Exp;
branches;
next	1.2;

1.2
date	2000.06.21.19.34.24;	author thorpej;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2000.06.16.04.21.32;	author thorpej;	state Exp;
branches
	1.1.1.1;
next	;

1.8.6.1
date	2008.05.18.12.30.21;	author yamt;	state Exp;
branches;
next	;

1.8.8.1
date	2008.06.23.04.29.36;	author wrstuden;	state Exp;
branches;
next	;

1.7.10.1
date	2008.01.09.01.34.28;	author matt;	state Exp;
branches;
next	;

1.2.2.1
date	2000.06.21.19.34.24;	author minoura;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2000.06.23.16.16.21;	author minoura;	state Exp;
branches;
next	;

1.1.1.1
date	2000.06.16.04.21.32;	author thorpej;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2000.06.22.06.55.04;	author thorpej;	state Exp;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2000.07.17.05.59.58;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.12
log
@OpenSSL moved to crypto/external
@
text
@#	$NetBSD: bn.inc,v 1.11 2008/09/19 14:50:53 christos Exp $
#
#	@@(#) Copyright (c) 1995 Simon J. Gerraty
#
#	SRCS extracted from src/crypto/dist/openssl/crypto/bn/Makefile
#

.PATH:	${OPENSSLSRC}/crypto/bn

.if !defined(BN_SRCS)
BN_SRCS = bn_asm.c
.endif

BN_SRCS += bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mod.c \
	bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c bn_mul.c \
	bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c \
	bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_nist.c bn_gf2m.c bn_depr.c \
	bn_const.c
SRCS += ${BN_SRCS}

.for cryptosrc in ${BN_SRCS}
CPPFLAGS.${cryptosrc} = -I${OPENSSLSRC}/crypto/bn
.endfor
@


1.11
log
@PR/7505: Obata Akio: add missing bn_const.c
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.10 2008/05/10 21:41:22 christos Exp $
@


1.10
log
@handle more assembly stuff.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.9 2008/05/10 21:30:06 christos Exp $
d17 2
a18 1
	bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_nist.c bn_gf2m.c bn_depr.c
@


1.9
log
@Accommodate more assembly builds.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.8 2007/12/09 22:44:13 adrianp Exp $
d11 1
a11 1
BN_SRCS = bn_asm.c bm_mul.c
d15 1
a15 1
	bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
@


1.8
log
@Cosmetic path changes just clarifying where we actually get the contents
of these files from.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.7 2006/03/17 20:47:45 dsl Exp $
d10 3
d14 1
a14 1
BN_SRCS = bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
d16 1
a16 1
	bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c bn_asm.c \
@


1.8.8.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.8 2007/12/09 22:44:13 adrianp Exp $
a9 3
.if !defined(BN_SRCS)
BN_SRCS = bn_asm.c
.endif
d11 3
a13 3
BN_SRCS += bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mod.c \
	bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c bn_mul.c \
	bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c \
@


1.8.6.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.8 2007/12/09 22:44:13 adrianp Exp $
a9 3
.if !defined(BN_SRCS)
BN_SRCS = bn_asm.c
.endif
d11 3
a13 3
BN_SRCS += bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mod.c \
	bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c bn_mul.c \
	bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c \
@


1.7
log
@Don't add every source directory to the -I path.
Instead use CPPFLAGS.file to add the relevant directory for each file.
Removes about 4000000 failed open() system calls from the libcrypto build,
and reduces the compile time (on my system) from 154 seconds to 115 seconds.
The arch/*/*.inc files need similar treatment.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.6 2005/11/25 20:34:58 christos Exp $
d5 1
a5 1
#	SRCS extracted from /home/current/src/lib/libcrypto/../../crypto/dist/openssl/crypto/bn/Makefile.ssl
@


1.7.10.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
#	SRCS extracted from src/crypto/dist/openssl/crypto/bn/Makefile
@


1.6
log
@Add deprecated functions that openssh still uses.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.5 2005/11/25 19:15:08 christos Exp $
a9 1
CPPFLAGS+=	-I${OPENSSLSRC}/crypto/bn
d11 1
a11 1
SRCS+=	bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c \
d15 5
@


1.5
log
@Adjust to the new openssl-0.9.8a. Notable changes:
    - no more fips
    - new algorithms
Bump version to 3.0
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.4 2003/07/24 14:16:31 itojun Exp $
d15 1
a15 1
	bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_nist.c bn_gf2m.c
@


1.4
log
@upgrade openssl to 0.9.7b.  (AES is now supported)
alter des.h to be friendly with openssl/des.h (you can include both in the
same file)
make libkrb to depend on libdes.  bump major.
massage various portioin of heimdal to be friendly with openssl 0.9.7b.
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.3 2000/07/16 07:16:21 mrg Exp $
d15 1
a15 1
	bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c
@


1.3
log
@update for openssl 0.9.5a
@
text
@d1 1
a1 1
#	$NetBSD$
d12 1
a12 1
SRCS+=	bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
d14 2
a15 4
	bn_gcd.c bn_prime.c bn_err.c bn_sqr.c   bn_asm.c  bn_recp.c bn_mont.c \
	bn_mpi.c bn_exp2.c


@


1.2
log
@s/CFLAGS/CPPFLAGS/g
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.1.1.1 2000/06/16 04:21:32 thorpej Exp $
d5 1
a5 1
#	SRCS extracted from ../../dist/openssl/crypto/bn/Makefile.ssl
d12 1
a12 1
SRCS+=	bn_add.c bn_div.c bn_exp.c bn_lib.c bn_mul.c \
@


1.2.2.1
log
@file bn.inc was added on branch minoura-xpg4dl on 2000-06-23 16:16:21 +0000
@
text
@d1 17
@


1.2.2.2
log
@Sync w/ netbsd-1-5-base.
@
text
@a0 17
#	$NetBSD: bn.inc,v 1.2.2.1 2000/06/23 16:16:21 minoura Exp $
#
#	@@(#) Copyright (c) 1995 Simon J. Gerraty
#
#	SRCS extracted from ../../dist/openssl/crypto/bn/Makefile.ssl
#

.PATH:	${OPENSSLSRC}/crypto/bn

CFLAGS+=	-I${OPENSSLSRC}/crypto/bn

SRCS+=	bn_add.c bn_div.c bn_exp.c bn_lib.c bn_mul.c \
	bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
	bn_gcd.c bn_prime.c bn_err.c bn_sqr.c   bn_asm.c  bn_recp.c bn_mont.c \
	bn_mpi.c bn_exp2.c


@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.1 1999/07/23 01:32:59 mrg Exp $
d10 1
a10 1
CFLAGS+=	-I${OPENSSLSRC}/crypto/bn
@


1.1.1.1
log
@Import libcrypto build framework from cryptosrc-intl.
@
text
@@


1.1.1.1.2.1
log
@Pull up rev 1.2:
s/CFLAGS/CPPFLAGS/g
@
text
@d1 1
a1 1
#	$NetBSD: bn.inc,v 1.2 2000/06/21 19:34:24 thorpej Exp $
d10 1
a10 1
CPPFLAGS+=	-I${OPENSSLSRC}/crypto/bn
@


1.1.1.1.2.2
log
@pull up openssl 0.9.5a (requested by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
#	SRCS extracted from /home/current/src/lib/libcrypto/../../crypto/dist/openssl/crypto/bn/Makefile.ssl
d12 1
a12 1
SRCS+=	bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
@
