| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This places a point at infinity and then fails. Fix some wacky indentation
in the vicinity.
|
|
|
|
| |
Maybe it should be replaced by another test, although P-256 seems enough.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This only requires very minor changes and simplifies testing quite a bit.
Some of the changes can be undone after the next bump.
|
| |
|
|
|
|
| |
The code they test will go away soon.
|
|
|
|
|
|
|
|
|
|
|
|
| |
While base bc is great, it uses libcrypto's BIGNUM implementation.
This implies that the independent verification of the bn_test isn't
as independent as it should be.
With this commit, run-bc picks up bn-gh if it is installed. This appears
to work on amd64, arm64 and sparc64 (where gbc is busted). I will send
PRs to the regress maintainers once I will have tested this a bit more
thoroughly. Committing this early since I juggle way too many diffs
already.
|
| |
|
|
|
|
| |
"go ahead" jsing
|
|
|
|
|
| |
GF2m curves will go away soon. This reduces the pile of diffs in my jungle
a tiny little bit.
|
|
|
|
|
| |
Apparently nobody tried to compile libcrypto with ZLI since Jan 2022.
Maybe this means that we can unifdef -U ZLIB or maybe not...
|
|
|
|
| |
No functional change.
|
|
|
|
| |
ok tb@
|
| |
|
| |
|
|
|
|
| |
ok jsing
|
| |
|
| |
|
| |
|
|
|
|
|
| |
As usual with the fp suffix, the former wraps the latter with a file BIO.
There is no reason for this function to be in a separate file.
|
|
|
|
| |
(sorry, otto, for not spotting in the updated diff)
|
| |
|
|
|
|
|
| |
except for bootblocks. This way we have built-in leak detecction
always (if enable by malloc flags). See man pages for details.
|
| |
|
|
|
|
|
|
|
| |
sk_OPENSSL_STRING_pop_free() is much more explicit and isn't that much
more complicated. x509_util.c can also use it directly...
No binary change
|
| |
|
| |
|
| |
|
|
|
|
| |
ok tb@
|
|
|
|
| |
ok tb@
|
|
|
|
| |
While here, use KECCAK_BYTE_WIDTH instead of hardcoding the value.
|
| |
|
|
|
|
| |
In addition, ext_cmp() was already prototyped earlier...
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
There is no point in having this in a separate internal header.
discussed with jsing
|
|
|
|
|
|
|
| |
This supports a mostly forgotten, seemingly unused and long retired
standard. No need for this in our public API Dyson sphere.
ok jsing
|
|
|
|
|
|
|
| |
This is unused outside of the library and could do with some reworking.
That's easier without having to care about outside consumers.
ok jsing
|
|
|
|
|
|
|
|
| |
With the corresponding structs now being opaque, the only thing they are
good for outside the library are memory leaks. They will be removed
completely or become internal only.
ok jsing
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The faster nist code is rife with problematic C. While this is generally
considered to be a pleonasm nowadays, here it specifically refers to
aliasing issues and other flavors of undefined behavior. With compilers
and standardization committees becoming seemingly more determined about
making C even more unusable than it already is, this code has resulted
in miscompilations and generally is a target rich environment for fuzzers
to feast on. We're better off without it. Go look while it's still there.
It's some of the very worst we have to offer.
ok jsing
|
|
|
|
|
|
|
| |
This is unused and in the way of some house keeping. Thus it will be
relocated to the attic.
ok jsing
|
|
|
|
|
|
|
| |
With opaque TS_VERIFY_CTX the init function dangerous and useless.
It will be dropped.
ok jsing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
X509_STORE_get1_{certs,crls}(3) was added to the OpenSSL 1.1 API with the
usual care. At some point later it was noticed that they didn't deal with
an X509_STORE at all, but rather with an X509_STORE_CTX, so were misnamed.
The fact that X509_STORE_CTX and X509_STORE have their roles reversed when
compared to other FOO vs FOO_CTX in this API may or may not be related.
Anyway, the X509_STORE versions will be demoted to compat defines and the
X509_STORE_CTX will be added to match OpenSSL 1.1 API more closely. This
was pointed out by schwarze a long time ago and missed in a few bumps.
Hopefully we'll manage to do it this time around.
ok jsing
|
|
|
|
| |
ok jsing
|
|
|
|
| |
ok jsing
|
|
|
|
| |
ok jsing
|
|
|
|
| |
ok jsing
|