From 9adf53889b7bca6f342b1d3dc856c88f777a49d7 Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 3 Mar 2025 12:40:02 +1100 Subject: [PATCH] ecx kem: add evp_test data for ECX KEM testing Reviewed-by: Tim Hudson Reviewed-by: Viktor Dukhovni (Merged from https://github.com/openssl/openssl/pull/26946) --- .../30-test_evp_data/evppkey_ecx_kem.txt | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/recipes/30-test_evp_data/evppkey_ecx_kem.txt diff --git a/test/recipes/30-test_evp_data/evppkey_ecx_kem.txt b/test/recipes/30-test_evp_data/evppkey_ecx_kem.txt new file mode 100644 index 0000000000..30f064a705 --- /dev/null +++ b/test/recipes/30-test_evp_data/evppkey_ecx_kem.txt @@ -0,0 +1,31 @@ +# +# Copyright 2025 The OpenSSL Project Authors. All Rights Reserved. +# +# Licensed under the Apache License 2.0 (the "License"). You may not use +# this file except in compliance with the License. You can obtain a copy +# in the file LICENSE in the source distribution or at +# https://www.openssl.org/source/license.html + +Title = Test ECX KEM + +Kem = X25519 +EncodedPublicKey = b3e32493b4aa40ecccbe92bbf8ce2c78f3ae7c95c747bf0b03cfb06999af0630 +Entropy = 0000000000000000000000000000000000000000000000000000000000000000 +Ciphertext = 70a736978971281065765948fb66006c898c25acd789169223ca7336cf62146f +Output = 9b96deacd3b9603908696361a774a0b7066da87e909eb8085d7725fb9b925e05 + +Kem = X25519 +EncodedPrivateKey = 88f7d1a45ab4f9cc0570537a3fc71d5eba01b45b24692d8468b50a42066c5074 +Input = 70a736978971281065765948fb66006c898c25acd789169223ca7336cf62146f +Output = 9b96deacd3b9603908696361a774a0b7066da87e909eb8085d7725fb9b925e05 + +Kem = X448 +EncodedPublicKey = 62519c19b6b8b48c596a0aa61d964b33785aeefb719649c0a623cd5b1361c12a251e17bb0cc5ecd9ae8f53851e99c9d103a56861016aff14 +Entropy = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +Ciphertext = 50d21b50b265f047de91bfbd0b41c0554c0581adc414711d48664b409e94dc1483739a3e4b29c87e2fb0a967068f7af094453c3f44018c4f +Output = 3fbf9f0a5af4f9e7a0cac9eb0fb69896a820eb83f5f17404434ab078cb5d239c37c8e4711b0b5f84de6fed0dfdce8221ccc2d10567707f2fe9f7c10b7738745e + +Kem = X448 +EncodedPrivateKey = b8ce45ae0458ae9e16009f438730b2c44e7e8c799eb1b8fc94a9ea944bd10d5b9cfb789f608bb28e9be55d00c95a6c35c902674c5c35d6fc +Input = 50d21b50b265f047de91bfbd0b41c0554c0581adc414711d48664b409e94dc1483739a3e4b29c87e2fb0a967068f7af094453c3f44018c4f +Output = 3fbf9f0a5af4f9e7a0cac9eb0fb69896a820eb83f5f17404434ab078cb5d239c37c8e4711b0b5f84de6fed0dfdce8221ccc2d10567707f2fe9f7c10b7738745e