mirror of https://github.com/wolfSSL/wolfssl
Add stub functions for Aes/Des Init/Free in TI_CRYPT
This commit is contained in:
parent
cc65429946
commit
9ce73cf1a6
|
@ -545,6 +545,22 @@ WOLFSSL_API int wc_AesCcmDecrypt(Aes* aes, byte* out, const byte* in, word32 inS
|
|||
}
|
||||
#endif /* HAVE_AESCCM */
|
||||
|
||||
WOLFSSL_API int wc_AesInit(Aes* aes, void* heap, int devId)
|
||||
{
|
||||
if (aes == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
||||
aes->heap = heap;
|
||||
(void)devId;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
WOLFSSL_API void wc_AesFree(Aes* aes)
|
||||
{
|
||||
(void)aes;
|
||||
}
|
||||
|
||||
#endif /* WOLFSSL_TI_CRYPT */
|
||||
|
||||
#endif /* NO_AES */
|
||||
|
|
|
@ -182,6 +182,22 @@ WOLFSSL_API int wc_Des3_CbcDecryptWithKey(byte* out, const byte* in, word32 sz,
|
|||
return -1 ;
|
||||
}
|
||||
|
||||
WOLFSSL_API int wc_Des3Init(Des3* des, void* heap, int devId)
|
||||
{
|
||||
if (des == NULL)
|
||||
return BAD_FUNC_ARG;
|
||||
|
||||
des->heap = heap;
|
||||
(void)devId;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
WOLFSSL_API void wc_Des3Free(Des3* des)
|
||||
{
|
||||
(void)des;
|
||||
}
|
||||
|
||||
|
||||
#endif /* WOLFSSL_TI_CRYPT */
|
||||
|
||||
|
|
Loading…
Reference in New Issue