forked from wolfSSL/wolfssl
Merge pull request #3373 from danielinux/imx-rt1060-shaonly-fix
Fixed SHA256 support for IMX-RT1060
This commit is contained in:
@ -130,6 +130,8 @@ where 0 <= L < 2^64.
|
|||||||
#elif defined(WOLFSSL_CRYPTOCELL)
|
#elif defined(WOLFSSL_CRYPTOCELL)
|
||||||
/* wc_port.c includes wolfcrypt/src/port/arm/cryptoCellHash.c */
|
/* wc_port.c includes wolfcrypt/src/port/arm/cryptoCellHash.c */
|
||||||
|
|
||||||
|
#elif defined(WOLFSSL_IMXRT_DCP)
|
||||||
|
|
||||||
#elif defined(WOLFSSL_PSOC6_CRYPTO)
|
#elif defined(WOLFSSL_PSOC6_CRYPTO)
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
int wc_dcp_init(void);
|
int wc_dcp_init(void);
|
||||||
|
|
||||||
|
#ifndef NO_AES
|
||||||
int DCPAesInit(Aes* aes);
|
int DCPAesInit(Aes* aes);
|
||||||
void DCPAesFree(Aes *aes);
|
void DCPAesFree(Aes *aes);
|
||||||
|
|
||||||
@ -45,6 +46,7 @@ int DCPAesSetKey(Aes* aes, const byte* key, word32 len, const byte* iv,
|
|||||||
int dir);
|
int dir);
|
||||||
int DCPAesCbcEncrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
int DCPAesCbcEncrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
||||||
int DCPAesCbcDecrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
int DCPAesCbcDecrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_AES_ECB
|
#ifdef HAVE_AES_ECB
|
||||||
int DCPAesEcbEncrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
int DCPAesEcbEncrypt(Aes* aes, byte* out, const byte* in, word32 sz);
|
||||||
|
Reference in New Issue
Block a user