Symmetric state layer

This commit is contained in:
Hans Svensson
2018-03-01 20:38:34 +01:00
parent 0d563884eb
commit d0723eb247
8 changed files with 300 additions and 11 deletions
+1 -6
View File
@@ -10,12 +10,7 @@
-record(key_pair, { puk, pik }).
-record(noise_ss, { cs :: enoise_cipher_state:state()
, ck = <<>> :: binary()
, h = <<>> :: binary()
, hash = blake2b }).
-record(noise_hs, { ss :: #noise_ss{} | undefined
-record(noise_hs, { ss :: enoise_sym_state: state()
, s :: #key_pair{} | undefined
, e :: #key_pair{} | undefined
, rs :: binary() | undefined