Commit Graph

3 Commits

Author SHA1 Message Date
Nick Thomas
202b77bb57 packet: move some common code out of wrapper.c and util.c 2013-08-06 14:34:53 +01:00
Nick Thomas
94b451a1ac util: Remove some debugging comments 2013-08-06 14:26:22 +01:00
Nick Thomas
15a200eb0c Second night's commit.
We're a bit closer to something sane, now. We can wrap, but not unwrap,
packets.

Asymmetric encryption is *big*. encrypted text with a 4096-bit RSA
public key is 512 bytes. We can't fragment yet. Fortunately, this
isn't an infinite regress once we *can* fragment.

Performance is still a big question mark, of course.

There may still be endianness issues hanging around.

The eid<->rloc map is almost certainly far, far too slow to be of
any use in the real world.
2013-08-04 03:07:20 +01:00