Coverity Scan: Analysis completed for openssl/openssl

2024-05-15 Thread scan-admin


Your request for analysis of openssl/openssl has been completed 
successfully.
The results are available at 
https://u15810271.ct.sendgrid.net/ls/click?upn=u001.AxU2LYlgjL6eX23u9ErQy-2BKADyCpvUKOL6EWmZljiu7On3ENqKj59w4rEawU-2BYZgjBJ8Ay1pFYeVslaCebcWhw-3D-3DQpkb_bGLyfjQQhnPAMp6Vz8xksML07NHC5l7WMnVZN7GWb6r9FcmzQ5T-2BrAiz0oeGipn-2Ff3g2Wv8qDBZuT3-2FB-2FlJlIJj8ODNsMP4-2Fs6-2BzLk1mwbA5LbBdEd-2FiDhCgLzO7DEZ35L0Tn8YymRGwueKg8-2FO9Uh4DOV5j-2FPMZItS5IkpsnUBxokAD2E0UJ8NSCjJL7UCw8lhvtx1HOYMYLtHex7i41lzKoPIilQS1FbnYBUASHFs-3D

Build ID: 613477

Analysis Summary:
   New defects found: 0
   Defects eliminated: 0



[openssl/openssl] aaa1bd: Optimizated calculation of shared power of 2 in bn...

2024-05-15 Thread Andrew Golovashevich
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: aaa1bda7187c8d920cf9e426c2cf8ec7c1c65576
  
https://github.com/openssl/openssl/commit/aaa1bda7187c8d920cf9e426c2cf8ec7c1c65576
  Author: Andrew Golovashevich 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/bn/bn_gcd.c
M include/internal/constant_time.h

  Log Message:
  ---
  Optimizated calculation of shared power of 2 in bn_gcd

Reviewed-by: Paul Dale 
Reviewed-by: Bernd Edlinger 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24332)


  Commit: a6afe2b29a7b77956ef888653849f8cc38e39106
  
https://github.com/openssl/openssl/commit/a6afe2b29a7b77956ef888653849f8cc38e39106
  Author: Andrew Golovashevich 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M test/recipes/10-test_bn_data/bngcd.txt

  Log Message:
  ---
  Additional testcases for bn_gcd

Reviewed-by: Paul Dale 
Reviewed-by: Bernd Edlinger 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24332)


Compare: https://github.com/openssl/openssl/compare/5a0c92cf093b...a6afe2b29a7b

To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] bb7edb: Update openssl-smime.pod.in

2024-05-15 Thread DominikN
  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: bb7edb6cef838eee6a2973e9625fd50c0ed3715e
  
https://github.com/openssl/openssl/commit/bb7edb6cef838eee6a2973e9625fd50c0ed3715e
  Author: DominikN 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man1/openssl-smime.pod.in

  Log Message:
  ---
  Update openssl-smime.pod.in

Remove duplicate entries for -nocerts and -noattr

CLA:trivial

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24052)

(cherry picked from commit 5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] d4b119: Update openssl-smime.pod.in

2024-05-15 Thread DominikN
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: d4b119c567cb5dcaf83add7ca2ea1d646eb3ef9f
  
https://github.com/openssl/openssl/commit/d4b119c567cb5dcaf83add7ca2ea1d646eb3ef9f
  Author: DominikN 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man1/openssl-smime.pod.in

  Log Message:
  ---
  Update openssl-smime.pod.in

Remove duplicate entries for -nocerts and -noattr

CLA:trivial

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24052)

(cherry picked from commit 5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 5a0c92: Update openssl-smime.pod.in

2024-05-15 Thread DominikN
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3
  
https://github.com/openssl/openssl/commit/5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3
  Author: DominikN 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man1/openssl-smime.pod.in

  Log Message:
  ---
  Update openssl-smime.pod.in

Remove duplicate entries for -nocerts and -noattr

CLA:trivial

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24052)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 0b49dd: Update openssl-smime.pod.in

2024-05-15 Thread DominikN
  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: 0b49dded73a51687a4b1160031647be6c2152973
  
https://github.com/openssl/openssl/commit/0b49dded73a51687a4b1160031647be6c2152973
  Author: DominikN 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man1/openssl-smime.pod.in

  Log Message:
  ---
  Update openssl-smime.pod.in

Remove duplicate entries for -nocerts and -noattr

CLA:trivial

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24052)

(cherry picked from commit 5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 2613cc: Update openssl-smime.pod.in

2024-05-15 Thread DominikN
  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: 2613ccc4e730123117e57c737b31b4984c44eea1
  
https://github.com/openssl/openssl/commit/2613ccc4e730123117e57c737b31b4984c44eea1
  Author: DominikN 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man1/openssl-smime.pod.in

  Log Message:
  ---
  Update openssl-smime.pod.in

Remove duplicate entries for -nocerts and -noattr

CLA:trivial

Reviewed-by: Paul Dale 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24052)

