STM32 PKA: added function prototype

This commit is contained in:
Daniele Lacamera
2019-10-09 13:09:57 +02:00
parent 3465a487d3
commit 0dfc64678c

View File

@@ -25,6 +25,7 @@
/* Generic STM32 Hashing and Crypto Functions */
/* Supports CubeMX HAL or Standard Peripheral Library */
#include <wolfssl/wolfcrypt/settings.h>
#include <wolfssl/wolfcrypt/types.h>
@@ -127,5 +128,11 @@ int wc_Stm32_Hash_Final(STM32_HASH_Context* stmCtx, word32 algo,
#endif /* STM32_CRYPTO */
#ifdef WOLFSSL_STM32_PKA
int stm32_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
word32 hashlen, int* res, ecc_key* key);
#endif
#endif /* _WOLFPORT_STM32_H_ */