8 #ifndef _MECHANISM_DEFINED
10 #define _MECHANISM_DEFINED
12 #ifndef _STREAM_DEFINED
13 #if defined( INC_ALL )
152 *encryptedKeyLength ) \
161 *encryptedKeyLength ) \
163 IN_LENGTH const int encryptedKeyMaxLength,
172 int importConventionalKey(
IN_BUFFER( encryptedKeyLength ) \
173 const void *encryptedKey,
179 int importPublicKey(
IN_BUFFER( encryptedKeyLength ) \
180 const void *encryptedKey,
202 int checkSignatureCMS(
IN_BUFFER( signatureLength )
const void *signature,
212 int createSignaturePGP(
OUT_BUFFER_OPT( sigMaxLength, *signatureLength ) \
221 int checkSignaturePGP(
IN_BUFFER( signatureLength )
const void *signature,
229 int createSignature(
OUT_BUFFER_OPT( sigMaxLength, *signatureLength ) \
239 int checkSignature(
IN_BUFFER( signatureLength )
const void *signature,