summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Yang <kaishen.yy@antfin.com>2019-07-30 23:05:44 +0800
committerPaul Yang <kaishen.yy@antfin.com>2019-08-22 10:29:28 +0800
commita45eb7e8918f055115e0a1f206f8b74a2ed06dc6 (patch)
tree9a77fbfe998f92c122df0f914c9b09dd57be3216 /doc
parente1178600cc5d40b1e21c4a01d224afd2d8c7498a (diff)
Support parsing of SM2 ID in hexdecimal
The current EVP_PEKY_ctrl for SM2 has no capability of parsing an ID input in hexdecimal. The newly added ctrl string is called: sm2_hex_id Test cases and documentation are updated. Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9584)
Diffstat (limited to 'doc')
-rw-r--r--doc/man1/pkeyutl.pod7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/man1/pkeyutl.pod b/doc/man1/pkeyutl.pod
index 3a7f31b894..1829435f5b 100644
--- a/doc/man1/pkeyutl.pod
+++ b/doc/man1/pkeyutl.pod
@@ -341,6 +341,13 @@ This sets the ID string used in SM2 sign or verify operations. While verifying
an SM2 signature, the ID string must be the same one used when signing the data.
Otherwise the verification will fail.
+=item B<sm2_hex_id:hex_string>
+
+This sets the ID string used in SM2 sign or verify operations. While verifying
+an SM2 signature, the ID string must be the same one used when signing the data.
+Otherwise the verification will fail. The ID string provided with this option
+should be a valid hexadecimal value.
+
=back
=head1 EXAMPLES