Cipher type definitions for the PSA Crypto API. More...
Cipher type definitions for the PSA Crypto API.
Definition in file types.h.
Go to the source code of this file.
Data Structures | |
union | psa_cipher_context_t |
Structure containing the cipher contexts needed by the application. More... | |
struct | psa_se_cipher_context_t |
Structure containing the secure element specific cipher contexts needed by the application. More... | |
union | psa_se_cipher_context_t::driver_context |
Structure containing a driver specific cipher context. More... | |
struct | psa_cipher_operation_s |
Structure storing a cipher operation context. More... | |
union | psa_cipher_operation_s::cipher_context |
Union containing cipher contexts for the executing backend. More... | |
#define | PSA_CIPHER_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a cipher operation object of type psa_cipher_operation_t. | |
enum | psa_encrypt_or_decrypt_t { PSA_CRYPTO_DRIVER_DECRYPT , PSA_CRYPTO_DRIVER_ENCRYPT } |
For encrypt-decrypt functions, whether the operation is an encryption or a decryption. More... | |
typedef struct psa_cipher_operation_s | psa_cipher_operation_t |
The type of the state object for multi-part cipher operations. | |
static psa_cipher_operation_t | psa_cipher_operation_init (void) |
Return an initial value for a cipher operation object. | |
#define PSA_CIPHER_OPERATION_INIT { 0 } |
This macro returns a suitable initializer for a cipher operation object of type psa_cipher_operation_t.
typedef struct psa_cipher_operation_s psa_cipher_operation_t |
The type of the state object for multi-part cipher operations.
Before calling any function on a cipher operation object, the application must initialize it by any of the following means:
This is an implementation-defined type. Applications that make assumptions about the content of this object will result in in implementation-specific behavior, and are non-portable.
|
inlinestatic |
Return an initial value for a cipher operation object.