Christophe Diederichs
|
ce5ac41ecd
|
0.6.3
|
2020-09-15 17:39:54 +02:00 |
|
Christophe Diederichs
|
a82160d51b
|
crypto_verify return booleans & add crypto_verify_64 (#33)
* crypto_verify return booleans
* can now return crypto_verify result directly
* remove redundant return values
* unpackneg check returns boolean
|
2020-09-15 17:27:39 +02:00 |
|
Christophe Diederichs
|
3c2f81c3f3
|
add js ed25519_pk_to_curve25519
|
2020-08-28 04:40:23 +02:00 |
|
Christophe Diederichs
|
3753006318
|
latest working state
|
2020-08-28 00:52:54 +02:00 |
|
Mathias Buus
|
a546f3e51d
|
0.6.2
|
2020-08-12 15:40:16 +02:00 |
|
Emil Bay
|
a338ae9f9d
|
Missing helpers (#24)
* Detach buffers by sending to an empty message channel
* Move helpers out
* fix import
* export helpers
* Try browser testing
* messagechannel check
* xvfb-run --auto-servernum npm run test-browser fails weirdly on ci, removing
Co-authored-by: Mathias Buus <mathiasbuus@gmail.com>
|
2020-08-12 15:39:14 +02:00 |
|
Christophe Diederichs
|
e4693065fd
|
update dependencies
|
2020-07-13 14:53:38 +02:00 |
|
Christophe Diederichs
|
44e5985630
|
change to universal hashes
|
2020-07-13 14:53:38 +02:00 |
|
Christophe Diederichs
|
65639e537e
|
remove old files
|
2020-07-08 15:30:13 +02:00 |
|
Christophe Diederichs
|
3dfe6daec0
|
add invert, pow22523 wat files
|
2020-07-08 15:28:32 +02:00 |
|
Christophe Diederichs
|
885541ad1f
|
rename to fe25519_mul.wat
|
2020-07-07 17:05:18 +02:00 |
|
Christophe Diederichs
|
e5dff8b785
|
move wasm modules into individual files
|
2020-07-07 17:03:16 +02:00 |
|
Christophe Diederichs
|
8c23d7a3af
|
save working state
|
2020-07-02 17:19:58 +02:00 |
|
Christophe Diederichs
|
3ecb669b6f
|
tests for ed25519 wasm methods
|
2020-06-26 10:16:35 +02:00 |
|
Christophe Diederichs
|
f1537df1e0
|
crypto_sign and crypto_scalarmult with webassembly curve arithmetic added
|
2020-06-26 10:16:14 +02:00 |
|
Emil Bay
|
f11ff5a727
|
0.6.1
|
2020-06-24 16:30:16 +02:00 |
|
Emil Bay
|
9c30d3ead8
|
Nicer message formatting
|
2020-06-24 16:14:52 +02:00 |
|
Emil Bay
|
ddcdae69a1
|
Upgrade secretbox to sodium-native like api (not exposed there)
|
2020-06-24 16:12:12 +02:00 |
|
Emil Bay
|
80dd633012
|
Upgrade onetimeauth to sodium-native api
|
2020-06-24 16:11:56 +02:00 |
|
Emil Bay
|
d8d59d0443
|
Add note on sodium-universal
|
2020-06-24 15:06:54 +02:00 |
|
Emil Bay
|
ef00ddc878
|
Fix URLs
|
2020-06-24 15:06:48 +02:00 |
|
Emil Bay
|
cc52e58504
|
Update package metadata
|
2020-06-24 15:02:49 +02:00 |
|
Emil Bay
|
7b518f7b2c
|
Fix offset ArrayBuffer views
|
2020-06-24 15:01:10 +02:00 |
|
Emil Bay
|
74a1067746
|
Fix filling larger width TypedArrays
|
2020-06-24 14:55:46 +02:00 |
|
Emil Bay
|
919896d2bb
|
Revert accidental sign API change
|
2020-06-24 14:49:51 +02:00 |
|
Emil Bay
|
f3a80cb6f5
|
Upgrade deps
|
2020-06-24 14:49:38 +02:00 |
|
Emil Bay
|
40f9b887f4
|
Modernise example
|
2020-06-24 14:49:26 +02:00 |
|
Emil Bay
|
2ca6264f50
|
Add travis
|
2020-06-24 14:49:11 +02:00 |
|
Emil Bay
|
9d65d19e86
|
Standardize readme file
|
2020-06-24 14:49:05 +02:00 |
|
Emil Bay
|
30c3342156
|
Make linter happy
|
2020-06-24 14:08:55 +02:00 |
|
Emil Bay
|
930e77ad32
|
Move internal primitives
|
2020-06-24 14:02:00 +02:00 |
|
Emil Bay
|
e9ac929b5a
|
Move memory helpers to their own module
|
2020-06-24 14:01:48 +02:00 |
|
Emil Bay
|
e77c70ef71
|
Bust crypto in browserify
|
2020-06-24 13:37:16 +02:00 |
|
Emil Bay
|
4bb40aa43d
|
Clean up random bytes
|
2020-06-24 13:37:07 +02:00 |
|
Mathias Buus
|
fc90cbedba
|
0.6.0
|
2020-06-18 17:16:43 +02:00 |
|
Mathias Buus
|
63fb70028e
|
bump sodium-test
|
2020-06-18 17:15:53 +02:00 |
|
Mathias Buus
|
f033af88bd
|
copy -> set
|
2020-06-18 17:12:00 +02:00 |
|
Christophe Diederichs
|
b44f83f0a8
|
Split library into modules (#20)
* crypto_stream: signature change needed to modularise
* move ed25519 arithmetic to separate module
* module: poly1305
* module: crypto_scalarmult
* module: crypto_hash
* module: crypto_sign
* module: crypto_secretbox
* move verify functions to crypto_verify module
* leftover crypto_stream functions
* module: crypto_onetimeauth
* module: crypto_box
* tidy up
* require ed25519.js
* update: crypto_hash
* add chacha20; align API with PR#21
* update sha512 to wasm module
* fix bugs in crypto_sign
* be standard
* add: crypto_box_seed_keypair; alias crypto_kx methods to crypto_box
* scalarmult: import curve methods; be standard
* correction: crypto_kx is not actually an alias of crypto_box
* export _9 constant field element
* add: crypto_box_seed_keypair
* removed duplicate module.exports declaraion
* declare constants about exports
* rename memzero -> sodium-memzero
* update sodium_memzero function to arr.fill(0)
* tidy: remove legacy functions
* added: crypto_aead_chacha20poly1305_ietf methods
* listen to linter
* add assertions
* chacha: readUint32Le generalised for uint8array; aead: standard fix
* add null check on ad param
* added: sodium_memcmp
* export sodium_memcmp
* export crypto_verify module
* sodium_memcmp returns boolean
* added: sodium_is_zero
* catch syntax error
* throw if crypto_aead cannot validate, fix typo in crypto_verify
* move chacha20 alg to external module
* use Uint8Arrays instead of buffers
* change checks to assertions
* bump to chacha 1.0.3 - remove Buffer dependency
* reduce code branching, align return values with sodium-native
* add sha-wasm deps to package.json
* standard fixes
* bump chacha20 to 1.0.4: remove Buffer dep
* move crypto_hash_sha256 to module to uncouple wasm dependencies
* add endian check: all other modules require members of this set
* correct filename: crypto_hash_sha256
* export constant: crypto_hash_sha512_BYTES
|
2020-06-18 17:09:03 +02:00 |
|
Christophe Diederichs
|
596f8c8f18
|
export constant: crypto_hash_sha512_BYTES
|
2020-06-18 14:22:32 +02:00 |
|
Christophe Diederichs
|
21051f3392
|
correct filename: crypto_hash_sha256
|
2020-06-18 14:17:58 +02:00 |
|
Christophe Diederichs
|
759cec5b5a
|
add endian check: all other modules require members of this set
|
2020-06-18 14:11:22 +02:00 |
|
Christophe Diederichs
|
aa0305154f
|
move crypto_hash_sha256 to module to uncouple wasm dependencies
|
2020-06-18 14:09:12 +02:00 |
|
Christophe Diederichs
|
cb1fe07efe
|
bump chacha20 to 1.0.4: remove Buffer dep
|
2020-06-18 13:34:38 +02:00 |
|
Christophe Diederichs
|
b6201cc0f1
|
standard fixes
|
2020-06-18 11:38:44 +02:00 |
|
Christophe Diederichs
|
9d29d467e4
|
add sha-wasm deps to package.json
|
2020-06-18 11:35:47 +02:00 |
|
Christophe Diederichs
|
5473cafdfe
|
reduce code branching, align return values with sodium-native
|
2020-06-18 11:12:35 +02:00 |
|
Christophe Diederichs
|
d2d84df55e
|
bump to chacha 1.0.3 - remove Buffer dependency
|
2020-06-17 17:29:37 +02:00 |
|
Christophe Diederichs
|
fdfc09a157
|
change checks to assertions
|
2020-06-17 17:27:28 +02:00 |
|
Christophe Diederichs
|
d626fb2ca5
|
use Uint8Arrays instead of buffers
|
2020-06-17 17:26:50 +02:00 |
|
Christophe Diederichs
|
b6b39638cf
|
move chacha20 alg to external module
|
2020-06-17 15:07:17 +02:00 |
|