X-Git-Url: https://wagner.pp.ru/gitweb/?a=blobdiff_plain;ds=sidebyside;f=patches%2F1.1.0%2Fgost_ctrl.diff;fp=patches%2F1.1.0%2Fgost_ctrl.diff;h=0000000000000000000000000000000000000000;hb=5d278740dd936d961e745cd37d7a60aa4a7659ac;hp=997280f07d38cfc7c92b5286f7746f7de2e3297c;hpb=f5eb0b43e61677fd44bca86a12cc73db7bcc1685;p=openssl-gost%2Fengine.git diff --git a/patches/1.1.0/gost_ctrl.diff b/patches/1.1.0/gost_ctrl.diff deleted file mode 100644 index 997280f..0000000 --- a/patches/1.1.0/gost_ctrl.diff +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/include/openssl/evp.h b/include/openssl/evp.h -index f92f109..8b03407 100644 ---- a/include/openssl/evp.h -+++ b/include/openssl/evp.h -@@ -427,6 +427,14 @@ struct evp_cipher_st { - # define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b - # define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c - -+/* -+ * Russian GOST has some parameters defining its usage: -+ * S-blocks, key meshing, padding modes -+ */ -+#define EVP_CTRL_GOST_PARAMS 0x1d -+#define EVP_CTRL_GOST_KEY_MESHING 0x1e -+#define EVP_CTRL_GOST_PADDING 0x1f -+ - /* RFC 5246 defines additional data to be 13 bytes in length */ - # define EVP_AEAD_TLS1_AAD_LEN 13 -