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
Hash-based message authentication code (HMAC)
HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, HMAC-SHA-512
Authenticated Encryption with associated data (AEAD)
AES-128-CCM, AES-192-CCM, AES-256-CCM AES-128-GCM, AES-192-GCM, AES-256-GCM
Elliptic-curve digital signature creation and verification (ECDSA)
prime256, oid = 1.2.840.10045.3.1.7 secp384, oid = 1.3.132.0.34 secp521, oid = 1.3.132.0.35 ed25519, oid = 1.3.101.112 ed448, oid = 1.3.101.113