diff options
author | Johnny Hsieh <32300164+mnixry@users.noreply.github.com> | 2023-12-29 21:56:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-29 10:56:29 -0300 |
commit | 91541cf726e0e9144155b6c92c5cd92f4661a4ac (patch) | |
tree | 0599bedc4230c8aadd58185481e80bb195f4aec2 /docs | |
parent | d911018f0141358a7d752201bf1d92a9873d0a02 (diff) | |
download | pyca-cryptography-91541cf726e0e9144155b6c92c5cd92f4661a4ac.zip pyca-cryptography-91541cf726e0e9144155b6c92c5cd92f4661a4ac.tar.gz pyca-cryptography-91541cf726e0e9144155b6c92c5cd92f4661a4ac.tar.bz2 |
Add support for GCM mode of SM4 cipher (#10072)
* Add support for SM4-GCM cipher
ref: #7503
ref: https://github.com/openssl/openssl/issues/13667
* Update SM4 GCM tests to use external test vector
* Cite SM4 test vectors sources in document
* Add tests for SM4ModeGCM finalize_with_tag
* Update CHANGELOG.rst
Diffstat (limited to 'docs')
-rw-r--r-- | docs/development/test-vectors.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/development/test-vectors.rst b/docs/development/test-vectors.rst index a0a0261..73eaeb5 100644 --- a/docs/development/test-vectors.rst +++ b/docs/development/test-vectors.rst @@ -969,6 +969,8 @@ Symmetric ciphers * SEED (CBC) from :rfc:`4196`. * SEED (CFB, OFB) generated by this project. See: :doc:`/development/custom-vectors/seed` +* SM4 (CBC, CFB, CTR, ECB, OFB) from `draft-ribose-cfrg-sm4-10`_. +* SM4 (GCM) from :rfc:`8998`. Two factor authentication ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1046,6 +1048,7 @@ header format (substituting the correct information): .. _`GnuTLS example keys`: https://gitlab.com/gnutls/gnutls/-/commit/ad2061deafdd7db78fd405f9d143b0a7c579da7b .. _`NESSIE IDEA vectors`: https://www.cosic.esat.kuleuven.be/nessie/testvectors/bc/idea/Idea-128-64.verified.test-vectors .. _`NESSIE`: https://en.wikipedia.org/wiki/NESSIE +.. _`draft-ribose-cfrg-sm4-10`: https://tools.ietf.org/html/draft-ribose-cfrg-sm4-10 .. _`Ed25519 website`: https://ed25519.cr.yp.to/software.html .. _`NIST SP-800-38B`: https://csrc.nist.gov/publications/detail/sp/800-38b/archive/2005-05-01 .. _`NIST PKI Testing`: https://csrc.nist.gov/Projects/PKI-Testing |