Russ Magee
9b3bd6b78b
Added client/server host:port, addr:port options
2018-01-12 22:24:40 -08:00
Russ Magee
1817627234
-Cleaned up lib code with gometalinter.v1
...
-Added -h opt to demo client (hmac)
2018-01-12 22:13:01 -08:00
Russ Magee
5493921e9f
-Added client -c option to pass cipher alg
...
-Note about blowfish iv len (lack of) bounds check in .NewOFB();
-TODO added to enforce keymat from HKex >= 2*chosen cipher blocksize
(assuming keylen == blocksize -- might not be true for all future algs)
2018-01-11 23:01:39 -08:00
Russ Magee
9054bcb89f
Dial() extensions to specify cipher/hmac alg and protocol options
2018-01-11 19:42:42 -08:00
Russ Magee
f7a3be637b
Split core KEx and net support code
2018-01-08 19:16:55 -08:00
Russ Magee
2faee8eae1
HKExConn -> Conn for drop-in to net.Conn
2018-01-08 18:27:01 -08:00
Russ Magee
11cd7bacfb
Working client/server demos w/HEx and trivial XOR crypto test
2018-01-07 22:05:14 -08:00
Russ Magee
60f2cb7e26
client/server demo hkex.Dial(), hkex.Listen()/hl.Accept() with auto-KEx
2018-01-06 23:58:30 +00:00
Russ Magee
4dd121b10b
client-side read for HKEx PeerD as part of NewHKEx()
2018-01-06 21:18:58 +00:00
Russ Magee
c8b4fa3596
HKExConn captures net.Conn
2018-01-06 20:26:08 +00:00
Russ Magee
ba2c03afe3
Initial commit
2018-01-06 15:30:56 +00:00