![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_sw_increment_counter_be | ( | uint8_t * | ctr_buf, |
| size_t | ctr_buf_size, | ||
| size_t | start_pos ) |
#include <subsys/nrf_security/src/drivers/cracen/cracen_sw/include/cracen_sw_common.h>
Increment counter value stored as a big endian buffer.
This function is used by software workarounds for CRACEN peripheral.
| [in,out] | ctr_buf | Counter. |
| [in] | ctr_buf_size | Counter buffer size. |
| [in] | start_pos | Counter starting position index. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_INVALID_ARGUMENT | The counter overflowed. |