add key derivation and change AEAD in session, not working right now :(

This commit is contained in:
Lucas Clemente
2016-04-14 20:39:51 +02:00
parent 70531832af
commit 1760bc3227
3 changed files with 73 additions and 7 deletions

View File

@@ -51,6 +51,9 @@ const (
// TagPROF is the server proof
TagPROF Tag = 'P' + 'R'<<8 + 'O'<<16 + 'F'<<24
// TagNONC is the client nonce
TagNONC Tag = 'N' + 'O'<<8 + 'N'<<16 + 'C'<<24
// TagSCID is the server config ID
TagSCID Tag = 'S' + 'C'<<8 + 'I'<<16 + 'D'<<24
// TagKEXS is the list of key exchange algos