Elliot Glaysher
2918b6af3f
Jet +add-double-scalarmult
2019-06-13 13:33:06 -07:00
Elliot Glaysher
e42ad8ca9d
Jet ed25519 point scalar multiplication.
...
This adds a jet for +scalarmult:ed:crypto. While previous jets could
just call math from the ed25519 library, scalarmult wasn't provided
by that library. This patch also translates an implementation of that
function from DEDIS' BSDed ed25519 golang library.
2019-06-13 11:24:43 -07:00
Elliot Glaysher
683de2ed52
Jet for +add:ed:crypto
2019-06-12 10:51:10 -07:00
Elliot Glaysher
4f486cd3d5
Add jetted implementations of +scalarmult-base and +double-scalarmult
2019-06-11 14:18:15 -07:00
Joe Bryan
413b53ea16
prevents 0-byte allocation in u3qe_lore()
2018-12-10 11:15:54 -05:00
Benjamin Summers
2cb3ad1a7a
Use Ed25519 u3a_malloc in the ed25519 jet.
2018-11-16 11:56:58 -08:00
Fang
aa129666fc
Make small stylistic improvements to crypto jets
2018-11-14 13:38:34 -08:00
Fang
8a25214167
Use custom memory allocation functions for Argon2
2018-11-13 11:11:48 -08:00
Fang
32bbb02140
Unpack blake jet arguments earlier, make sure to flip endianness
2018-11-06 15:32:56 -08:00
Fang
b11b8c1460
Make pointer to ripe context static
2018-11-06 14:50:46 -08:00
Fang
ee02677cf2
Clean up style in ripe jet
2018-11-04 12:51:49 -08:00
Fang
1978fc9b05
Fix ripe jet, treat input as byts rather than bits
...
Unpack input in u3we version, assume byts, don't check for multiple
of eight bits.
2018-11-04 12:23:24 -08:00
Fang
449cd080b0
Clean up style in blake2 jet
2018-11-04 11:42:33 -08:00
Fang
a74ea050fa
Clean up style in argon2 jet
2018-11-04 11:42:17 -08:00
Fang
ce8779c929
Clean up argon2 jet config params unpacking
2018-11-04 11:40:14 -08:00
Fang
451bc588da
Make blake adhere to desired output length
...
And makes sure to return in the correct byte order.
2018-11-04 09:55:25 -08:00
Fang
179c49429a
Use u3a_malloc instead of c3_malloc
2018-11-04 09:44:53 -08:00
Joe Bryan
e61a041f61
Merge branch 'release-candidate' into crypto-additions
...
* release-candidate: (153 commits)
uses u3x_at in reel and roll jets
adds comments for known-valid u3r_at calls in jets.c
remove orphaned declarations for mux and shux jets
bail %exit in _cj_site_lock if axis is not in core
Fix issue with trimming >4 character jet names
adds -S to skip battery hashes
fixes u3n_prog pointers in u3n_ream()
adds meson option (-Dprof=true) to set U3_CPU_DEBUG
adds meson option (-Dgc=true) to set U3_MEMORY_DEBUG
refactors http card validation
fixes leak in proxy when networking is disabled
fixes leak in _http_serv_start_all
avoid allocating an atom for _cj_bash
bypass mat and chop directly in jam
use nul prefix for regular (no loc) nock formulas, fix memory leak in _cj_mile, delete unused code
kill mux and shux jets, whose services are no longer required
for posterity
all hashes
more hashes
update pill/arvo hashes
...
2018-10-03 19:29:56 -04:00
Fang
e414767957
Merge branch 'crypto-additions' into blake_ripe
2018-09-30 11:41:49 -07:00
BernardoDeLaPlaz
cce78f57d4
code review
2018-09-07 14:27:14 -04:00
Fang
9396f7cc22
Remove nonstandard 27 minimum value from ecdsa signature v
...
As per urbit/arvo/b2365db.
2018-09-04 18:17:52 +02:00
BernardoDeLaPlaz
10bdf51640
crypto (blake, ripe) jetted
2018-08-10 17:09:55 -04:00
BernardoDeLaPlaz
fd78579e24
secp256 jetted
2018-08-07 15:16:48 -04:00
Fang
ea3aa7d2bd
Implement jet for ++argon2:argon2:crypto
2018-07-20 01:48:07 +02:00
Fang
e8103edb06
Fix compile-time issue with OpenSSL version of SHA-1 jet.
2018-07-13 15:55:37 +02:00
Fang
9498336f2a
Implement jet for ++hmac:hmac:crypto.
2018-07-13 02:03:08 +02:00
Fang
d969775d8f
Implement jet for ++sha-1:sha.
2018-07-13 02:01:31 +02:00
Paul Driver
07e524532f
avoid allocating an atom for _cj_bash
2018-06-15 11:17:56 -07:00
Paul Driver
dca55cf921
bypass mat and chop directly in jam
2018-06-15 11:17:49 -07:00
Paul Driver
38e7ab0ea8
kill mux and shux jets, whose services are no longer required
2018-06-04 12:21:13 -07:00
Paul Driver
667ecc80f8
for posterity
2018-06-04 12:20:01 -07:00
Paul Driver
c8f5fbe29f
moot, since we have already measured
2018-05-30 11:22:59 -07:00
Paul Driver
aaac65446e
actually smaller buffers to begin works better for small inputs
2018-05-30 11:10:58 -07:00
Paul Driver
d4e27d38a0
simplify _jam_buf_top
2018-05-30 09:49:04 -07:00
Paul Driver
9fdf806f14
start with a bigger buffer for jam
2018-05-29 21:52:07 -07:00
Paul Driver
06fdf49c5f
faster jam
2018-05-29 21:29:53 -07:00
Paul Driver
b7e0dc4651
merge conflict
2018-04-30 11:42:24 -07:00
Paul Driver
be8c56376d
hook caching in, kink weirdness fixed
2018-04-26 16:36:29 -07:00
Elliot Glaysher
0f09810dd7
Revert "Merge pull request #952 from eglaysher/revert-meson"
...
This reverts commit 9978ad8b72
, reversing
changes made to a85369fa1f
.
2018-03-20 10:16:16 -07:00
Elliot Glaysher
e6f6315691
Revert "Merge pull request #949 from eglaysher/meson-build-clean"
...
This reverts commit 9f795b535f
, reversing
changes made to d5c7b3b932
.
2018-03-19 15:13:19 -07:00
Elliot Glaysher
a85369fa1f
Merge pull request #948 from frodwith/charm
...
Charm
2018-03-19 14:57:50 -07:00
Elliot Glaysher
9f795b535f
Merge pull request #949 from eglaysher/meson-build-clean
...
Meson build clean
2018-03-19 11:14:53 -07:00
Paul Driver
0883264aa1
do the don trick for jam
2018-03-15 15:58:20 -07:00
Paul Driver
1d1593274c
tightening up jam jet
2018-03-14 17:53:12 -07:00
Keaton Dunsford
074a293257
Revert "Merge pull request #941 from frodwith/runtime-overflows"
...
This reverts commit 67d3460a91
, reversing
changes made to 8d0f6cf3a6
.
2018-03-12 16:42:39 -07:00
Paul Driver
ac65967fa0
fix memory leak in jam
2018-03-06 09:44:16 -08:00
mikolajp
23993c574b
Remove legacy copyright notice
2018-02-25 23:49:01 +08:00
mikolajp
c9aa26ad44
Fix libscrypt includes
2018-02-25 23:40:19 +08:00
mikolajp
f826497d47
Migrate to stock libscrypt version with meson support
2018-02-25 23:35:44 +08:00
mikolajp
e4d467ff24
Use stock libscrypt
2018-02-25 23:16:36 +08:00