21#ifndef PSA_CRYPTOCELL_310_AES_COMMON_H
22#define PSA_CRYPTOCELL_310_AES_COMMON_H
43 SaSiAesEncryptMode_t direction,
44 SaSiAesOperationMode_t mode,
45 SaSiAesPaddingType_t padding,
47 const uint8_t *key_buffer,
65 size_t output_buffer_size,
66 size_t *output_length);
Function declarations for PSA Crypto.
int32_t psa_status_t
Status code type used for all PSA Certified APIs.
psa_status_t cryptocell_310_common_aes_setup(SaSiAesUserContext_t *ctx, SaSiAesEncryptMode_t direction, SaSiAesOperationMode_t mode, SaSiAesPaddingType_t padding, const uint8_t *iv, const uint8_t *key_buffer, size_t key_size)
Common setup function for AES operations.
psa_status_t cryptocell_310_common_aes_encrypt_decrypt(SaSiAesUserContext_t *ctx, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_buffer_size, size_t *output_length)
Common function for an AES encryption.