Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/26451)
* https://www.openssl.org/source/license.html
*/
+#include <openssl/byteorder.h>
#include "ml_dsa_local.h"
#include "ml_dsa_vector.h"
#include "ml_dsa_matrix.h"
* grab the first 64 bits - since tau < 64
* Each bit gives a +1 or -1 value.
*/
- memcpy(&signs, block, 8);
+ OPENSSL_load_u64_le(&signs, block);
poly_zero(out_c);