reserve a few more bits for future cipher modes
authorDr. Stephen Henson <steve@openssl.org>
Mon, 8 Mar 2010 23:48:21 +0000 (23:48 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 8 Mar 2010 23:48:21 +0000 (23:48 +0000)
crypto/evp/evp.h

index 50f2241..d8ae457 100644 (file)
@@ -326,7 +326,7 @@ struct evp_cipher_st
 #define                EVP_CIPH_CBC_MODE               0x2
 #define                EVP_CIPH_CFB_MODE               0x3
 #define                EVP_CIPH_OFB_MODE               0x4
 #define                EVP_CIPH_CBC_MODE               0x2
 #define                EVP_CIPH_CFB_MODE               0x3
 #define                EVP_CIPH_OFB_MODE               0x4
-#define        EVP_CIPH_MODE                   0x7
+#define        EVP_CIPH_MODE                   0xF0007
 /* Set if variable length cipher */
 #define        EVP_CIPH_VARIABLE_LENGTH        0x8
 /* Set if the iv handling should be done by the cipher itself */
 /* Set if variable length cipher */
 #define        EVP_CIPH_VARIABLE_LENGTH        0x8
 /* Set if the iv handling should be done by the cipher itself */