SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslCRACENSHAKE256.h
Go to the documentation of this file.
1
43#ifndef SHARKSSL_CRACEN_SHAKE256_H
44#define SHARKSSL_CRACEN_SHAKE256_H
45
46#include <stddef.h>
47#include <stdint.h>
48
49#ifdef __cplusplus
50extern "C" {
51#endif
52
58#define SHARKSSL_CRACEN_SHAKE256_MAX_OUTPUT 512
59#define SHARKSSL_CRACEN_SHAKE256_OK 0
60#define SHARKSSL_CRACEN_SHAKE256_BAD_ARGUMENT -1
61#define SHARKSSL_CRACEN_SHAKE256_UNAVAILABLE -2
62#define SHARKSSL_CRACEN_SHAKE256_HARDWARE_ERROR -3
79int sharkssl_CRACENSHAKE256_digest(const uint8_t *input, uint8_t *output,
80 size_t inputLen, size_t outputLen);
81
86#ifdef __cplusplus
87}
88#endif
89
90#endif
int sharkssl_CRACENSHAKE256_digest(const uint8_t *input, uint8_t *output, size_t inputLen, size_t outputLen)
Compute a one-shot SHAKE256 digest using Nordic CRACEN.