From 3da0ca796cae6625bd26418afe0a1dc47bf5a77f Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 7 Feb 2011 14:36:08 +0000 Subject: New flags EVP_CIPH_FLAG_CUSTOM_CIPHER in cipher structures if an underlying cipher handles all cipher symantics itself. --- crypto/evp/evp.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto/evp/evp.h') 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 */ -- cgit v1.2.3