DecryptDataP - Decrypt data with privilege (CDSA)
# include <cdsa/cssm.h>
CSSM_RETURN CSSMAPI CSSM_DecryptDataP (CSSM_CC_HANDLE
CCHandle, const CSSM_DATA *CipherBufs, uint32 CipherBufCount,
CSSM_DATA_PTR ClearBufs, uint32 ClearBufCount,
uint32 *bytesDecrypted, CSSM_DATA_PTR RemData, CSSM_PRIVILEGE
Privilege)
Common Security Services Manager library (libcssm.so)
The privilege to be applied during the cryptographic operation.
See CSSM_DecryptData() for other parameters.
This function is similar to CSSM_DecryptData(). It also
accepts a USEE tag as a privilege request parameter. CSSM
checks that either its privilege set or the application's
privilege set (if the application is signed) includes the
tag. If the tag is found and the service provider privilege
set indicates that it is supported, the tag is forwarded
to the service provider.
A CSSM_RETURN value indicating success or specifying a
particular error condition. The value CSSM_OK indicates
success. All other values represent an error condition.
Errors are described in the CDSA technical standard. See
CDSA_intro(3). CSSMERR_CSP_BLOCK_SIZE_MISMATCH CSSMERR_CSP_OUTPUT_LENGTH_ERROR
Books
Intel CDSA Application Developer's Guide (see
CDSA_intro(3))
Reference Pages [Toc] [Back]
Functions: CSSM_DecryptData(3), CSSM_EncryptDataInit(3),
CSSM_EncryptDataUpdate(3), CSSM_EncryptDataFinal(3),
CSSM_EncryptDataP(3), CSSM_EncryptDataInitP(3),
CSSM_DecryptP(3), CSSM_DecryptDataInitP(3), CSSM_QuerySize(3)
DecryptDataP(3)
[ Back ] |