libzpc APIs

The chapters in this part describe all available APIs of libzpc. Also, you can view sample programs for AES and ECC exploiting a selection of these APIs.

Supported cryptographic operations

For each type of cryptographic primitive, certain APIs with different key types and lengths and operation modes are supported.

Encryption/Decryption
AES-128-ECB, AES-192-ECB, AES-256-ECB
AES-128-CBC, AES-192-CBC, AES-256-CBC
AES-128-XTS, AES-256-XTS
Message authentication (MAC)
AES-128-CMAC, AES-192-CMAC, AES-256-CMAC
Authenticated Encryption with associated data (AEAD)
AES-128-CCM, AES-192-CCM, AES-256-CCM
AES-128-GCM, AES-192-GCM, AES-256-GCM
ECDSA signature creation and verification
prime256, secp384, secp521, Ed25519, Ed448