CSSM_CSP_PassThrough
void * CSSMAPI CSSM_CSP_PassThrough
(CSSM_CC_HANDLE CCHandle,
uint32 PassThroughId,
const void *InData)
The CSSM_CSP_PassThrough function is provided to allow CSP developers to extend the crypto functionality of the CSSM API.
- CCHandle (input)
The handle that describes the context of this cryptographic operation.
- PassThroughId (input)
An identifier specifying the custom function to be performed.
- InData (input)
A pointer to a module, implementation-specific structure containing the input data.
A pointer to a module, implementation-specific structure containing the output data. If successful, this function returns a non-NULL value. A NULL value indicates an error has occurred. Use CSSM_GetError to obtain a specific error code.
- CSSM_CSP_INVALID_CONTEXT_HANDLE
Invalid context handle.
- CSSM_INVALID_POINTER
Invalid pointer.
- CSSM_CSP_MEMORY_ERROR
Not enough memory to allocate.
- CSSM_CSP_OPERATION_UNSUPPORTED
Derive key service not supported.
- CSSM_CSP_OPERATION_FAILED
Cryptographic operation failed.
Contents | Next section | Index |