christos
c79601bd37
fix v8 PMULL detection (Robert Swindells)
2018-03-06 18:36:09 +00:00
christos
ac465b1fa5
For mips64:
...
Avoid branch delay spot warnings: Warning: macro instruction expanded into
multiple instructions in a branch delay slot
2018-03-06 18:32:37 +00:00
christos
1e125808a4
Avoid branch delay spot warnings: Warning: macro instruction expanded into
...
multiple instructions in a branch delay slot
XXX: Manually need to fix in auto-generation.
2018-03-06 13:47:25 +00:00
christos
30f7db8025
Add a case for 7, remove arm64crypto.S
2018-03-06 13:37:43 +00:00
christos
6410c86794
Handle mips64 properly.
2018-03-05 16:43:50 +00:00
christos
7e8fa9f58b
need CRYPTO_memcmp.
2018-03-05 01:00:12 +00:00
christos
496e722b68
make the key functions public, and provide function type and size attributes.
2018-03-05 00:59:43 +00:00
christos
2ac7033a22
regen
2018-03-04 16:45:12 +00:00
christos
3f6efeccf9
hack for lint
2018-03-04 04:09:03 +00:00
christos
1847e6b0e8
Alpha Stuff
2018-03-04 04:00:45 +00:00
christos
e7039be786
regen.
2018-03-04 03:25:18 +00:00
christos
76c4f34245
regen
2018-03-04 00:59:44 +00:00
christos
48c10bd910
remove useless grep
2018-03-04 00:24:21 +00:00
christos
dffa37b04e
provide CRYPTO_memcmp for the have-nots.
2018-03-03 04:32:46 +00:00
christos
edeef4718e
Regen for OpenSSL-1.1
...
XXX: we could add the new assembly files to speed-up things but now we
are only using the assembly stubs that 1.0 used.
2018-03-03 00:20:57 +00:00
christos
3eb848e5fb
Remove unused part of the Makefile (Muhammed.Shameem)
2018-03-02 13:26:40 +00:00
christos
8083c34295
make this link again:
...
- we don't want to define the reference impl flag because there is no
complete c reference impl for nistz256
- we want to define an empty OPENSSL_cpuid_setup() because we don't want
to use the v9 one... this function is called from 2 places:
1. in the sparccpuid.S assembly, which we need for the CRYPTO_mem*
functions -- but we could get rid of the v9 stuff with
#ifdef __sparc_v9__ for size and we don't bother
2. crypto/init.c
2018-02-26 01:33:05 +00:00
mrg
2e19323388
add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts
...
to bsd.prog.mk. use them instead of hard coding various lists
of libraries for krb5.
this fixes static builds.
2018-02-25 00:16:48 +00:00
christos
1bfb3e3818
dedup
2018-02-24 21:51:22 +00:00
christos
34c1b54ff7
we don't yet have __atomic_is_lock_free
2018-02-24 21:47:34 +00:00
christos
6462075721
fix sparc.
2018-02-24 21:45:57 +00:00
christos
96c8300010
add the right assembler flags for the two new files.
2018-02-24 20:23:58 +00:00
martin
031637411f
Backout my over-eager backout - we need this for sparc64 building netbsd32
...
compat libs, but still lots of #ifdef's missing to make this ready for
usage by sparc.
2018-02-20 13:14:02 +00:00
martin
9d80f6b600
Backout previous "regen" - the regen target in this directory is bogus,
...
there is no "sparcv9" nor any "vis" in the default CPU targets for
NetBSD/sparc.
2018-02-20 12:48:46 +00:00
christos
e1e22576fa
Avoid ssp error on sparc64
2018-02-18 23:41:44 +00:00
christos
1c6734b209
Regen.
2018-02-18 23:38:47 +00:00
christos
82081465bf
Provide SHAR384 flavors: The OpenSSL SHA512_Final implementation is re-used
...
to implement SHA384_Final, but does the right thing by checking the internally
kept digest size. The NetBSD libc implementation provides two entry points
that write a different size digest, so if we use the SHA512_Final from here
we end up overwriting memory.
2018-02-13 22:35:47 +00:00
christos
0f39d79ef1
Provide the means to use the libc sha2 internally instead of the openssl
...
implementation; this does not really matter since their structs are larger
than ours, but it helps when we want to verify that we are not using any
of the openssl code.
2018-02-13 22:32:10 +00:00
christos
ba6745c33a
Add a (void *) cast to make things compile with our own sha2 header
2018-02-13 22:29:14 +00:00
christos
ab7c594717
add missing test files added in the vendor branch.
2018-02-13 17:39:38 +00:00
martin
24e4f9aca2
Fix copy & pasto (dsa code vs. rsa code) in previous, fixes PR lib/53012
...
and recentish sshfs test failures.
2018-02-13 09:51:33 +00:00
christos
8ceb60ceb8
we need variables to be signed here.
2018-02-12 02:15:31 +00:00
christos
e83bfb8257
fix pasto
2018-02-10 16:16:28 +00:00
nakayama
fe7c136ffd
Restore pic and sse2 enabled code to make libcrypto works as before.
2018-02-10 13:29:55 +00:00
christos
4f511e6924
fix typo
2018-02-10 06:22:22 +00:00
christos
9d3e52666a
Fix TEXTREL's
2018-02-10 05:51:06 +00:00
christos
e155b97cb7
fix BN_to_integer to get rid of __UNCONST. Trick question:
...
How many BN_to_integer implementations does Heimdal contain (I only fixed 2).
2018-02-09 23:22:12 +00:00
christos
f5725ffc1d
Use the magic FILESBUILD variable so that it builds with BUILD/UPDATE unset.
...
Why again FILESBUILD is not the default and needs to be set?
2018-02-09 22:46:19 +00:00
christos
0a6da94db6
add reset, needed by nsd.
2018-02-09 17:11:14 +00:00
christos
f8cfffe1e3
XXX: use /dev/stdout because OpenSSL changed the params for i386!!?!?
2018-02-09 16:06:59 +00:00
christos
89869e261c
more file
2018-02-09 13:37:16 +00:00
christos
b8fabe00c3
i386 provides "partial words" assembly support.
2018-02-09 13:35:45 +00:00
christos
455943d417
new script does not know -D, regen
2018-02-09 13:25:41 +00:00
christos
329127fb83
only set the compat version for OpenSSL-1.0
2018-02-09 01:54:46 +00:00
christos
db213f8f02
adjust to renamed file
2018-02-08 23:32:38 +00:00
christos
8df8164852
need openssl/dh.h
2018-02-08 23:04:13 +00:00
christos
4e65a86b8b
use the right map file
2018-02-08 22:51:06 +00:00
christos
704db68e2d
Add a linker script
2018-02-08 22:49:14 +00:00
christos
975583d54a
fix the man pages, add a linker script
2018-02-08 22:48:55 +00:00
christos
b8b3c5f24b
update build glue
2018-02-08 21:57:23 +00:00