swesven 6155634d3b Add the SM4 block cipher, also a no-padding option for block ciphers.
This adds an implementation of the SM4 block cipher, and operations
to encrypt and decrypt using it with CBC,ECB,CFB,OFB,CTR modes.

Also, a "no padding" option is added for AES,DES,3DES and SM4
decryption in ECB/CBC modes. This variant does not attempt to
validate the last block as being PKCS#7 padded.

This is useful, both since other padding schemes exist, and also
for decrypting data where the final block is missing.
2021-03-24 00:58:54 +01:00
..
2020-12-14 17:51:12 +00:00
2019-10-16 15:38:20 +01:00
2019-10-16 15:38:20 +01:00
2020-12-11 17:58:23 +00:00
2020-12-11 17:58:23 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-11 17:58:23 +00:00
2020-12-11 17:58:23 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2020-12-14 15:32:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 15:32:12 +00:00
2021-02-11 18:50:03 +00:00
2019-11-14 08:55:27 +00:00
2020-03-24 11:06:37 +00:00
2019-12-17 12:15:11 +00:00
2019-10-16 15:38:20 +01:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2020-12-11 17:58:23 +00:00
2021-02-09 14:14:59 +00:00
2021-02-09 14:23:02 +00:00
2020-03-12 14:41:46 +00:00
2020-12-14 17:51:12 +00:00
2020-08-17 10:40:00 +01:00
2020-03-24 11:06:37 +00:00
2019-08-23 10:56:13 +01:00
2020-03-24 11:06:37 +00:00
2020-12-11 17:58:23 +00:00
2020-12-11 17:58:23 +00:00
2020-08-19 10:55:29 +01:00
2019-10-16 15:38:20 +01:00
2020-03-24 11:06:37 +00:00
2020-12-14 17:51:12 +00:00
2021-02-01 14:42:00 +00:00
2020-12-14 17:51:12 +00:00
2020-12-14 17:51:12 +00:00
2019-07-09 13:42:42 +01:00
2020-02-13 14:17:43 +00:00
2019-10-16 15:38:20 +01:00
2020-12-11 17:58:23 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2020-03-24 11:06:37 +00:00
2019-10-16 15:38:20 +01:00
2020-12-14 17:51:12 +00:00
2019-10-16 15:38:20 +01:00
2020-12-11 16:24:39 +00:00
2019-10-18 12:58:17 +01:00
2020-03-24 11:06:37 +00:00