summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-02-15 19:17:55 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-02-15 19:17:55 +0000
commitf689ab5017d39a7b339dbf9ede0895597be606b4 (patch)
tree109a739a12d0f32b0189820907ca8dae83017f75 /crypto/evp/evp.h
parentedb7cac271ce4144a9696eaecf40a471736a07d1 (diff)
add EVP_CIPH_FLAG_LENGTH_BITS from 0.9.8-stable
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r--crypto/evp/evp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index f0848d24a0..6714bbb674 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -342,6 +342,10 @@ struct evp_cipher_st
#define EVP_CIPH_RAND_KEY 0x200
/* cipher has its own additional copying logic */
#define EVP_CIPH_CUSTOM_COPY 0x400
+/* Allow use default ASN1 get/set iv */
+#define EVP_CIPH_FLAG_DEFAULT_ASN1 0x1000
+/* Buffer length in bits not bytes: CFB1 mode only */
+#define EVP_CIPH_FLAG_LENGTH_BITS 0x2000
/* ctrl() values */