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:28:23 +0100
commit810f7dc1c7cc5441097b398f753e33652848a4cc (patch)
tree22ad17594e489c7bf713e09ff584679df90ab37d /test/certs
parent849450746f38a5658ef783abb0a8c79ae2861464 (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)
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-----