(cherry picked from commit 5a0c92cf093b4f0aa65f4fdbff88d7bdc83491f3)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 2f3d84: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

2024-05-15 Thread Ruslan Baratov
  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: 2f3d8493a990c6923a0f0d6a07c89f94bba7ece1
  
https://github.com/openssl/openssl/commit/2f3d8493a990c6923a0f0d6a07c89f94bba7ece1
  Author: Ruslan Baratov 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man3/SSL_CTX_set_cert_store.pod

  Log Message:
  ---
  [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

Reviewed-by: Matt Caswell 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24375)

(cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 987bae: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

2024-05-15 Thread Ruslan Baratov
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 987baef4fa54d268d7eaa93837a56398409698a1
  
https://github.com/openssl/openssl/commit/987baef4fa54d268d7eaa93837a56398409698a1
  Author: Ruslan Baratov 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man3/SSL_CTX_set_cert_store.pod

  Log Message:
  ---
  [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

Reviewed-by: Matt Caswell 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24375)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] d2b2eb: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

2024-05-15 Thread Ruslan Baratov
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: d2b2ebdbac0d588967ff4178fd1165c072e70708
  
https://github.com/openssl/openssl/commit/d2b2ebdbac0d588967ff4178fd1165c072e70708
  Author: Ruslan Baratov 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man3/SSL_CTX_set_cert_store.pod

  Log Message:
  ---
  [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

Reviewed-by: Matt Caswell 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24375)

(cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] af6f4a: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

2024-05-15 Thread Ruslan Baratov
  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: af6f4aa8d69af2626fc288b29336a2cc6adb609b
  
https://github.com/openssl/openssl/commit/af6f4aa8d69af2626fc288b29336a2cc6adb609b
  Author: Ruslan Baratov 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man3/SSL_CTX_set_cert_store.pod

  Log Message:
  ---
  [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

Reviewed-by: Matt Caswell 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24375)

(cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 13f48c: [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

2024-05-15 Thread Ruslan Baratov
  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: 13f48c129fec9c43171cf6a27877df7bdd653468
  
https://github.com/openssl/openssl/commit/13f48c129fec9c43171cf6a27877df7bdd653468
  Author: Ruslan Baratov 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M doc/man3/SSL_CTX_set_cert_store.pod

  Log Message:
  ---
  [Docs] 'SSL_CTX_set_cert_store' ownership of 'store'

Reviewed-by: Matt Caswell 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24375)

(cherry picked from commit 987baef4fa54d268d7eaa93837a56398409698a1)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 50153a: Suppress a spurious error from the sysdefault test

2024-05-15 Thread Matt Caswell
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 50153ad2bb767a6e79e5c0c569f136f723a32700
  
https://github.com/openssl/openssl/commit/50153ad2bb767a6e79e5c0c569f136f723a32700
  Author: Matt Caswell 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M test/recipes/90-test_sysdefault.t
M test/sysdefaulttest.c

  Log Message:
  ---
  Suppress a spurious error from the sysdefault test

Running the sysdefault test results in spurious error output - even
though the test has actually passed

Fixes #24383

Reviewed-by: Tom Cosgrove 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/24384)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] b911fe: Intentionally break EVP_DigestFinal for SHAKE128 a...

2024-05-15 Thread Tomáš Mráz
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b911fef216d1386210ec24e201d54d709528abb4
  
https://github.com/openssl/openssl/commit/b911fef216d1386210ec24e201d54d709528abb4
  Author: Tomas Mraz 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/evp/digest.c
M crypto/sha/sha3.c
M include/internal/sha3.h
M providers/implementations/digests/sha3_prov.c
M test/evp_xof_test.c
M test/recipes/20-test_dgst.t

  Log Message:
  ---
  Intentionally break EVP_DigestFinal for SHAKE128 and SHAKE256

It will work only if OSSL_DIGEST_PARAM_XOFLEN is set.

