From: Dmitry Belyavskiy Date: Mon, 20 Mar 2017 20:25:25 +0000 (+0300) Subject: Missing patch X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=438dd834596df0c2af44cc507d5775125acfbed4;p=openssl-gost%2Fengine.git Missing patch --- diff --git a/cipher_ctrl.diff b/cipher_ctrl.diff new file mode 100644 index 0000000..b8ddb4b --- /dev/null +++ b/cipher_ctrl.diff @@ -0,0 +1,21 @@ +--- crypto/evp/evp_orig.h 2015-10-07 20:11:14.000000000 +0300 ++++ crypto/evp/evp.h 2015-10-07 20:11:56.000000000 +0300 +@@ -422,6 +422,18 @@ + # define EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT 0x1a + # define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b + # define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c ++/* EVP_CTRL_SET_SBOX takes the char* specifying S-boxes */ ++# define EVP_CTRL_SET_SBOX 0x1d ++/* ++ * EVP_CTRL_SBOX_USED takes a 'size_t' and 'char *', pointing at a ++ * pre-allocated buffer with specified size ++ */ ++# define EVP_CTRL_SBOX_USED 0x1e ++/* EVP_CTRL_KEY_MESH takes 'size_t' number of bytes to mesh the key after, 0 switches meshing off */ ++# define EVP_CTRL_KEY_MESH 0x1f ++/* EVP_CTRL_BLOCK_PADDING_MODE takes the char* specifying padding mode */ ++# define EVP_CTRL_BLOCK_PADDING_MODE 0x20 ++ + + /* RFC 5246 defines additional data to be 13 bytes in length */ + # define EVP_AEAD_TLS1_AAD_LEN 13