diff options
Diffstat (limited to 'src/lib/libssl/src/ssl/ssl_locl.h')
| -rw-r--r-- | src/lib/libssl/src/ssl/ssl_locl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h index e05578e4a3..2a521fe26a 100644 --- a/src/lib/libssl/src/ssl/ssl_locl.h +++ b/src/lib/libssl/src/ssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.128 2015/09/12 15:08:54 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.129 2016/04/28 16:39:45 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -283,6 +283,7 @@ | |||
| 283 | #define SSL_AES128GCM 0x00000400L | 283 | #define SSL_AES128GCM 0x00000400L |
| 284 | #define SSL_AES256GCM 0x00000800L | 284 | #define SSL_AES256GCM 0x00000800L |
| 285 | #define SSL_CHACHA20POLY1305 0x00001000L | 285 | #define SSL_CHACHA20POLY1305 0x00001000L |
| 286 | #define SSL_CHACHA20POLY1305_OLD 0x00002000L | ||
| 286 | 287 | ||
| 287 | #define SSL_AES (SSL_AES128|SSL_AES256|SSL_AES128GCM|SSL_AES256GCM) | 288 | #define SSL_AES (SSL_AES128|SSL_AES256|SSL_AES128GCM|SSL_AES256GCM) |
| 288 | #define SSL_CAMELLIA (SSL_CAMELLIA128|SSL_CAMELLIA256) | 289 | #define SSL_CAMELLIA (SSL_CAMELLIA128|SSL_CAMELLIA256) |
| @@ -529,9 +530,10 @@ struct ssl_aead_ctx_st { | |||
| 529 | * fixed_nonce contains any bytes of the nonce that are fixed for all | 530 | * fixed_nonce contains any bytes of the nonce that are fixed for all |
| 530 | * records. | 531 | * records. |
| 531 | */ | 532 | */ |
| 532 | unsigned char fixed_nonce[8]; | 533 | unsigned char fixed_nonce[12]; |
| 533 | unsigned char fixed_nonce_len; | 534 | unsigned char fixed_nonce_len; |
| 534 | unsigned char variable_nonce_len; | 535 | unsigned char variable_nonce_len; |
| 536 | unsigned char xor_fixed_nonce; | ||
| 535 | unsigned char tag_len; | 537 | unsigned char tag_len; |
| 536 | /* | 538 | /* |
| 537 | * variable_nonce_in_record is non-zero if the variable nonce | 539 | * variable_nonce_in_record is non-zero if the variable nonce |
