Common Data Security Architecture (CDSA) White Paper

Cryptography Service Provider (CSP) API

by the operating system.

CSP Operations

CSP_SignData ()

CSP_SignDataInit ()

CSP_SignDataUpdate ()

CSP_SignDataFinal ()

Each operation accepts as input a handle to a cryptographic context describing the sign operation and the data on which to operate. The result of the completed sign operation is returned in a CSSM_DATA structure.

CSP_VerifyData ()

CSP_VerifyDataInit ()

CSP_VerifyDataUpdate ()

CSP_VerifyDataFinal ()

Each operation accepts as input a handle to a cryptographic context describing the verify operation and the data on which to operate. The result of the completed verify operation is either true or false.

CSP_DigestData ()

CSP_DigestDataInit ()

CSP_DigestDataUpdate ()

CSP_DigestDataFinal ()

Each operation accepts as input a handle to a cryptographic context describing the digest operation and the data on which to operate. The result of the completed digest operation is returned in a CSSM_DATA structure.

CSP_DigestDataClone ()

Accepts as input a handle to a cryptographic context describing the digest operation. A handle to another cryptographic context is created with similar information and intermediate result as described by the first context.

CSP_GenerateMac ()

CSP_GenerateMacInit ()

CSP_GenerateMacUpdate ()

Chapter 1

27