2ca31968 | 13-Jan-2025 |
slontis |
Add ML-DSA design document. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from
Add ML-DSA design document. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26400)
show more ...
|
61842598 | 13-Jan-2025 |
slontis |
Add ML-DSA documentation Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from htt
Add ML-DSA documentation Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26400)
show more ...
|
5a1caef9 | 21-Jan-2025 |
slontis |
ML-DSA encoder fixups Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26483) |
87728ded | 17-Jan-2025 |
slontis |
ML-DSA: Add python utility used to parse ACVP test data. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/o
ML-DSA: Add python utility used to parse ACVP test data. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451)
show more ...
|
aabb69b8 | 17-Jan-2025 |
slontis |
ML-DSA: Fix endian issue in ossl_ml_dsa_poly_sample_in_ball(). Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github
ML-DSA: Fix endian issue in ossl_ml_dsa_poly_sample_in_ball(). Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451)
show more ...
|
f9285544 | 17-Jan-2025 |
slontis |
ML-DSA: Add evp_test support for ML-DSA ACVP test vectors. The evp_test line buffer was increased to 32K to deal with the large lines required for PQ messages and signatures. The tes
ML-DSA: Add evp_test support for ML-DSA ACVP test vectors. The evp_test line buffer was increased to 32K to deal with the large lines required for PQ messages and signatures. The test data files were generated by parsing AVCP test files using a python script. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451)
show more ...
|
c848506c | 17-Jan-2025 |
slontis |
ML-DSA: Add support for dup. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451) |
2cb4b0c7 | 17-Jan-2025 |
slontis |
ML_DSA: Fix partially uninitialised hint buffer. The encoded hint data consists of omega + k bytes. The bytes at the end of omega section of the buffer may be 0, so the buffer must be cle
ML_DSA: Fix partially uninitialised hint buffer. The encoded hint data consists of omega + k bytes. The bytes at the end of omega section of the buffer may be 0, so the buffer must be cleared initially. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451)
show more ...
|
df231a88 | 10-Jan-2025 |
slontis |
Add ML_DSA encoders Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <ppzgs1@gmail.com> (Merged from https://github.com/openssl/openssl/pull/26451) |
fcffbbe1 | 06-Jan-2025 |
slontis |
ML-DSA fixups Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github
ML-DSA fixups Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26127)
show more ...
|
a2391f3a | 05-Jan-2025 |
Viktor Dukhovni |
Add ML-DSA-44 and ML-DSA-87, fix endian issues & add fixups - Make data encoding work on big-endian systems. - Fix some ML-DSA-44 specific bugs related to w1-vector bits per-c
Add ML-DSA-44 and ML-DSA-87, fix endian issues & add fixups - Make data encoding work on big-endian systems. - Fix some ML-DSA-44 specific bugs related to w1-vector bits per-coefficient, overall size and high-bits rounding. - Use "do { ... } while (pointer < end)" style consistently. - Drop redundant reference counting of provided keys. - Add parameter blocks for ML-DSA-44 and ML-DSA-87 and turn on associated provider glue. These now pass both keygen and siggen tests (to be added separately). Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26127)
show more ...
|
3ab7409f | 20-Dec-2024 |
slontis |
Add ML-DSA sign/verify Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https
Add ML-DSA sign/verify Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26127)
show more ...
|
efd7c968 | 09-Dec-2024 |
slontis |
ML_DSA: Use pointers instead of arrays for polynomials in Vectors and Matrix. A DSA_KEY when created will alloc enough space to hold its k & l vectors and then just set the vectors to po
ML_DSA: Use pointers instead of arrays for polynomials in Vectors and Matrix. A DSA_KEY when created will alloc enough space to hold its k & l vectors and then just set the vectors to point to the allocated blob. Local Vectors and Matricies can then be initialised in a similar way by passing them an array of Polnomials that are on the local stack. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26127)
show more ...
|
d3a7ae64 | 03-Dec-2024 |
slontis |
Add ML-DSA Keygen support The key generation algorithm requires a significant portion of the many algorithms present in FIPS 204. This work is derived from the BoringSSL code lo
Add ML-DSA Keygen support The key generation algorithm requires a significant portion of the many algorithms present in FIPS 204. This work is derived from the BoringSSL code located at https://boringssl.googlesource.com/boringssl/+/refs/heads/master/crypto/mldsa/mldsa.cc Instead of c++ templates it uses an ML_DSA_PARAMS object to store constants such as k & l. To perform hash operations a temporary EVP_MD_CTX object is used, which is supplied with a prefetched EVP_MD shake128 or shake256 object that reside in the ML_DSA_KEY object. The ML_DSA_KEY object stores the encoded public and/or private key whenever a key is loaded or generated. A public key is always present if the private key component exists. Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26127)
show more ...
|
5949918f | 09-Feb-2025 |
Bernd Edlinger |
Rework and simplify RCU code Use __ATOMIC_RELAXED where possible. Dont store additional values in the users field. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by
Rework and simplify RCU code Use __ATOMIC_RELAXED where possible. Dont store additional values in the users field. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26690)
show more ...
|
65787e2d | 09-Feb-2025 |
Bernd Edlinger |
Revert "rcu: Ensure that updates to the ID field of a qp don't lose refs" This reverts commit fbd34c03e3ca94d3805e97a01defdf8b6037f61c. Reviewed-by: Neil Horman <nhorman@openssl.org
Revert "rcu: Ensure that updates to the ID field of a qp don't lose refs" This reverts commit fbd34c03e3ca94d3805e97a01defdf8b6037f61c. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26690)
show more ...
|
4b4333ff | 22-Jan-2025 |
Tomas Mraz |
Test openssl ecparam -list_curves Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull
Test openssl ecparam -list_curves Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26525)
show more ...
|
8f416ba9 | 22-Jan-2025 |
Tomas Mraz |
ecparam: process -list_curves before reading input Fixes #26519 This is a regression from commit 1dbb67c4 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by
ecparam: process -list_curves before reading input Fixes #26519 This is a regression from commit 1dbb67c4 Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26525)
show more ...
|
7a8fe56d | 11-Feb-2025 |
Josh Soref <2119212+jsoref@users.noreply.github.com> |
Fix arithmetic in a comment CLA: trivial Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org>
Fix arithmetic in a comment CLA: trivial Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Paul Dale <ppzgs1@gmail.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26707)
show more ...
|
e4b899f5 | 23-Jan-2025 |
Alexey Moksyakov |
[vpsm4_ex][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/ope
[vpsm4_ex][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|
110f1afd | 23-Jan-2025 |
Alexey Moksyakov |
[vpsm4][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openss
[vpsm4][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|
1e42e76d | 22-Jan-2025 |
Alexey Moksyakov |
[sm3][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/
[sm3][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|
85a8e97a | 22-Jan-2025 |
Alexey Moksyakov |
[poly1305][aarch64] Extend address range by adrp + add Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/o
[poly1305][aarch64] Extend address range by adrp + add Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|
45579e8e | 22-Jan-2025 |
Alexey Moksyakov |
[bsaes][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openss
[bsaes][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|
15b011e0 | 22-Jan-2025 |
Alexey Moksyakov |
[chacha_sve][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/o
[chacha_sve][aarch64] Move constant to .rodata section Reviewed-by: Saša Nedvědický <sashan@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/26509)
show more ...
|