summaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-02-07 14:36:08 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-02-07 14:36:08 +0000
commit3da0ca796cae6625bd26418afe0a1dc47bf5a77f (patch)
treeb9a2c40476ae48c4230aaca4b941d30042a69614 /crypto/evp/evp.h
parentf9678b8b578cf62305b2fb6275216ec4d11f4e39 (diff)
New flags EVP_CIPH_FLAG_CUSTOM_CIPHER in cipher structures if an underlying
cipher handles all cipher symantics itself.
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 2fa0aa916e..6604f3484b 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -354,6 +354,10 @@ struct evp_cipher_st
#define EVP_CIPH_FLAG_FIPS 0x4000
/* Allow non FIPS cipher in FIPS mode */
#define EVP_CIPH_FLAG_NON_FIPS_ALLOW 0x8000
+/* Cipher handles any and all padding logic as well
+ * as finalisation.
+ */
+#define EVP_CIPH_FLAG_CUSTOM_CIPHER 0x10000
/* ctrl() values */