![]() |
nRF Connect SDK API 3.3.99
|
| int cracen_hash_input_with_context | ( | struct sxhash * | hashopctx, |
| const uint8_t * | input, | ||
| const size_t | input_length, | ||
| const struct sxhashalg * | hashalg, | ||
| uint8_t * | digest ) |
#include <subsys/nrf_security/src/drivers/cracen/common/include/cracen/common.h>
Hash a single element with a previously created hash context(sxhash)
| [in] | hashopctx | Pointer to the sxhash context. |
| [in] | input | Pointer to element that will be hashed. |
| [in] | input_length | Length of element to be hashed. |
| [in] | hashalg | Hash algorithm to be used in sxhashalg format. |
| [out] | digest | Buffer of at least sx_hash_get_alg_digestsz(hashalg) bytes. |