Jon Spillett
f6b6574cd7
80-test_cmp_http.t: Re-enable CMP tests for AIX, removing some inessential test cases
...
Remove negative test cases which simulate an attempt to write file contents to a directory
using a path ending in '/' as this is not compatible with fopen on all platforms, e.g., AIX.
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15575 )
2021-06-03 16:14:15 +02:00
Richard Levitte
b7d2bd1219
Deprecate EVP_CIPHER_impl_ctx_size and EVP_CIPHER_CTX_buf_noconst
...
Fixes #15519
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15584 )
2021-06-03 12:46:47 +02:00
Richard Levitte
17213b2ad0
Restore all the ? in util/libcrypto.num
...
They will become numbers again when beta1 is actually released.
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15578 )
2021-06-03 09:18:54 +02:00
Richard Levitte
cbba082fc0
util/mknum.pl: Really allow unset ordinals in development
...
Any pre-release tag that includes '-dev' is development. The ordinals
don't need to be finalized before '-dev' is removed (i.e. a release is
made).
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15578 )
2021-06-03 09:18:54 +02:00
Shane Lontis
ba3ea453b0
Fix errors found by parfait static analyser.
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15579 )
2021-06-03 16:15:41 +10:00
Pauli
6436030486
rsa: make the maximum key strength check FIPS only.
...
To be reverted once key generation checks are added everywhere and a way to
disable them implemented.
Fixes #15502
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15560 )
2021-06-03 15:32:38 +10:00
yuechen-chen
691c9cd16b
Add an EVP demo for signatures using EC
...
Fixes #14115
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15429 )
2021-06-03 15:21:17 +10:00
Pauli
74613e8c97
update checksums
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15574 )
2021-06-03 11:58:18 +10:00
Pauli
c912e0c616
util: update FIPS checksumming script to be more aggressive with whitespace
...
Fixes #15562
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15574 )
2021-06-03 11:56:21 +10:00
Jon Spillett
8a5bd05da8
Add enable-fips to CI configuration
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15537 )
2021-06-03 07:33:13 +10:00
Jon Spillett
c29b71c367
Disable tracing within the FIPS module
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15537 )
2021-06-03 07:32:54 +10:00
Tomas Mraz
ea82158103
ed25519 and ed448: fix incorrect OSSL_PKEY_PARAM_MAX_SIZE
...
Fixes #15552
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15566 )
2021-06-02 17:17:51 +02:00
Dr. David von Oheimb
4388417157
80-test_cms.t: Replace use of ee-self-signed.pem by more suitable smrsa1.pem
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15499 )
2021-06-02 14:49:13 +02:00
Dr. David von Oheimb
07e84e67a6
ee-self-signed.pem: Restore original version, adding -attime to 25-test_verify.t
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15499 )
2021-06-02 14:49:13 +02:00
Pauli
5bcbdee621
list: update to not use XXX_get_number() calls
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:51 +10:00
Pauli
45e6e5073a
store: include internal header
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:51 +10:00
Pauli
d11e555082
doc: fix OSSL_(EN|DE)CODER_get0_name function names
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:51 +10:00
Pauli
bcd5d3a22d
libcrypto: make XXX_get_number() internal
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:39 +10:00
Pauli
6ea964cd4a
doc: make XXX_get_number() internal
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:39 +10:00
Pauli
2e006ae77b
Add internal get_number functions to internal headers
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:39 +10:00
Pauli
f2e3584d10
add internal get_number functons to crypto/evp.h
...
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:39 +10:00
Pauli
c768893e7d
doc: move XXX_get_number() documentation to internal
...
These functions are effectively useless for users outside of libcrypto.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15564 )
2021-06-02 20:45:39 +10:00
Pauli
4cedf30e99
utils: remove TODO
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
71653965b3
crypto: remove TODOs
...
Fixes #15451
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
60e91cc409
http: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
4c3c2633b2
evp: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
3b90a847ec
err: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
4656d9ecd1
ec: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
3dc12810fa
dso: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
26b3e44a66
bn: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
79cabd7e27
rsa: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
c6472fec64
store: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
e73a08b400
pem: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
126e37716f
ocsp: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
29cfba8599
ct: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
e0a7ef0b51
crmf: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
1486b1fbd3
comp: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
6f6c8b0e3c
cms: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
75e1191f4d
cmp: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
69e21cb648
x509: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
1c8c5d4755
bio: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
10dbfcc91e
asn.1: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
0848b943a8
providers: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
407820c0e3
tls: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
fd009d763a
test: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
fb6ad22e36
fuzz: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Pauli
db70dc2cda
apps: remove TODOs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15539 )
2021-06-02 16:30:15 +10:00
Richard Levitte
0d7d5e2490
providers/common/der/build.info: make a variable for ../include/prov
...
This is a proof of concept for GENERATE variable expansion.
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15554 )
2021-06-02 08:19:23 +02:00
Richard Levitte
7058b4db82
Configure: variable expand GENERATE values too
...
Internal documentation doesn't allow for any exception... Therefore,
even GENERATE values should be variable expanded.
(there are historical reasons why GENERATE was excepted from variable
expansion, that aren't applicable any more)
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15554 )
2021-06-02 08:18:47 +02:00
Jon Spillett
0608afe096
Fix up bad libcrypto.num
...
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15576 )
2021-06-02 13:04:04 +10:00