summaryrefslogtreecommitdiffstats
path: root/test/certs
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-06-23 12:05:07 +0100
committerMatt Caswell <matt@openssl.org>2023-06-26 09:35:01 +0100
commite64f67ed7203a61cceb7ab7f5d0b725ea5fa8884 (patch)
tree8d0d16fc182858481a6a2f79462a5079137dd964 /test/certs
parent8ebc73453746e5303d5249986e2e42e7937a67ad (diff)
Add a test for pkeyutl encrypt/decrypt using SM2
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21272) (cherry picked from commit 810f7dc1c7cc5441097b398f753e33652848a4cc)
Diffstat (limited to 'test/certs')
-rw-r--r--test/certs/sm2-pub.key4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/certs/sm2-pub.key b/test/certs/sm2-pub.key
new file mode 100644
index 0000000000..ecb6b5c2d6
--- /dev/null
+++ b/test/certs/sm2-pub.key
@@ -0,0 +1,4 @@
+-----BEGIN PUBLIC KEY-----
+MFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAEMKnjZFqe34rtSmZ7g5ALnKTPKYhM
+xEy9cpq3Kzgb7/JoTTZHm9tGrG1oBUCNszq0jPff7Fxp/azNv7rDPzJXGg==
+-----END PUBLIC KEY-----