From 0dfc64678c7774fc6abed78e1e672affa72bd344 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 9 Oct 2019 13:09:57 +0200 Subject: [PATCH] STM32 PKA: added function prototype --- wolfssl/wolfcrypt/port/st/stm32.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wolfssl/wolfcrypt/port/st/stm32.h b/wolfssl/wolfcrypt/port/st/stm32.h index fe38663ff..0dae0661a 100644 --- a/wolfssl/wolfcrypt/port/st/stm32.h +++ b/wolfssl/wolfcrypt/port/st/stm32.h @@ -25,6 +25,7 @@ /* Generic STM32 Hashing and Crypto Functions */ /* Supports CubeMX HAL or Standard Peripheral Library */ +#include #include @@ -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_ */