Mercurial > dropbear
comparison session.h @ 715:cd3d3c63d189
Make hmac-sha2-256 and hmac-sha2-512 work
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 Mar 2013 22:55:12 +0800 |
parents | bf0ac0512ef7 |
children | 4a274f47eabd |
comparison
equal
deleted
inserted
replaced
714:84157e435c52 | 715:cd3d3c63d189 |
---|---|
76 symmetric_CBC cbc; | 76 symmetric_CBC cbc; |
77 #ifdef DROPBEAR_ENABLE_CTR_MODE | 77 #ifdef DROPBEAR_ENABLE_CTR_MODE |
78 symmetric_CTR ctr; | 78 symmetric_CTR ctr; |
79 #endif | 79 #endif |
80 } cipher_state; | 80 } cipher_state; |
81 unsigned char mackey[MAX_MAC_KEY]; | 81 unsigned char mackey[MAX_MAC_LEN]; |
82 }; | 82 }; |
83 | 83 |
84 struct key_context { | 84 struct key_context { |
85 | 85 |
86 struct key_context_directional recv; | 86 struct key_context_directional recv; |