The type of the state data structure for multipart MAC operations. Before calling any function on a MAC operation object, the application must initialize it by any of the following means: - Set the structure to all-bits-zero, for example:
psa_mac_operation_t operation;
memset(&operation, 0, sizeof(operation));
- Initialize the structure to logical zero values, for example:
psa_mac_operation_t operation = {0};
- Initialize the structure to the initializer #PSA_MAC_OPERATION_INIT, for example:
psa_mac_operation_t operation = PSA_MAC_OPERATION_INIT;
- Assign the result of the function psa_mac_operation_init() to the structure, for example:
psa_mac_operation_t operation;
operation = psa_mac_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.