Jacek Sieka
28ca8c6d28
Fix out-of-bounds array accesses
...
See https://github.com/nim-lang/Nim/issues/20987
2022-12-01 16:39:34 +01:00
Eugene Kabanov
24e006df85
Refactor actions ci. ( #58 )
...
* Initial commit.
* Fix nim_branch.
* Fix bootstrap scripts.
* Fix git checkout.
* Add compiler's version dump.
* Add schedule job every day at 22:25 UTC.
* Change schedule to 23:00 UTC.
* Fix issue.
* Attempt to fix cron issue.
* Fix pull_request.
* Recover.
* Revert to previous version.
2022-07-06 02:24:18 +03:00
Eugene Kabanov
b41129f955
Refactor sysrand to remove `result` usage and fix style check issues. ( #57 )
...
* Refactor sysrand to remove `result` usage and fix style check issues.
* Fix duplicated imports.
2022-07-05 15:33:37 +03:00
tersec
4a0633dc0b
use "openArray" instead of "openarray" for stylecheck ( #55 )
2022-07-05 13:33:21 +03:00
Eugene Kabanov
a5742a9a21
Use Github Actions instead of Travis & Appveyor. ( #52 )
...
* Add Github Actions CI instead of Travis and Appveyor.
2021-06-19 02:28:08 +03:00
cheatfate
cd68990103
Fix scrypt compilation problems.
...
Remove Travis CI badge.
2021-06-18 15:03:01 +03:00
Andreas Rumpf
b602bd469b
enable --gc:orc testing ( #49 )
2021-02-25 18:52:26 +02:00
Eugene Kabanov
a065c17418
Fix Nim v1.0.x compilation problems ( #47 )
...
* Fix #46 .
* Bump version to 0.5.4.
* Disable Travis cache.
* Fix travis cache problems.
2020-09-07 17:51:33 +03:00
Eugene Kabanov
78b53fa70d
Increase algorithms performance with {.noinit.} pragma. ( #45 )
...
* Increase algorithms performance with {.noinit.} pragma in most used places.
Refactor pbkdf2.nim a bit.
Bump version to 0.5.3.
* Refactor onebyte.
2020-08-19 14:50:18 +03:00
Eugene Kabanov
a95a27e7b5
Implementation of constant-time hexadecimal conversion. ( #44 )
...
* Implementation of constant-time hexadecimal conversion.
* Hexadecimal conversions not raising exception anymore.
* Bump version to 0.5.2.
2020-08-03 18:00:05 +03:00
andri lim
029a1f0f1e
implement scrypt kdf and it's tests suite ( #41 )
...
* implement scrypt kdf and it's tests suite
* fix typo and misc
* bump version to 0.5.1
* prevent OOM in appveyor 32 bit
* remove unnecessary exceptions
* fix missing pbkdf ctx
* scrypt mimicking pbkdf2 API
* compile time scrypt
* remove allocation and macros from scrypt
* fix copyright header in scrypt.nim
2020-08-02 19:20:42 +03:00
Eugene Kabanov
8fdf6bde7a
Constant-time implementation of AES. ( #43 )
2020-08-02 19:13:13 +03:00
cheatfate
f767595f4d
Remove unnecessary allocations.
2020-07-11 09:26:43 +03:00
cheatfate
42e4f2f2c3
Bump version to 0.5.0.
2020-07-10 19:58:41 +03:00
Eugene Kabanov
9ab5e2c6fa
Big block cipher and block cipher modes refactoring ( #40 )
...
Big block cipher and block cipher modes refactoring
2020-07-10 18:08:55 +03:00
Eugene Kabanov
30d0ceaba0
Change Defect to ValueError. ( #38 )
...
* Change Defect to ValueError.
* Fix runtime error.
* Cleanup.
* Fix review comment.
2020-04-09 23:36:50 +03:00
cheatfate
cd58cf69a0
Fix travis.yml.
2020-04-07 00:32:29 +03:00
cheatfate
db5d37c237
Fix appveyor.yml script.
2020-04-06 22:23:23 +03:00
cheatfate
001e28f738
Fix MDigest.`==` bug.
...
Bump version to 0.4.11.
2020-04-06 21:02:04 +03:00
cheatfate
04f933314c
Fix Blake2 context not being exported.
...
Bump version to 0.4.10.
2020-02-24 21:07:06 +02:00
cheatfate
71b41764ae
Add tests for empty update().
2019-12-03 02:31:40 +02:00
cheatfate
3da1303d01
Fix SHA1.update([]) issue.
...
Bump version to 0.4.9.
2019-12-02 22:12:00 +02:00
cheatfate
e50298c7ac
Merge branch 'master' of github.com:cheatfate/nimcrypto
2019-11-27 18:46:29 +02:00
cheatfate
4402703da8
Fix #33 .
...
Bump version to 0.4.8.
2019-11-27 18:45:59 +02:00
Eugene Kabanov
2a2914eb21
Merge pull request #31 from bitcartel/fix_hash
...
Fix hash in documentation
2019-11-22 17:56:41 +02:00
cheatfate
bee53bf4ee
Change ROR/ROL procedures to become templates, to increase performance in debug mode.
...
Bump version to 0.4.7.
2019-11-22 17:52:00 +02:00
cheatfate
7b5a09e941
blake2: Remove redundant constants.
...
Bump version to 0.4.6.
2019-11-15 10:16:35 +02:00
Simon
d598f6d4ce
Fix hash in documentation
2019-11-02 20:37:01 -07:00
cheatfate
2bbf7c3c01
Fix last compilation warnings left.
2019-10-29 18:54:30 +02:00
cheatfate
2ce67c04ee
Fix compilation warnings.
...
Remove tests/config.nims.
2019-10-29 17:43:28 +02:00
cheatfate
029b692d8a
Restore old API finish().
2019-10-22 13:38:09 +03:00
cheatfate
44c2cdb7f8
Revive deprecated procedures to allow old code to migrate.
2019-10-22 13:19:12 +03:00
Eugene Kabanov
b58aa81055
Merge pull request #30 from cheatfate/openarray
...
Big refactoring and compile-time hashing.
2019-10-22 08:43:50 +03:00
cheatfate
5e6031127e
Fix unused os in sysrand.
2019-10-22 01:57:54 +03:00
cheatfate
32ad305786
Fix compilation warnings and export hash because of MDigest[T] in exported procedures.
2019-10-22 01:34:34 +03:00
cheatfate
7a47e89514
Big hashes/hmac/kdf refactoring to allow processing at compile-time.
2019-10-22 01:20:04 +03:00
cheatfate
628f2ee84c
Some steps forward.
2019-09-30 14:11:50 +03:00
cheatfate
9d79ad41fb
sha2 without casts.
2019-09-30 13:49:41 +03:00
cheatfate
b39523a0de
Add HMAC.reset() tests.
2019-09-23 13:02:16 +03:00
cheatfate
8c2cf43b01
Fix HMAC.reset()
2019-09-23 12:54:25 +03:00
cheatfate
07eeb7ad53
Add reset() procedure which performs reset to initial hash/hmac state.
...
Bump version to 0.4.1.
2019-09-12 23:00:06 +03:00
cheatfate
8d22cf80c5
Prepare tests for NimUnused warnings.
...
Optimize CI scripts.
Fix pbkdf2 and testkdf.
2019-09-02 13:40:46 +03:00
cheatfate
198af2e4e5
Fix nimble file.
2019-09-01 23:53:09 +03:00
cheatfate
acaa5487d8
Temporarily disable pbkdf2 tests.
2019-09-01 23:43:42 +03:00
cheatfate
a1070ec4e5
Fix CI scripts.
2019-09-01 23:21:05 +03:00
cheatfate
8a95357ddc
Add compilation flags -d:nimcryptoLowercase and -d:nimcrypto0xPrefix
...
Refactor tests and add testall.nim
2019-09-01 23:13:12 +03:00
cheatfate
e41d686539
Fix rename.
2019-08-16 18:54:49 +03:00
cheatfate
8c82c29669
Add renaming sqlite3.dll.
2019-08-16 18:50:46 +03:00
cheatfate
1323daabc9
Add new Nim deps to appveyor.yml.
2019-08-16 18:22:03 +03:00
Eugene Kabanov
b90ba3abd6
Merge pull request #23 from mratsim/skip-0x-prefix
...
Skip 0x prefix
2019-04-02 16:32:40 +03:00