28cab209 | 31-May-2021 |
Pauli |
crypto: updates to pass size_t to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/open
crypto: updates to pass size_t to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15540)
show more ...
|
dfefa4c1 | 31-May-2021 |
Pauli |
ssl: ass size_t to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pul
ssl: ass size_t to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15540)
show more ...
|
528685fe | 31-May-2021 |
Pauli |
rand: use size_t for size argument to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/
rand: use size_t for size argument to RAND_bytes_ex() Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15540)
show more ...
|
f7c1b472 | 31-May-2021 |
Shane Lontis |
Move provider der_XXX.h.in files to the include directory. Fixes #15506 The .in and generated .h files are now in the same directory. Reviewed-by: Tomas Mraz <tomas@openssl
Move provider der_XXX.h.in files to the include directory. Fixes #15506 The .in and generated .h files are now in the same directory. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15544)
show more ...
|
3c15d677 | 29-May-2021 |
Shane Lontis |
Fix error stack for some fetch calls. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pu
Fix error stack for some fetch calls. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15532)
show more ...
|
9ff4b7b0 | 29-May-2021 |
Shane Lontis |
Migration guide updates for flags and controls. Provided a section that links to the ctrl/flags mappings to parameters for digests and ciphers. Added "EVP_CIPHER_CTX_set_flags()
Migration guide updates for flags and controls. Provided a section that links to the ctrl/flags mappings to parameters for digests and ciphers. Added "EVP_CIPHER_CTX_set_flags() ordering" to changes section. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15496)
show more ...
|
7f9537d5 | 29-May-2021 |
Shane Lontis |
Document Settable EVP_CIPHER_CTX parameter "use-bits" Added docs for EVP_CIPHER_CTX_set_flags(), EVP_CIPHER_CTX_clear_flags() and EVP_CIPHER_CTX_test_flags(). Added section for
Document Settable EVP_CIPHER_CTX parameter "use-bits" Added docs for EVP_CIPHER_CTX_set_flags(), EVP_CIPHER_CTX_clear_flags() and EVP_CIPHER_CTX_test_flags(). Added section for "FLAGS" to show parameter mappings. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15496)
show more ...
|
17b209da | 27-May-2021 |
Shane Lontis |
Fix param indentation in ciphercommon_hw.c Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15496) |
e2311445 | 27-May-2021 |
Shane Lontis |
Fix aes cfb1 so that it can operate in bit mode. The code to handle the cipher operation was already in the provider. It just needed a OSSL_PARAM in order to set this into the algorithm.
Fix aes cfb1 so that it can operate in bit mode. The code to handle the cipher operation was already in the provider. It just needed a OSSL_PARAM in order to set this into the algorithm. EVP_CIPHER_CTX_set_flags() has been modified to pass the OSSL_PARAM. Issue reported by Mark Powers from Acumen. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15496)
show more ...
|
d11dd381 | 31-May-2021 |
Pauli |
add some cross compilation builds Add some cross compiling builds to test things aren't broken. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <sha
add some cross compilation builds Add some cross compiling builds to test things aren't broken. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15535)
show more ...
|
64fac96d | 31-May-2021 |
Pauli |
sparc: fix cross compile build Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org>
sparc: fix cross compile build Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15535)
show more ...
|
a7981653 | 31-May-2021 |
Pauli |
ppc: fix ambiguous if if else statement Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.
ppc: fix ambiguous if if else statement Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15535)
show more ...
|
e378be2a | 29-May-2021 |
Richard Levitte |
Add .asn1 dependencies for files generated from providers/common/der/*.in Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15533) |
691e2efa | 27-May-2021 |
Jan Lana |
Update solaris64-sparcv9-cc build target cflags Fixes #15507 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lont
Update solaris64-sparcv9-cc build target cflags Fixes #15507 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15509)
show more ...
|
99be8ed3 | 21-May-2021 |
Matt Caswell |
Fix cert creation in the store When we create a cert in the store, make sure we do so with the libctx and propq associated. Reviewed-by: Richard Levitte <levitte@openssl.org>
Fix cert creation in the store When we create a cert in the store, make sure we do so with the libctx and propq associated. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15523)
show more ...
|
e43dc9b2 | 28-May-2021 |
Richard Levitte |
Add the usual autowarn perl snippet in providers/common/der/*.in We have this in all other .in files, so these should have that as well. Reviewed-by: Matt Caswell <matt@openssl.org>
Add the usual autowarn perl snippet in providers/common/der/*.in We have this in all other .in files, so these should have that as well. Reviewed-by: Matt Caswell <matt@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/15524)
show more ...
|
3bcc933e | 24-May-2021 |
Matt Caswell |
Teach EVP_PKEYs to say whether they were decoded from explicit params Currently we explicitly downgrade an EVP_PKEY to an EC_KEY and ask the EC_KEY directly whether it was decoded from e
Teach EVP_PKEYs to say whether they were decoded from explicit params Currently we explicitly downgrade an EVP_PKEY to an EC_KEY and ask the EC_KEY directly whether it was decoded from explicit parameters or not. Instead we teach EVP_PKEYs to respond to a new parameter for this purpose. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15526)
show more ...
|
0a4e660a | 25-May-2021 |
Matt Caswell |
Update check_sig_alg_match() to work with provided keys Use EVP_PKEY_is_a() to check whether an EVP_PKEY is compatible with the given signature. Reviewed-by: Shane Lontis <shane
Update check_sig_alg_match() to work with provided keys Use EVP_PKEY_is_a() to check whether an EVP_PKEY is compatible with the given signature. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15528)
show more ...
|
3811e001 | 21-May-2021 |
Matt Caswell |
Special case SM2 when decoding SM2 abuses the EC oid by reusing it - but an EC key is different to an SM2 key. Therefore we have to special case SM2 during decoding. If we encounter
Special case SM2 when decoding SM2 abuses the EC oid by reusing it - but an EC key is different to an SM2 key. Therefore we have to special case SM2 during decoding. If we encounter the EC OID then we have to try both algorithms. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15522)
show more ...
|
3068a183 | 29-Apr-2021 |
Jon Spillett |
Fixes #14103 & #14102. Update AES demos with error handling and EVP fetch Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from
Fixes #14103 & #14102. Update AES demos with error handling and EVP fetch Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15081)
show more ...
|
f505161e | 28-May-2021 |
Shane Lontis |
Fix PKCS7_verify to not have an error stack if it succeeds. Revert a change in behavior to BIO_write(). If a NULL BIO is passed, no error is raised and the return value is 0. There are
Fix PKCS7_verify to not have an error stack if it succeeds. Revert a change in behavior to BIO_write(). If a NULL BIO is passed, no error is raised and the return value is 0. There are many places where the return code from the write was not checked, resulting in an error stack with no error status being returned. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15493)
show more ...
|
43dbe3b7 | 28-May-2021 |
Pauli |
fips: set the library context and handle later They need to be set once the provider will definitely be loading. If they are set earlier, a double free results on a failure. Fi
fips: set the library context and handle later They need to be set once the provider will definitely be loading. If they are set earlier, a double free results on a failure. Fixes #15452 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15492)
show more ...
|
f839361e | 29-May-2021 |
Richard Levitte |
make update-fips-checksums Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15514) |
57bd5fc7 | 28-May-2021 |
Richard Levitte |
Rearrange the check of providers/fips.so dependencies The mechanism had special cases to guess when something was generated from a .in file. It's better, though, to use the knowledge in
Rearrange the check of providers/fips.so dependencies The mechanism had special cases to guess when something was generated from a .in file. It's better, though, to use the knowledge in configdata.pm, especially when the generated file is in a different location than its source. Cleanups are added, and we change the use of sed to a use of perl when cleaning up paths with 'something/../' in them, since perl has more powerful tools for this sort of thing. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15514)
show more ...
|
32eebfa2 | 28-May-2021 |
Richard Levitte |
Make providers/fips.module.sources.new depend on configdata.pm Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15514) |