diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-08-18 16:04:33 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-08-18 16:04:33 +0000 |
commit | 4e7bd025f10b79bc46a65840ff86e80c27d95e72 (patch) | |
tree | 251e82deef03899c5c032d3358b4b4da34cf4832 /lib/libcrypto | |
parent | 0345c80b40abdce37067049614d21f170e307d8c (diff) |
Import initial code for the SM2 cipher
This adds the SM2 algorithm defined in the Chinese standards
GB/T 32918.1-2016, GB/T 32918.2-2016, GB/T 32918.3-2016,
GB/T 32918.4-2016 and GB/T 32918.5-2017.
This is an ISC licensed implementation contributed by Ribose.inc, based
on the same code that was contributed to OpenSSL by Jack Lloyd. The port
to LibreSSL was done by Ronald Tse and Nickolay Olshevsky.
Github PR #105
I made quite a few cleanup passes on this, but more is needed, some
of which will happen in-tree before this is linked to the build.
ok deraadt inoguchi (a long time ago), jsing
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/sm2/sm2_sign.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/sm2/sm2_sign.c b/lib/libcrypto/sm2/sm2_sign.c index d306658a48a..67385013817 100644 --- a/lib/libcrypto/sm2/sm2_sign.c +++ b/lib/libcrypto/sm2/sm2_sign.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sm2_sign.c,v 1.1.1.1 2021/08/18 16:04:32 tb Exp $ */ +/* $OpenBSD: sm2_sign.c,v 1.1 2021/08/18 16:04:32 tb Exp $ */ /* * Copyright (c) 2017, 2019 Ribose Inc * |