SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslCRACENSHAKE256.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define SHARKSSL_CRACEN_SHAKE256_MAX_OUTPUT   512
 Maximum SHAKE256 output length in bytes. More...
 
#define SHARKSSL_CRACEN_SHAKE256_OK   0
 Operation succeeded (0). More...
 
#define SHARKSSL_CRACEN_SHAKE256_BAD_ARGUMENT   -1
 Invalid argument or unsupported input size. More...
 
#define SHARKSSL_CRACEN_SHAKE256_UNAVAILABLE   -2
 Required hardware or capability unavailable. More...
 
#define SHARKSSL_CRACEN_SHAKE256_HARDWARE_ERROR   -3
 Hardware operation failed. More...
 

Functions

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. More...
 

Detailed Description

See SharkSSL Nordic CRACEN integration for required sources and platform setup.