declared why2_chat_ecc_verify_signature

This commit is contained in:
Václav Šmejkal 2025-01-30 19:38:02 +01:00
parent 7c2c8b9138
commit b859c88dcc
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -23,6 +23,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
extern "C" {
#endif
#include <why2/flags.h>
#include <why2/chat/config.h>
//MACROS
@ -37,6 +39,7 @@ void why2_chat_init_keys(void); //INIT (POSSIBLY GENERATE) ECC KEYS
void why2_chat_deallocate_keys(void); //DEALLOCATE :) (NO SLUR HERE)
char *why2_chat_ecc_sign(char *message); //SIGN message WITH ECC KEY
why2_bool why2_chat_ecc_verify_signature(char *message, char *signature);
char *why2_sha256(char *input); //HASH input USING SHA256 AND RETURN IN STRING