From 41bd0848d38d40c872dd36e17a728b405acff4dc Mon Sep 17 00:00:00 2001 From: beck <> Date: Mon, 19 May 2025 07:53:00 +0000 Subject: Fix up MLKEM768_marshal_private_key to not use a passed in CBB Even though this should remain internal, make it the same as the public key marshal function, and make the needed fallout changes in regress. This does not yet do the bikeshed of renaming the structure field in the regress ctx, that will wait until a follow on to convert 1024 in a similar manner ok tb@ --- src/regress/lib/libcrypto/mlkem/mlkem_unittest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libcrypto/mlkem/mlkem_unittest.c') diff --git a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c index a1adc88569..ce1e797904 100644 --- a/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c +++ b/src/regress/lib/libcrypto/mlkem/mlkem_unittest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mlkem_unittest.c,v 1.8 2025/05/19 06:47:40 beck Exp $ */ +/* $OpenBSD: mlkem_unittest.c,v 1.9 2025/05/19 07:53:00 beck Exp $ */ /* * Copyright (c) 2024 Google Inc. * Copyright (c) 2024 Bob Beck @@ -205,7 +205,7 @@ mlkem768_unittest(void) .generate_key = mlkem768_generate_key, .parse_private_key = mlkem768_parse_private_key, .parse_public_key = mlkem768_parse_public_key, - .encode_private_key = mlkem768_encode_private_key, + .encode_private_key = mlkem768_marshal_private_key, .marshal_public_key = mlkem768_marshal_public_key, .public_from_private = mlkem768_public_from_private, }; -- cgit v1.2.3-55-g6feb