Commit Graph

36 Commits

Author SHA1 Message Date
kkAyataka 42e1d582e3 Update version description (v0.9.1.0) 2020-03-28 21:21:35 +09:00
kkAyataka e001718711 Fix removing padding data from small data decription 2020-02-24 17:46:09 +09:00
kkAyataka 041f7ac0c0 Comment 2020-02-24 11:20:19 +09:00
kkAyataka 9a05bfe538 Fix small size data (< 16) handliong of the cbc 2020-02-12 18:53:57 +09:00
kkAyataka e4839da94e Adjust for C++17 specifications
- Remove (dynamic) exception specifications
2019-08-25 21:59:07 +09:00
kkAyataka 89423e65eb Adjust expression of NULL in the reference comment 2019-08-25 21:50:47 +09:00
kkAyataka ba54d262d2 Adjust type to remove warning. 2017-01-22 22:49:01 +09:00
kkAyataka 7ca4a53c6b Adjust type to remove warning. 2017-01-22 22:29:40 +09:00
kkAyataka 3ecba3dfd1 Update version number. 2017-01-22 22:03:08 +09:00
kkAyataka be37512745 Trim trailing whitespace. 2017-01-22 22:02:36 +09:00
kkAyataka 4569e1ffe9 Rename error codes. 2016-05-14 09:12:59 +09:00
kkAyataka 6a82bc2a6a Add padding value checking.
Checks padding value and if the value is not correct,
returns invalid key error.
2016-05-14 08:42:01 +09:00
kkAyataka 406baa35c9 Remove subroutine that is called only once. 2015-10-25 11:38:14 +09:00
kkAyataka bb2cc1919d Fix incorrect data size cheking. 2015-10-24 11:22:32 +09:00
kkAyataka 51adf547e9 Fix incorrect key length checking. 2015-10-24 10:47:16 +09:00
kkAyataka 3c5e08e8bb Add comments. 2015-10-18 22:09:13 +09:00
kkAyataka e1cca3b24a Apply sub function and remove duplication. 2015-10-18 21:48:44 +09:00
kkAyataka 425f2b9f50 Remove unnecessary code. 2015-10-18 21:38:06 +09:00
kkAyataka 5e6155bddf Add buffer length cheking. 2015-10-18 21:35:11 +09:00
kkAyataka 2c75a3db32 Implement decrypt with CBC mode. 2015-10-18 16:44:20 +09:00
kkAyataka e66e24edca Implement encrypt with CBC mode. 2015-10-18 15:19:41 +09:00
kkAyataka 927bb2cb96 Adjust for warninga. 2015-10-18 10:16:53 +09:00
kkAyataka afab3a5bc2 Implement encrypt/decript with ECB mode functions. 2015-10-18 10:01:54 +09:00
kkAyataka 259f7584e3 Adjust function name. 2015-10-17 19:19:15 +09:00
kkAyataka d0da02cc38 Introduce kStateSize. 2015-10-17 19:17:24 +09:00
kkAyataka a9d51b65c8 Implement PKCS padding and fix cryption. 2015-10-17 18:59:38 +09:00
kkAyataka ff591d863b Add key_from_string functions. 2015-10-11 12:00:49 +09:00
kkAyataka 651688e22c Add version MACRO and function. 2015-10-11 11:15:50 +09:00
kkAyataka b66eb5e6bc Rename property name of the State. 2015-10-11 10:55:43 +09:00
kkAyataka c124a81700 Block count type is wrong.
Remove warning.
2015-10-08 21:26:30 +09:00
kkAyataka f83006556c Remove unused variables.Remove unused variables. 2015-10-08 21:25:09 +09:00
kkAyataka 76faf56170 Reimplement State and RoundKey.
Clang cannot compile the previous code.
2015-10-08 21:02:14 +09:00
kkAyataka 04d7189db3 Add exception spec. 2015-08-16 22:35:10 +09:00
kkAyataka ef2ced2b5a Add kWordSize constant and replace sizeof(Word) with it. 2015-08-16 22:07:21 +09:00
kkAyataka 88a6860980 Rename UInt32 to Word. 2015-08-16 22:04:49 +09:00
kkAyataka 450781d44e Import. 2015-08-16 21:47:56 +09:00