diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-30 11:38:07 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-11-30 11:38:07 +0000 |
commit | 5b31410098434a2aff0c0729621fee6c6f2b3519 (patch) | |
tree | 488e5c2f056eea39a9405eeb3b487e5134df288c /os/hal/include | |
parent | f35ebd89d421105e8449d94c2bc80d81000e8246 (diff) | |
download | ChibiOS-5b31410098434a2aff0c0729621fee6c6f2b3519.tar.gz ChibiOS-5b31410098434a2aff0c0729621fee6c6f2b3519.tar.bz2 ChibiOS-5b31410098434a2aff0c0729621fee6c6f2b3519.zip |
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
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal_crypto.h | 7 |
1 files changed, 7 insertions, 0 deletions
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
|