Commit Graph

184 Commits

Author SHA1 Message Date
Christophe Diederichs
64089d1fca add crypto_tweak api 2023-05-23 18:21:23 +01:00
Christophe Diederichs
c428394bb6 fix minor api mismatch 2023-05-23 17:28:44 +01:00
Christophe Diederichs
713becb400 Merge branch 'master' into curve 2023-05-23 17:13:50 +01:00
Christophe Diederichs
5dfe656dc5 ad tweak to ed-wasm test 2023-05-23 16:44:50 +01:00
Christophe Diederichs
081ca46654 use wasm implementations 2023-05-23 16:44:24 +01:00
Christophe Diederichs
f19e6c8172
Deprecate sodium-test (#68)
* deprecate sodium-test ahrness

* prune dependencies
2023-05-23 17:16:13 +02:00
Christophe Diederichs
facf602fdc add randombytes_buf_deterministic 2022-11-21 17:17:47 +00:00
Christophe Diederichs
ee481d0096 typo fixes in crypto_box and crypto_aead 2022-11-21 17:17:09 +00:00
Christophe Diederichs
4a97dfeebe fe25519_25 standard fixes 2022-11-21 17:16:35 +00:00
Christophe Diederichs
dbc8196148 add fe25519_25 constants 2022-11-21 17:16:13 +00:00
Christophe Diederichs
056b13362b add crypto_sign ed to curve25519 methods 2022-11-21 16:49:58 +00:00
Christophe Diederichs
f62c993d48 crypto_sign_keypair_seed typo 2022-11-21 16:46:00 +00:00
Christophe Diederichs
2f4480f2f1 scalarmult fixes 2022-11-21 13:13:52 +00:00
Christophe Diederichs
d6869faa13 add ristretto methods 2022-11-21 13:12:30 +00:00
Christophe Diederichs
b619401719 standard fix crypto_core 2022-11-21 13:11:59 +00:00
Christophe Diederichs
52d5899c54 crypto_core fixes 2022-11-18 12:21:38 +00:00
Christophe Diederichs
919353ba53 fe25519_25 fix imports and exports 2022-11-18 12:20:21 +00:00
Christophe Diederichs
7cad891d0e ge25519_from_uniform fix 2022-11-18 12:18:32 +00:00
Christophe Diederichs
bfa677d67f add crypto_sign keypair methods 2022-11-18 08:59:20 +00:00
Christophe Diederichs
37c8f2db79 fix scalarmult exports 2022-11-18 08:57:55 +00:00
Christophe Diederichs
c42c442eab add crypto_core methods 2022-11-18 08:56:18 +00:00
Christophe Diederichs
58947e04ce add fe25519_mul32 2022-11-17 19:38:08 +00:00
Christophe Diederichs
ae2df3305e 0.8.0 2022-01-14 17:43:21 +00:00
Theron Spiegl
6c584231e6
Add crypto_secretstream methods (#57) 2022-01-14 16:42:28 +00:00
Christophe Diederichs
c54ff9636e add ristretto methods 2022-01-05 22:50:20 +00:00
Christophe Diederichs
426ca77d47 0.7.4 2021-11-05 09:32:51 +00:00
Kasper Isager Dalsgarð
25c97802f4
crypto_sign: replace Buffer.alloc() with new Uint8Array() (#62) 2021-11-04 17:17:13 +00:00
Kasper Isager Dalsgarð
87ff2a56bd
Use globalThis instead of global (#61)
* Use `globalThis` instead of `global`

* Update `standard`
2021-11-02 16:36:15 +01:00
RangerMauve
7ef6e52870 Remove "react-native" field
This field isn't adding anything at the moment, and it actually breaks things by pointing at an unresolvable module.
2020-12-01 11:29:33 +01:00
Mathias Buus
0227f45c6b 0.7.3 2020-11-13 16:46:11 +01:00
Mathias Buus
ca32540960 load the sink just in time 2020-11-13 16:46:06 +01:00
Mathias Buus
51093efbc5 0.7.2 2020-11-12 14:46:28 +01:00
Christophe Diederichs
f79aed4eee
turn off worker_threads in browser (#52) 2020-11-12 14:04:40 +01:00
Kyle Mathews
3eb1d64460
Small copy change to README (#54) 2020-11-12 08:39:33 +01:00
Christophe Diederichs
88862d3669 scalarmult_curve25519 implemented in wasm 2020-10-30 10:46:51 +01:00
Christophe Diederichs
bafe8f8fac first attempt at wassm scalarmult 2020-10-16 01:10:52 +02:00
Christophe Diederichs
a02899bfe2 scalarmult internal loop in wasm 2020-10-13 16:10:47 +02:00
Christophe Diederichs
40bced0da1 use tables to share functions between modules 2020-10-12 16:41:06 +02:00
RangerMauve
7febc97986
Detect window.close is defined (#49) 2020-10-09 13:35:11 +02:00
Christophe Diederichs
66494ec3b5 0.7.1 2020-09-22 15:56:40 +02:00
Christophe Diederichs
35f38a6c10 missing export: crypto_sign_ed25519_sk_to_pk 2020-09-22 15:50:00 +02:00
Christophe Diederichs
125384f26a remove lockfile 2020-09-22 15:34:54 +02:00
Christophe Diederichs
d432fe295d crypto_aead: correctly hadle ad passed as null 2020-09-22 15:30:31 +02:00
Christophe Diederichs
97200f90da 0.7.0 2020-09-22 14:56:20 +02:00
Christian Bundy
656d6d251e
Add crypto_auth (#32)
* add crypto_auth_hmac methods
2020-09-22 14:49:40 +02:00
Christian Bundy
61b6e6916a
Add crypto_box_easy (#29)
* Fix backward crypto_secretbox_detached bug

* Add crypto_box_easy
2020-09-22 14:47:36 +02:00
Christophe Diederichs
ab004d8022
Add ed25519 conversion operations (#46)
* add ed25519 methods and constants
2020-09-22 14:46:45 +02:00
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