22 lines
237 B
C
22 lines
237 B
C
/**
|
|
* 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
|