[openssl/openssl] f5eac2: list: add a doubly linked list type.

2022-09-04 Thread Pauli
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: f5eac259a03c68c96c77f9b998b1b9c16a8439e7
  
https://github.com/openssl/openssl/commit/f5eac259a03c68c96c77f9b998b1b9c16a8439e7
  Author: Pauli 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
A doc/internal/man3/DEFINE_LIST_OF.pod
A include/internal/list.h
M test/build.info
A test/list_test.c
A test/recipes/02-test_list.t

  Log Message:
  ---
  list: add a doubly linked list type.

These list can be embedded into structures and structures can be members of
multiple lists.  Moreover, this is done without dynamic memory allocation.
That is, this is legal:

typedef struct item_st ITEM;

struct item_st {
...
OSSL_LIST_MEMBER(new_items, ITEM);
OSSL_LIST_MEMBER(failed_items, ITEM);
...
};

DEFINE_LIST_OF(new_items, TESTL);
DEFINE_LIST_OF(failed_items, TESTL);

struct {
...
OSSL_LIST(new_items) new;
OSSL_LIST(failed_items) failed;
...
} *st;

ITEM *p;

for (p = ossl_list_new_items_head(&st->new); p != NULL;
 p = ossl_list_new_items_next(p))
/* do something */

Reviewed-by: Shane Lontis 
Reviewed-by: Richard Levitte 
Reviewed-by: Tomas Mraz 
(Merged from https://github.com/openssl/openssl/pull/19115)




Coverity Scan: Analysis completed for openssl/openssl

2022-09-04 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=HRESupC-2F2Czv4BOaCWWCy7my0P0qcxCbhZ31OYv50yoN-2BQSVjTtaSz8wS4wOr7HlekBtV1P4YRtWclMVkCdvAA-3D-3Dlowa_MulOTlHne1IxTRELXXnGni8d68xSVF-2BUCe3a7Ux-2BjeE-2FQaM72HTVIARtvWQd9Gh-2FW2qFBGXt0bE4mKr-2B443980k9zyNh-2F3Kg8Au3R3YsJ7pbAozgnOYNmnzao0AZNyP9H3EtsjpYRBIR57R8AkJDqrUhpCtS-2BsLW3l-2BfYYQrhXXbXReuVexNhZ-2FJ8D5rya2-2Fl7x0YXlR0w-2BvI0NcHxNSONOagB3-2Bkaf0QhsZAPJ6XAw-3D

Build ID: 477814

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



[openssl/openssl] b1b889: Add AES implementation in riscv32 zkn asm

2022-09-04 Thread Zenithal
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: b1b889d1b3fc92a56ead5536bee06f3415b78482
  
https://github.com/openssl/openssl/commit/b1b889d1b3fc92a56ead5536bee06f3415b78482
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
A crypto/aes/asm/aes-riscv32-zkn.pl

  Log Message:
  ---
  Add AES implementation in riscv32 zkn asm

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


  Commit: 42ee6e7be43c57136d71e5612fed22a06f7f5d0e
  
https://github.com/openssl/openssl/commit/42ee6e7be43c57136d71e5612fed22a06f7f5d0e
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M Configurations/10-main.conf

  Log Message:
  ---
  Add linux32-riscv32/BSD-riscv32 target

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


  Commit: 61170642b1ad084ae4f52e43d39c5c1e471b323a
  
https://github.com/openssl/openssl/commit/61170642b1ad084ae4f52e43d39c5c1e471b323a
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M crypto/build.info
A crypto/riscv32cpuid.pl

  Log Message:
  ---
  Add RISC-V 32 cpuid support

Mainly from #17640

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


  Commit: b733ce73a423b99c0354b42e268216e0656e556b
  
https://github.com/openssl/openssl/commit/b733ce73a423b99c0354b42e268216e0656e556b
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M crypto/aes/build.info

  Log Message:
  ---
  add build support for riscv32 aes zkn

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


  Commit: cbb15b31b98f47276cf9e87453831d96274baf66
  
https://github.com/openssl/openssl/commit/cbb15b31b98f47276cf9e87453831d96274baf66
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M include/crypto/aes_platform.h

  Log Message:
  ---
  aes_platform: add riscv32 zkn asm support

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


  Commit: 5ccee69b1384fa9377986a6f7730e0d9a372b42b
  
https://github.com/openssl/openssl/commit/5ccee69b1384fa9377986a6f7730e0d9a372b42b
  Author: Hongren (Zenithal) Zheng 
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
M providers/implementations/ciphers/cipher_aes_ccm_hw.c
A providers/implementations/ciphers/cipher_aes_ccm_hw_rv32i_zknd_zkne.inc
M providers/implementations/ciphers/cipher_aes_gcm_hw.c
A providers/implementations/ciphers/cipher_aes_gcm_hw_rv32i_zknd_zkne.inc
M providers/implementations/ciphers/cipher_aes_hw.c
A providers/implementations/ciphers/cipher_aes_hw_rv32i_zknd_zkne.inc
M providers/implementations/ciphers/cipher_aes_ocb_hw.c
M providers/implementations/ciphers/cipher_aes_xts_hw.c

  Log Message:
  ---
  provider: cipher: aes: add riscv32 zkn (zbkb) support

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


Compare: https://github.com/openssl/openssl/compare/3e139f3d8539...5ccee69b1384