![]() |
nRF Connect SDK API 3.3.99
|
Software implementation of AES-GCM (Galois/Counter Mode) More...
Functions | |
| psa_status_t | cracen_sw_aes_gcm_encrypt_setup (cracen_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) |
| Set up the software AES-GCM encryption operation. | |
| psa_status_t | cracen_sw_aes_gcm_decrypt_setup (cracen_aead_operation_t *operation, const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg) |
| Set up the software AES-GCM decryption operation. | |
| psa_status_t | cracen_sw_aes_gcm_set_nonce (cracen_aead_operation_t *operation, const uint8_t *nonce, size_t nonce_length) |
| Set nonce for the software AES-GCM operation. | |
| psa_status_t | cracen_sw_aes_gcm_set_lengths (cracen_aead_operation_t *operation, size_t ad_length, size_t plaintext_length) |
| Set lengths for the software AES-GCM operation. | |
| psa_status_t | cracen_sw_aes_gcm_update_ad (cracen_aead_operation_t *operation, const uint8_t *input, size_t input_length) |
| Update the software AES-GCM operation with additional data. | |
| psa_status_t | cracen_sw_aes_gcm_update (cracen_aead_operation_t *operation, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length) |
| Update the software AES-GCM operation with new data. | |
| psa_status_t | cracen_sw_aes_gcm_finish (cracen_aead_operation_t *operation, uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length, uint8_t *tag, size_t tag_size, size_t *tag_length) |
| Finish the software AES-GCM encryption operation. | |
| psa_status_t | cracen_sw_aes_gcm_verify (cracen_aead_operation_t *operation, uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length, const uint8_t *tag, size_t tag_length) |
| Verify the tag and finish the software AES-GCM decryption operation. | |
| psa_status_t | cracen_sw_aes_gcm_abort (cracen_aead_operation_t *operation) |
| Abort the software AES-GCM operation. | |
Software implementation of AES-GCM (Galois/Counter Mode)
Software implementation of the AES-GCM (Galois/Counter) mode.
This module provides a software-based implementation of AES-GCM for use as a workaround for hardware limitations with multipart operations.