VerifyDevice(3) — Subroutines
NAME
VerifyDevice, CSSM_VerifyDevice, CSP_VerifyDevice − Cause the cryptographic module to perform a self verification and integrity check (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
API:
CSSM_RETURN CSSMAPI CSSM_VerifyDevice
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA ∗DeviceCert)
SPI:
CSSM_RETURN CSSMCSPI CSP_VerifyDevice
(CSSM_CSP_HANDLE CSPHandle,
const CSSM_DATA ∗DeviceCert)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
CSPHandle (input)
The handle that describes the add-in cryptographic service provider module used to perform this function. If a NULL handle is specified, CSSM returns error.
DeviceCert (input)
Pointer to CSSM_DATA structure that contains data that identifies the cryptographic device.
DESCRIPTION
This function triggers the cryptographic module to perform self verification and integrity checking.
RETURN VALUE
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
Errors are described in the CDSA technical standard. See CDSA_intro(3).
CSSMERR_CSP_DEVICE_VERIFY_FAILED
SEE ALSO
Books
Intel CDSA Application Developer’s Guide (see CDSA_intro(3))
Reference Pages