Skip to content

Commit

Permalink
src/torsion: add whirlpool and gost94.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Mar 7, 2020
1 parent 59e7acc commit b13c939
Show file tree
Hide file tree
Showing 14 changed files with 3,087 additions and 1,755 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ See the `./lib` directory for available modules and APIs.
| ecies | c (libtorsion¹) | c (libtorsion¹) | c (libtorsion¹) | js |
| ed25519 | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| ed448 | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| gost94 | js | js | js | js |
| gost94 | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| hash160 | c (libtorsion³) | c (libtorsion³) | c (libtorsion) | js |
| hash256 | c (libtorsion³) | c (libtorsion³) | c (libtorsion) | js |
| hash-drbg | js | js | js | js |
Expand Down Expand Up @@ -71,7 +71,7 @@ See the `./lib` directory for available modules and APIs.
| shake{128,256} | c (libtorsion¹) | c (libtorsion¹) | c (libtorsion¹) | js |
| siphash | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| ssh | js | js | js | js |
| whirlpool | js | js | js | js |
| whirlpool | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| x25519 | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |
| x448 | c (libtorsion) | c (libtorsion) | c (libtorsion) | js |

Expand All @@ -97,4 +97,4 @@ See LICENSE for more info.
[circleci-status-url]: https://circleci.com/gh/bcoin-org/bcrypto/tree/master
[libtorsion]: https://github.com/bcoin-org/libtorsion
[libsecp256k1]: https://github.com/bitcoin-core/secp256k1
[addon]: https://nodejs.org/api/addons.html
[addon]: https://nodejs.org/api/addons.html
9 changes: 9 additions & 0 deletions lib/gost94-browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*!
* gost94.js - gost94 for bcrypto
* Copyright (c) 2017-2019, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcrypto
*/

'use strict';

module.exports = require('./js/gost94');
Loading

0 comments on commit b13c939

Please sign in to comment.