The type of the state data structure for multipart cipher operations. Before calling any function on a cipher operation object, the application must initialize it by any of the following means: - Set the structure to all-bits-zero, for example:
psa_cipher_operation_t operation;
memset(&operation, 0, sizeof(operation));
- Initialize the structure to logical zero values, for example:
psa_cipher_operation_t operation = {0};
- Initialize the structure to the initializer #PSA_CIPHER_OPERATION_INIT, for example:
psa_cipher_operation_t operation = PSA_CIPHER_OPERATION_INIT;
- Assign the result of the function psa_cipher_operation_init() to the structure, for example:
psa_cipher_operation_t operation;
operation = psa_cipher_operation_init();
This is an implementation-defined \c struct. Applications should not make any assumptions about the content of this structure. Implementation details can change in future versions without notice.