X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fevp%2Fevp.h;h=2b130c483d5e7cc57709703e92f123eadf8d79a0;hp=fcc75e77aaef9b05a54f7a744ff2f22fb85ce8f4;hb=afa23c46d966fc3862804612be999d403a755cd7;hpb=629b640bbc5391c6ac727aaa8465c5c5f99a5708 diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index fcc75e77aa..2b130c483d 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -300,6 +300,12 @@ struct env_md_ctx_st #define EVP_MD_CTX_FLAG_PAD_PSS 0x20 /* PSS mode */ #define EVP_MD_CTX_FLAG_NO_INIT 0x0100 /* Don't initialize md_data */ +/* Some functions such as EVP_DigestSign only finalise copies of internal + * contexts so additional data can be included after the finalisation call. + * This is inefficient if this functionality is not required: it is disabled + * if the following flag is set. + */ +#define EVP_MD_CTX_FLAG_FINALISE 0x0200 struct evp_cipher_st {