Fixed size of ctx_enc / ctx_dec in ssl for gcm_context size
This commit is contained in:
parent
524691c0a0
commit
d6f41c5bcd
1 changed files with 3 additions and 2 deletions
|
@ -369,8 +369,9 @@ struct _ssl_transform
|
||||||
md_context_t md_ctx_enc; /*!< MAC (encryption) */
|
md_context_t md_ctx_enc; /*!< MAC (encryption) */
|
||||||
md_context_t md_ctx_dec; /*!< MAC (decryption) */
|
md_context_t md_ctx_dec; /*!< MAC (decryption) */
|
||||||
|
|
||||||
uint32_t ctx_enc[136]; /*!< encryption context */
|
/* 151 == 604 bytes is size of gcm_context (largest context in PolarSSL) */
|
||||||
uint32_t ctx_dec[136]; /*!< decryption context */
|
uint32_t ctx_enc[151]; /*!< encryption context */
|
||||||
|
uint32_t ctx_dec[151]; /*!< decryption context */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Session specific compression layer
|
* Session specific compression layer
|
||||||
|
|
Loading…
Reference in a new issue