SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslPSAConsumerHash.h
Go to the documentation of this file.
1
37#ifndef SHARKSSL_PSA_CONSUMER_HASH_H
38#define SHARKSSL_PSA_CONSUMER_HASH_H
39
40#include "SharkSSL.h"
41
42#if (!SHARKSSL_PSA_CONSUMER)
43#error SharkSslPSAConsumerHash.h requires SHARKSSL_PSA_CONSUMER
44#endif
45
49SHARKSSL_API int SharkSslPSAHash_compute(U8 *digest, U16 digestSize, U16 *digestLen,
50 const U8 *data, U32 dataLen, psa_algorithm_t algorithm);
51
52#endif
TLS objects, certificate/session operations, and public-key interfaces.
SHARKSSL_API int SharkSslPSAHash_compute(U8 *digest, U16 digestSize, U16 *digestLen, const U8 *data, U32 dataLen, psa_algorithm_t algorithm)
One-shot SHA3-224/256/384/512 or fixed SHAKE256-512 through PSA.
uint32_t psa_algorithm_t
Definition: crypto.h:58