]> www.wagner.pp.ru Git - openssl-gost/engine.git/blob - cipher_ctrl.diff
Remove duplicates
[openssl-gost/engine.git] / cipher_ctrl.diff
1 --- crypto/evp/evp_orig.h       2015-10-07 20:11:14.000000000 +0300
2 +++ crypto/evp/evp.h    2015-10-07 20:11:56.000000000 +0300
3 @@ -422,6 +422,18 @@
4  # define         EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT      0x1a
5  # define         EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT      0x1b
6  # define         EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE  0x1c
7 +/* EVP_CTRL_SET_SBOX takes the char* specifying S-boxes */
8 +# define         EVP_CTRL_SET_SBOX                       0x1d
9 +/* 
10 + * EVP_CTRL_SBOX_USED takes a 'size_t' and 'char *', pointing at a
11 + * pre-allocated buffer with specified size 
12 + */
13 +# define         EVP_CTRL_SBOX_USED                      0x1e
14 +/* EVP_CTRL_KEY_MESH takes 'size_t' number of bytes to mesh the key after, 0 switches meshing off */
15 +# define         EVP_CTRL_KEY_MESH                       0x1f
16 +/* EVP_CTRL_BLOCK_PADDING_MODE takes the char* specifying padding mode */
17 +# define         EVP_CTRL_BLOCK_PADDING_MODE             0x20
18 +
19  
20  /* RFC 5246 defines additional data to be 13 bytes in length */
21  # define         EVP_AEAD_TLS1_AAD_LEN           13