![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_sw_aes_ecb_decrypt | ( | struct sxblkcipher * | blkciph, |
| const struct sxkeyref * | key, | ||
| const uint8_t * | input, | ||
| size_t | input_length, | ||
| uint8_t * | output, | ||
| size_t | output_size, | ||
| size_t * | output_length ) |
#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_common.h>
Decrypt a single AES block using ECB mode.
This function is designed for CRACEN software workarounds that need AES-ECB decryption functionality.
| blkciph | The block cipher struct. |
| key | The AES key reference. |
| input | Pointer to the input block. |
| input_length | Length of the input block. |
| output | Pointer to a 16-byte output buffer. |
| output_size | Size of the output buffer. |
| output_length | Pointer where to store the actual output length. |
| psa_status_t | PSA_SUCCESS on success, error code otherwise. |