Chapter 3. Programming Interface
Prev
Next
Chapter 3. Programming Interface
Table of Contents
Common API
Symmetric Cipher API - Generic
Synchronous Symmetric Cipher API - One Shot
Symmetric Cipher API - Convenience
Asynchronous Symmetric Cipher API - One Shot
Synchronous Symmetric Cipher API - Stream
AEAD Cipher API - Generic
Synchronous AEAD Cipher API - One Shot
Aynchronous AEAD Cipher API - One Shot
Synchronous AEAD Cipher API - Stream
Message Digest Cipher API - Generic
Message Digest Cipher API - One Shot
Message Digest Cipher API - Convenience
Message Digest Cipher API - Stream
Random Number API
Random Number API - Convenience
Asymmetric Cipher API - Generic
Synchronous asymmetric Cipher API - One Shot
Aynchronous asymmetric Cipher API - One Shot
Asymmetric Cipher API - Stream
Key Protocol Primitives API - Generic
Synchronous Key Protocol Primitives API - One Shot
Asynchronous Key Protocol Primitives API - One Shot
Key Derivation Functions
Common API
kcapi_set_verbosity
— set the verbosity level of the library
kcapi_versionstring
— obtain version string of kcapi library
kcapi_version
— return machine-usable version number of kcapi library
kcapi_pad_iv
— realign the IV as necessary for cipher
kcapi_memset_secure
—
memset
implementation that will not be optimized away by the compiler
kcapi_handle_reinit
— re-initialize a new kernel interface
The following API calls are common to all cipher types.