Commit Graph

39 Commits

Author SHA1 Message Date
Steven Dee
b96267d6d9 Merge remote-tracking branch 'urbit/master' into newbreach
Conflicts:
	urb/urbit.pill

Generated new pill.
2014-05-09 00:07:06 +00:00
~hatteb-mitlyd
fb36a1ad5b Revert "fix rub to crash gracefully upon decoding invalid data"
This reverts commit ae2f94b01848dd760bb5c912e3010689f4a86d61.

Some odd crash is happening on boot...
2014-05-08 16:56:02 -07:00
Steve Dee
66700aada4 Merge remote-tracking branch 'urbit/master' into newbreach
Conflicts:
	.gitignore
	Makefile
	urb/urbit.pill

Took both bpt and ed25519, and generated a new pill starting from master's.
2014-05-08 14:53:12 -07:00
~hatteb-mitlyd
8494257a15 fix rub to crash gracefully upon decoding invalid data
if we exceed the number of available bits, crash.
2014-05-08 10:55:31 -07:00
~hatteb-mitlyd
af465d30d5 use u2_none instead of u2_nul in nash 2014-05-07 11:21:16 -07:00
~hatteb-mitlyd
f4beea0595 take ed jets live. 2014-04-30 16:31:08 -07:00
~hatteb-mitlyd
e2bf68ab7e Revert "Revert "use nash for cue""
This reverts commit 04caeff12f5e471519082b1c5f3020943df136db.

Medical science made some advances by leaps and bounds. The nash code is
more aggressive with the allocator and leaves more garbage around for
e.g. u2_term_io_init to trip over.
2014-04-30 11:34:43 -07:00
~hatteb-mitlyd
2c93a4efff Revert "use nash for cue"
This reverts commit f691d25bd23716e9411288d3eb9bd4c9b9d33ae1.

Oddly, this causes a failure to boot, on some linux, for some reason
heretofore unknown to medical science.
2014-04-30 11:15:45 -07:00
Steve Dee
8b0a6c1742 Merge branch 'master' into newbreach
Conflicts:
	urb/urbit.pill
	urb/zod/arvo/zuse.hoon
2014-04-29 17:43:30 -07:00
~hatteb-mitlyd
03baa8c519 add ed tests, fix veri 2014-04-29 17:34:55 -07:00
~hatteb-mitlyd
61815d2c11 have puck bail for seeds larger than 32 bytes
also add size-odors
2014-04-29 17:34:55 -07:00
Steve Dee
58757c46a2 Utterly trivial jet cleanup 2014-04-29 17:19:12 -07:00
~hatteb-mitlyd
61c0a6ed2c use nash for cue 2014-04-29 10:03:31 -07:00
Steve Dee
3b7734336c Merge branch 'master' into newbreach
Conflicts:
	urb/urbit.pill
	urb/zod/arvo/ames.hoon
2014-04-25 18:39:29 -07:00
~hatteb-mitlyd
aacbe8f4da use a non-noun-based hashtable to jam 2014-04-23 19:55:53 -07:00
Steve Dee
44cd26548b Merge branch 'master' into newbreach
Conflicts:
	urb/zod/arvo/ames.hoon
	v/sist.c
2014-04-21 19:06:16 -07:00
Steve Dee
b99b8969d9 Whitespace: the invisible killer
Includes our first ever pass over the jets. Yikes.
2014-04-21 18:22:11 -07:00
Steve Dee
9feaa6ea39 Use CommonCrypto for sha on OS X
This reverts commit 31b43ffe770c420e2a012b019c631056c30def67.

Conflicts:
	gen164/5/shax.c
2014-04-20 14:51:35 -07:00
Steve Dee
13ae1eee30 Use CommonCrypto on OS X for AES 2014-04-20 02:03:26 -07:00
Steve Dee
4ba1e105e4 Silence deprecation warnings 2014-04-18 18:38:54 -07:00
Steve Dee
e4235f63db Simplify aesc core structure
This makes ++en and ++de dramatically faster.
2014-04-18 18:33:56 -07:00
Steve Dee
57f684c3df AES decryption jet
++ix remains unjetted. There's no function that directly lines up
with it in rijndael.h, and you should almost always be using ++en
and ++in rather than touching ++be directly anyway.

Also, take the jets live.
2014-04-18 16:08:31 -07:00
~hatteb-mitlyd
d671b6659f provide big enough buffers for the ed jets 2014-04-18 15:39:45 -07:00
Steve Dee
322d448d0f Jetted en and ex
You'll note that ex involves more endianness twiddling. This is
unfortunate, but en is exactly as stupid as you'd hope it would be,
so I'm going to call it okay.

Also, fixed ex. In particular, (ex:aesc 0) now agrees with the C's
output. Our bad.
2014-04-18 14:58:51 -07:00
Steve Dee
f83f74af77 WIP jetted AES
be:aesc jet appears to be working.
2014-04-17 18:56:47 -07:00
Steve Dee
8018b97d7f Use openssl sha everywhere 2014-04-17 18:56:47 -07:00
~hatteb-mitlyd
f29b34fb37 working sign:ed jet 2014-04-16 20:28:39 -07:00
Steve Dee
a0e835ecd8 Merge branch 'master' into newbreach
Took master's pill.

Conflicts:
	Makefile
	urb/urbit.pill
2014-04-16 10:53:50 -07:00
Steve Dee
8252d86436 Bring map union and shal jets live 2014-04-15 17:33:22 -07:00
~hatteb-mitlyd
f0c58605d0 veri jet skeleton, still not working 2014-04-12 19:59:02 -07:00
~hatteb-mitlyd
7000bdda2f sort-of fix jets for Ed25519
puck:ed is correct for at least the single test-point i tried.

sign:ed is still wrong.
2014-04-11 17:17:39 -07:00
~hatteb-mitlyd
c3c3c1c709 first hack at sign:ed jet 2014-04-10 18:05:59 -07:00
Gavin Whelan
371f67b613 Removing debugging/testing stuff 2014-04-09 17:14:46 -07:00
Gavin Whelan
1fe7f81e76 Fixed warning 2014-04-09 14:22:08 -07:00
Gavin Whelan
bb6ce3fee4 Regex! 2014-04-09 11:57:48 -07:00
~hatteb-mitlyd
a0c18f56b2 change to asserting malloc 2014-04-01 17:48:26 -07:00
Steve Dee
8e9e98cd9d Get at the length field of sha-512
This lets us take the hash of old-world strings with a bunch of trailing
zero bytes.
2014-01-21 15:03:30 -08:00
Steve Dee
9567f14f21 sha-512 jet 2014-01-20 18:22:05 -08:00
C. Guy Yarvin
98006a2851 Last checkin on funbreach. 2014-01-06 12:37:42 -08:00