Reviewed-by: Paul Dale 
Reviewed-by: Shane Lontis 
(Merged from https://github.com/openssl/openssl/pull/24105)


  Commit: ad3f28c5fbd5dcbc763a650313fd666b0e339cca
  
https://github.com/openssl/openssl/commit/ad3f28c5fbd5dcbc763a650313fd666b0e339cca
  Author: Tomas Mraz 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M CHANGES.md
M doc/man7/EVP_MD-SHAKE.pod

  Log Message:
  ---
  Document that SHAKE-128 and SHAKE-256 have no default digest length

Reviewed-by: Paul Dale 
Reviewed-by: Shane Lontis 
(Merged from https://github.com/openssl/openssl/pull/24105)


Compare: https://github.com/openssl/openssl/compare/170620675dfd...ad3f28c5fbd5

To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] fa0308: fix sm2 encryption implementation bug.

2024-05-15 Thread Liu-ErMeng
  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: fa03085f26f4c08164f1eea21d0cdc1beb89b38c
  
https://github.com/openssl/openssl/commit/fa03085f26f4c08164f1eea21d0cdc1beb89b38c
  Author: Liu-Ermeng 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/sm2/sm2_crypt.c

  Log Message:
  ---
  fix sm2 encryption implementation bug.

According to the "GB/T 32918.4-2016"
section 6.1 encryption, step A5:
If result of the "KDF" is all zeros, we should go back to
the begin(step A1).

section 7.1 decryption, step B4:
If result of the "KDF" is all zeros, we should raise error and exit.

Signed-off-by: Liu-Ermeng 

Reviewed-by: Neil Horman 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/23210)

(cherry picked from commit 170620675dfd74f34bdcf8aba71dffeb07f3d533)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 96390f: fix sm2 encryption implementation bug.

2024-05-15 Thread Liu-ErMeng
  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 96390f92c6b62d2b69bd2861c6b78c1ae2cfb0cb
  
https://github.com/openssl/openssl/commit/96390f92c6b62d2b69bd2861c6b78c1ae2cfb0cb
  Author: Liu-Ermeng 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/sm2/sm2_crypt.c

  Log Message:
  ---
  fix sm2 encryption implementation bug.

According to the "GB/T 32918.4-2016"
section 6.1 encryption, step A5:
If result of the "KDF" is all zeros, we should go back to
the begin(step A1).

section 7.1 decryption, step B4:
If result of the "KDF" is all zeros, we should raise error and exit.

Signed-off-by: Liu-Ermeng 

Reviewed-by: Neil Horman 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/23210)

(cherry picked from commit 170620675dfd74f34bdcf8aba71dffeb07f3d533)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] c54efe: fix sm2 encryption implementation bug.

2024-05-15 Thread Liu-ErMeng
  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: c54efee90a60188a16ce18f927644d6505ecfd10
  
https://github.com/openssl/openssl/commit/c54efee90a60188a16ce18f927644d6505ecfd10
  Author: Liu-Ermeng 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/sm2/sm2_crypt.c

  Log Message:
  ---
  fix sm2 encryption implementation bug.

According to the "GB/T 32918.4-2016"
section 6.1 encryption, step A5:
If result of the "KDF" is all zeros, we should go back to
the begin(step A1).

section 7.1 decryption, step B4:
If result of the "KDF" is all zeros, we should raise error and exit.

Signed-off-by: Liu-Ermeng 

Reviewed-by: Neil Horman 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/23210)

(cherry picked from commit 170620675dfd74f34bdcf8aba71dffeb07f3d533)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] e5581b: fix sm2 encryption implementation bug.

2024-05-15 Thread Liu-ErMeng
  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: e5581e95570fb11ae37c11b97d8d475c86d4
  
https://github.com/openssl/openssl/commit/e5581e95570fb11ae37c11b97d8d475c86d4
  Author: Liu-Ermeng 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/sm2/sm2_crypt.c

  Log Message:
  ---
  fix sm2 encryption implementation bug.

According to the "GB/T 32918.4-2016"
section 6.1 encryption, step A5:
If result of the "KDF" is all zeros, we should go back to
the begin(step A1).

section 7.1 decryption, step B4:
If result of the "KDF" is all zeros, we should raise error and exit.

Signed-off-by: Liu-Ermeng 

Reviewed-by: Neil Horman 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/23210)

(cherry picked from commit 170620675dfd74f34bdcf8aba71dffeb07f3d533)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications


[openssl/openssl] 170620: fix sm2 encryption implementation bug.

2024-05-15 Thread Liu-ErMeng
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 170620675dfd74f34bdcf8aba71dffeb07f3d533
  
https://github.com/openssl/openssl/commit/170620675dfd74f34bdcf8aba71dffeb07f3d533
  Author: Liu-Ermeng 
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
M crypto/sm2/sm2_crypt.c

  Log Message:
  ---
  fix sm2 encryption implementation bug.

According to the "GB/T 32918.4-2016"
section 6.1 encryption, step A5:
If result of the "KDF" is all zeros, we should go back to
the begin(step A1).

section 7.1 decryption, step B4:
If result of the "KDF" is all zeros, we should raise error and exit.

Signed-off-by: Liu-Ermeng 

Reviewed-by: Neil Horman 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/23210)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications