![]() |
nRF Connect SDK API 3.3.99
|
| int cracen_be_cmp | ( | const uint8_t * | a, |
| const uint8_t * | b, | ||
| size_t | sz, | ||
| int | carry ) |
#include <subsys/nrf_security/src/drivers/cracen/common/include/cracen/common.h>
Big-Endian compare with carry.
| a | First value to be compared |
| b | Second value to be compared |
| sz | Size of a and b. |
| carry | Value of the carry. |
| 0 | if equal. |
| 1 | if a > b. |
| -1 | if a < b. |