summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regress/lib/libcrypto/evp/evp_ecx_test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/regress/lib/libcrypto/evp/evp_ecx_test.c b/src/regress/lib/libcrypto/evp/evp_ecx_test.c
index c0beb55425..b28378b9b4 100644
--- a/src/regress/lib/libcrypto/evp/evp_ecx_test.c
+++ b/src/regress/lib/libcrypto/evp/evp_ecx_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_ecx_test.c,v 1.4 2022/11/23 22:52:25 tb Exp $ */ 1/* $OpenBSD: evp_ecx_test.c,v 1.5 2023/03/02 20:04:42 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -24,7 +24,7 @@
24 24
25#include "curve25519_internal.h" 25#include "curve25519_internal.h"
26 26
27static const uint8_t ed25519_priv_key_1[] = \ 27static const uint8_t ed25519_priv_key_1[] =
28 "-----BEGIN PRIVATE KEY-----\n" 28 "-----BEGIN PRIVATE KEY-----\n"
29 "MC4CAQAwBQYDK2VwBCIEIIkDg89yB70IpUXsAZieCcCDE2ig9nin9JJWpDQoCup8\n" 29 "MC4CAQAwBQYDK2VwBCIEIIkDg89yB70IpUXsAZieCcCDE2ig9nin9JJWpDQoCup8\n"
30 "-----END PRIVATE KEY-----\n"; 30 "-----END PRIVATE KEY-----\n";
@@ -36,7 +36,7 @@ const uint8_t ed25519_raw_priv_key_1[] = {
36 0x92, 0x56, 0xa4, 0x34, 0x28, 0x0a, 0xea, 0x7c, 36 0x92, 0x56, 0xa4, 0x34, 0x28, 0x0a, 0xea, 0x7c,
37}; 37};
38 38
39static const uint8_t ed25519_pub_key_1[] = \ 39static const uint8_t ed25519_pub_key_1[] =
40 "-----BEGIN PUBLIC KEY-----\n" 40 "-----BEGIN PUBLIC KEY-----\n"
41 "MCowBQYDK2VwAyEA1vxPpbnoC7G8vFmRjYVXUU2aln3hUZEgfW1atlTHF/o=\n" 41 "MCowBQYDK2VwAyEA1vxPpbnoC7G8vFmRjYVXUU2aln3hUZEgfW1atlTHF/o=\n"
42 "-----END PUBLIC KEY-----\n"; 42 "-----END PUBLIC KEY-----\n";
@@ -66,7 +66,7 @@ static const uint8_t signature_1[] = {
66 0x33, 0x6b, 0xf3, 0x57, 0x93, 0xd4, 0xc1, 0x07, 66 0x33, 0x6b, 0xf3, 0x57, 0x93, 0xd4, 0xc1, 0x07,
67}; 67};
68 68
69static const uint8_t x25519_priv_key_1[] = \ 69static const uint8_t x25519_priv_key_1[] =
70 "-----BEGIN PRIVATE KEY-----\n" 70 "-----BEGIN PRIVATE KEY-----\n"
71 "MC4CAQAwBQYDK2VuBCIEICi6rzFFJb02mi6sopELeshEi2vr68ul4bzEHPOz+K1o\n" 71 "MC4CAQAwBQYDK2VuBCIEICi6rzFFJb02mi6sopELeshEi2vr68ul4bzEHPOz+K1o\n"
72 "-----END PRIVATE KEY-----\n"; 72 "-----END PRIVATE KEY-----\n";
@@ -78,7 +78,7 @@ const uint8_t x25519_raw_priv_key_1[] = {
78 0xbc, 0xc4, 0x1c, 0xf3, 0xb3, 0xf8, 0xad, 0x68, 78 0xbc, 0xc4, 0x1c, 0xf3, 0xb3, 0xf8, 0xad, 0x68,
79}; 79};
80 80
81static const uint8_t x25519_pub_key_1[] = \ 81static const uint8_t x25519_pub_key_1[] =
82 "-----BEGIN PUBLIC KEY-----\n" 82 "-----BEGIN PUBLIC KEY-----\n"
83 "MCowBQYDK2VuAyEAu4WHXnAQL2YfonJhuoEO9PM2WwXjveApPmCXSiDnf1M=\n" 83 "MCowBQYDK2VuAyEAu4WHXnAQL2YfonJhuoEO9PM2WwXjveApPmCXSiDnf1M=\n"
84 "-----END PUBLIC KEY-----\n"; 84 "-----END PUBLIC KEY-----\n";
@@ -90,7 +90,7 @@ static const uint8_t x25519_raw_pub_key_1[] = {
90 0x3e, 0x60, 0x97, 0x4a, 0x20, 0xe7, 0x7f, 0x53, 90 0x3e, 0x60, 0x97, 0x4a, 0x20, 0xe7, 0x7f, 0x53,
91}; 91};
92 92
93static const uint8_t x25519_priv_key_2[] = \ 93static const uint8_t x25519_priv_key_2[] =
94 "-----BEGIN PRIVATE KEY-----\n" 94 "-----BEGIN PRIVATE KEY-----\n"
95 "MC4CAQAwBQYDK2VuBCIEIAg9Jbp/Ma0TO4r179WGGiv+VnGxGNRh4VNrHUij7Ql/\n" 95 "MC4CAQAwBQYDK2VuBCIEIAg9Jbp/Ma0TO4r179WGGiv+VnGxGNRh4VNrHUij7Ql/\n"
96 "-----END PRIVATE KEY-----\n"; 96 "-----END PRIVATE KEY-----\n";
@@ -102,7 +102,7 @@ static const uint8_t x25519_raw_priv_key_2[] = {
102 0x53, 0x6b, 0x1d, 0x48, 0xa3, 0xed, 0x09, 0x7f, 102 0x53, 0x6b, 0x1d, 0x48, 0xa3, 0xed, 0x09, 0x7f,
103}; 103};
104 104
105static const uint8_t x25519_pub_key_2[] = \ 105static const uint8_t x25519_pub_key_2[] =
106 "-----BEGIN PUBLIC KEY-----\n" 106 "-----BEGIN PUBLIC KEY-----\n"
107 "MCowBQYDK2VuAyEABvksGQRgsUXEK5CaniVZ59pPvDoABgBSdAM+EF0Q9Cw=\n" 107 "MCowBQYDK2VuAyEABvksGQRgsUXEK5CaniVZ59pPvDoABgBSdAM+EF0Q9Cw=\n"
108 "-----END PUBLIC KEY-----\n"; 108 "-----END PUBLIC KEY-----\n";