WIP
This commit is contained in:
21
esp32_device/main/crypto.h
Normal file
21
esp32_device/main/crypto.h
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Cryptographic functions
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Generate device private key, if required
|
||||
*/
|
||||
bool crypto_gen_priv_key();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user