0c05fda4 | 25-May-2021 |
Pauli |
rsa: remove the limit on the maximum key strength Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/open
rsa: remove the limit on the maximum key strength Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15472)
show more ...
|
9d0dd1d5 | 25-May-2021 |
Rich Salz |
Use "" for include crypto/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1546
Use "" for include crypto/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15468)
show more ...
|
449bdf37 | 25-May-2021 |
Rich Salz |
Use "" for include internal/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15
Use "" for include internal/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15468)
show more ...
|
6229815a | 25-May-2021 |
Rich Salz |
Use <> for #include openssl/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15
Use <> for #include openssl/xxx Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15468)
show more ...
|
e475d9a4 | 25-May-2021 |
Pauli |
rsa: rename global rsaz_ sumbols so they are in namespace The symbols renamed are: RSAZ_amm52x20_x1_256 RSAZ_amm52x20_x2_256 rsaz_avx512ifma_eligible RSAZ_mod_exp_avx512
rsa: rename global rsaz_ sumbols so they are in namespace The symbols renamed are: RSAZ_amm52x20_x1_256 RSAZ_amm52x20_x2_256 rsaz_avx512ifma_eligible RSAZ_mod_exp_avx512_x2 Additionally, RSAZ_exp52x20_x2_256 was made static Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15445)
show more ...
|
3675334e | 25-May-2021 |
Pauli |
aes: rename new bsaes_ symbols -> ossl_bsaes_ ones bsaes_cbc_encrypt -> ossl_bsaes_cbc_encrypt bsaes_ctr32_encrypt_blocks -> ossl_bsaes_ctr32_encrypt_blocks bsaes_xts_decrypt -> ossl
aes: rename new bsaes_ symbols -> ossl_bsaes_ ones bsaes_cbc_encrypt -> ossl_bsaes_cbc_encrypt bsaes_ctr32_encrypt_blocks -> ossl_bsaes_ctr32_encrypt_blocks bsaes_xts_decrypt -> ossl_bsaes_xts_decrypt bsaes_xts_encrypt -> ossl_bsaes_xts_encrypt Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15445)
show more ...
|
190c029e | 25-May-2021 |
Pauli |
bn: rename extract_multiplier_2x20_win5 -> ossl_extract_multiplier_2x20_win5 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/1544
bn: rename extract_multiplier_2x20_win5 -> ossl_extract_multiplier_2x20_win5 Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15445)
show more ...
|
36ec749f | 25-May-2021 |
Pauli |
bn: rename bn_check_prime_int -> ossl_bn_check_primt Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/15445) |
0800318a | 24-May-2021 |
Tomas Mraz |
Deprecate old style BIO callback calls New style BIO_debug_callback_ex() function added to provide replacement for BIO_debug_callback(). Reviewed-by: Paul Dale <pauli@openssl.or
Deprecate old style BIO callback calls New style BIO_debug_callback_ex() function added to provide replacement for BIO_debug_callback(). Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15440)
show more ...
|
02241111 | 25-May-2021 |
Tianjia Zhang |
apps: Fix the mismatch of SM2 keys keymgmt The SM2 key has a separate keymgmt, which is independent of the EC. The key generated by the subcommand ecparam is wrong. Using 'openssl ec
apps: Fix the mismatch of SM2 keys keymgmt The SM2 key has a separate keymgmt, which is independent of the EC. The key generated by the subcommand ecparam is wrong. Using 'openssl ec -in sm2.key -noout -text' will also encounter some errors. When using the ecparam subcommand to generate the SM2 key, use the correct keymgmt to solve this problem. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15454)
show more ...
|
0e7e3b9b | 25-May-2021 |
Richard Levitte |
util/fix-doc-nits: Fix link detection in collectnames() to be kinder The way the links were parsed out of the contents caused a regexp recursion. The easiest way to deal with it is to f
util/fix-doc-nits: Fix link detection in collectnames() to be kinder The way the links were parsed out of the contents caused a regexp recursion. The easiest way to deal with it is to find all markup using $markup_re, and then parsing out the L markups and add them to the links array. Fixes #15449 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15450)
show more ...
|
7c499c7d | 24-May-2021 |
Richard Levitte |
TEST: Add test specific fipsmodule.cnf, and use it We add the concept of preparation recipes, which are performed unconditionally. They are all expected to match the pattern test/re
TEST: Add test specific fipsmodule.cnf, and use it We add the concept of preparation recipes, which are performed unconditionally. They are all expected to match the pattern test/recipes/00-prep_*.t. We add one such preparation recipe, test/recipes/00-prep_fipsmodule_cnf.t, which helps us generate a test specific fipsmodule.cnf, to be used by all other tests. Fixes #15166 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15436)
show more ...
|
f5657ce8 | 24-May-2021 |
Richard Levitte |
Build file templates: rework FIPS module installation Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15436) |
6dd07a93 | 24-May-2021 |
Richard Levitte |
Build file templates: rework how general dependencies are computed For some types of targets, we pretty much know what kinds of files all the dependencies are. For some, however, we can
Build file templates: rework how general dependencies are computed For some types of targets, we pretty much know what kinds of files all the dependencies are. For some, however, we can't assume anything, and are faced with dependencies in platform agnostic form. We need to find those in diverse places in %unified_info, and deduce from there how they should be converted to a platform specific form. Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15436)
show more ...
|
a2405c5f | 24-May-2021 |
Richard Levitte |
Rework how providers/fipsmodule.cnf is produced First of all, we have concluded that we can calculate the integrity checksum with a simple perl script. Second, having the produc
Rework how providers/fipsmodule.cnf is produced First of all, we have concluded that we can calculate the integrity checksum with a simple perl script. Second, having the production of providers/fipsmodule.cnf as a dependency for run_tests wasn't quite right. What we really want is to generate it as soon as a new providers/fips.so is produced. That required a small bit of fiddling with how diverse dependencies are made. Fixes #15166 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15436)
show more ...
|
bfd6b619 | 25-May-2021 |
Matt Caswell |
Ignore the threadstest_fips executable Add a new executable that isn't caught by existing .gitignore rules Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github
Ignore the threadstest_fips executable Add a new executable that isn't caught by existing .gitignore rules Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15453)
show more ...
|
4d2d4b4b | 25-May-2021 |
Tomas Mraz |
OSSL_DECODER_from_bio: Report an unsupported error when there is none When nothing was decoded and there is no error on the stack report something. Fixes #15442 Reviewe
OSSL_DECODER_from_bio: Report an unsupported error when there is none When nothing was decoded and there is no error on the stack report something. Fixes #15442 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15441)
show more ...
|
05814be8 | 25-May-2021 |
Tomas Mraz |
Add negative test cases for PEM_read_bio_PrivateKey Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15441) |
07f65429 | 24-May-2021 |
Tomas Mraz |
Fix possible infinite loop in pem_read_bio_key_decoder() There could be an infinite loop if no read happened. Fixes #15426 Reviewed-by: Paul Dale <pauli@openssl.org> (M
Fix possible infinite loop in pem_read_bio_key_decoder() There could be an infinite loop if no read happened. Fixes #15426 Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15441)
show more ...
|
b59b2f93 | 25-May-2021 |
Pauli |
test: update RSA test with current bit strengths Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl
test: update RSA test with current bit strengths Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/15428)
show more ...
|
1cf520e9 | 23-May-2021 |
Pauli |
rsa: special case the strengths of RSA with 7680 and 15360 bits Also cap the strengths for values under these two because the formula overestimates around them. The formula NIST
rsa: special case the strengths of RSA with 7680 and 15360 bits Also cap the strengths for values under these two because the formula overestimates around them. The formula NIST gives doesn't match the table also presented in IG 7.5 Partial fix for #15421 Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/15428)
show more ...
|
1ee04b79 | 25-May-2021 |
Shane Lontis |
Fix buffer overflow when generating large RSA keys in FIPS mode. A pairwise test runs only in FIPS mode. An assumption about the size of the 'to' buffer passed to RSA_private_decrypt
Fix buffer overflow when generating large RSA keys in FIPS mode. A pairwise test runs only in FIPS mode. An assumption about the size of the 'to' buffer passed to RSA_private_decrypt() was incorrect. It needs to be up to RSA_size() bytes long - so a fixed buffer of 256 bytes was not large enough. An exiting malloc has increased in size to allocate buffer space for both the encrypt and decrypt buffer. The existing test used 2080 bits which was not quite large enough to trigger the issue. A test using 3072 bits has been added. Reported by Mark Powers from Acumen. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15447)
show more ...
|
0221b080 | 17-May-2021 |
Tom Cosgrove |
Fix -static builds on master Pull in Todd Short's fix cfd7225fbb from 1.1.1, which moves the disabling of pic, threads and statics to before they are checked. Signed-off-by: Tom
Fix -static builds on master Pull in Todd Short's fix cfd7225fbb from 1.1.1, which moves the disabling of pic, threads and statics to before they are checked. Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15214)
show more ...
|
b93f6c2d | 25-May-2021 |
Pauli |
err: rename err_load_xxx_strings_int functions The new names are ossl_err_load_xxx_strings. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@ope
err: rename err_load_xxx_strings_int functions The new names are ossl_err_load_xxx_strings. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15446)
show more ...
|
9080ed21 | 24-May-2021 |
Petr Gotthard |
Fix building of test/pbetest.c The test_pkcs5_pbe() function is required twice: once `if !defined OPENSSL_NO_RC4 && !defined OPENSSL_NO_MD5` and once `if !defined OPENSSL_NO_DES && !
Fix building of test/pbetest.c The test_pkcs5_pbe() function is required twice: once `if !defined OPENSSL_NO_RC4 && !defined OPENSSL_NO_MD5` and once `if !defined OPENSSL_NO_DES && !defined OPENSSL_NO_SHA1` Hence there should be `||` between those. Currently the build fails if the first condition is false, while the second is true. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15432)
show more ...
|