From 5b31410098434a2aff0c0729621fee6c6f2b3519 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 30 Nov 2017 11:38:07 +0000 Subject: Added SHAx and TRNG to the crypto driver model. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11090 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/hal_crypto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'os/hal/include') diff --git a/os/hal/include/hal_crypto.h b/os/hal/include/hal_crypto.h index 91de0576d..df2167b02 100644 --- a/os/hal/include/hal_crypto.h +++ b/os/hal/include/hal_crypto.h @@ -280,6 +280,13 @@ extern "C" { const uint8_t *in, uint8_t *out, const uint8_t *iv); + cryerror_t crySHA1(CRYDriver *cryp, size_t size, + const uint8_t *in, uint8_t *out); + cryerror_t crySHA256(CRYDriver *cryp, size_t size, + const uint8_t *in, uint8_t *out); + cryerror_t crySHA512(CRYDriver *cryp, size_t size, + const uint8_t *in, uint8_t *out); + cryerror_t cryTRNG(CRYDriver *cryp, uint8_t *out); #ifdef __cplusplus } #endif -- cgit v1.2.3