Commit Graph

406 Commits

Author SHA1 Message Date
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
4a23f5e2c1 adds comment about %funk hook in +ut 2019-01-31 15:18:09 -05:00
Joe Bryan
4acc8f192d adds sha-256 battery hashes to the jet dashboard, corrects axes 2019-01-31 03:34:03 -05:00
Joe Bryan
e4a52c7568 corrects +muk jet comment 2019-01-08 22:44:56 -05:00
Joe Bryan
93bc0c7a97 removes aliases for +hor and +vor 2019-01-08 22:40:13 -05:00
Joe Bryan
4e9c237b61 Revert "adds pristine jet copies (hash-order, containers, compiler)"
This reverts commit a906af1ca4.
2019-01-08 22:31:24 -05:00
Joe Bryan
658a77f88b Revert "adds staged jet headers and dashboard declarations, renames everything"
This reverts commit cee1bfe591.
2019-01-08 22:31:24 -05:00
Joe Bryan
b3fad746ca Revert "jets u3r_mur"
This reverts commit b0ef096e1c99b7ba06fd8f9717da0a409551ea00.
2019-01-08 22:31:24 -05:00
Joe Bryan
b33f6e4b42 renames *_vor to *_mor 2019-01-08 22:31:19 -05:00
Joe Bryan
8fe90875cd replaces calls to u3qc_hor with u3qc_gor 2019-01-08 20:14:55 -05:00
Joe Bryan
bad60672e4 removes +hor jet, sets *_hor to point to *_gor 2019-01-08 18:15:39 -05:00
Joe Bryan
1d1a259f31 removes old u3r_mug*, switches u3r_mur* to u3r_mug* 2019-01-08 18:13:25 -05:00
Joe Bryan
ce7eb6ffcb sets u3qc__stage_hor to point to u3qc__stage_gor 2019-01-08 18:07:05 -05:00
Joe Bryan
e179667323 jets u3r_mur 2019-01-07 23:31:37 -05:00
Joe Bryan
cee1bfe591 adds staged jet headers and dashboard declarations, renames everything 2019-01-07 23:31:37 -05:00
Joe Bryan
a906af1ca4 adds pristine jet copies (hash-order, containers, compiler) 2019-01-07 23:31:37 -05:00
Joe Bryan
86a38cbb92 fixes u3_atom/c3_w mixup in +muk jet, refactors 2019-01-07 21:23:29 -05:00
Elliot Glaysher
e25c8388a4 Add jet for +del:in 2018-12-13 14:39:53 -08:00
Elliot Glaysher
6c1e20dcbd Style nits 2018-12-13 11:29:36 -08:00
Elliot Glaysher
aea2139261 Add a jet for +del:by 2018-12-13 11:04:31 -08:00
Joe Bryan
6266388109 removes commonmark and the markdown jet 2018-12-10 16:03:37 -05:00
Joe Bryan
413b53ea16 prevents 0-byte allocation in u3qe_lore() 2018-12-10 11:15:54 -05:00
Elliot Glaysher
da8278d53c
Merge pull request #1088 from urbit/actually-jet-sort
Write a jet for +sort
2018-12-06 14:54:49 -08:00
Elliot Glaysher
3fc14073e0 Write a jet for +sort
Closes #387
2018-12-06 13:20:23 -08:00
joshuareagan
a36b2a010e remove hold 2018-12-06 13:38:33 -06:00
joshuareagan
ee483875bc removed more superfluous lines 2018-12-06 02:15:18 -06:00
joshuareagan
a9e760edb5 removed superfluous lines 2018-12-06 02:00:35 -06:00
joshuareagan
2769cb2ac9 using u3x functions 2018-12-06 01:01:27 -06:00
Joshua Reagan
def6538c08
braces constants 2018-12-05 23:48:09 -06:00
joshuareagan
3c4e85fcee added shape checks 2018-12-05 23:37:23 -06:00
joshuareagan
cfca39542f type variance bug fix 2018-12-05 22:24:44 -06:00
Joshua Reagan
2f8d0d6d34
fix core nest mismatch
There is a variance bug such that the following cast is allowed to go through:

```
> =a 12

> =core1 ^?  |=(b=@ a)

> =a "hello"

> =core2 ^?  |=(b=@ a)

> ^+(core1 core2)
```

This should not be!  The code in `hoon.hoon` is correct -- it turns out that the jet is wrong however.  It falsely returns "yes" for a nest in which two cores have identical code.  Obviously that's not enough to guarantee sameness of type.  So I've removed the offending lines.
2018-11-30 22:11:08 -06:00
Joshua Reagan
e62acfa1bc
remove superfluous reference decrements 2018-11-29 18:52:47 -06:00
joshuareagan
ab455736e9 variance fix: calling lead, zinc gates 2018-11-29 12:42:47 -06:00
Elliot Glaysher
98c581f95a Jet +jab:by, which is used extensively in ford. 2018-11-26 16:18:53 -08:00
Joe Bryan
1463b33bc0
Merge pull request #1041 from urbit/remove-jets-z
removes second staging copy of compiler jets
2018-11-21 13:11:25 -05:00
Benjamin Summers
2cb3ad1a7a Use Ed25519 u3a_malloc in the ed25519 jet. 2018-11-16 11:56:58 -08:00
Joe Bryan
4ec7ddb61b removes second staging copy of compiler jets 2018-11-15 19:29:39 -05: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
91bef8d863 Merge branch 'release-candidate' into crypto-additions 2018-11-06 10:32:02 -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