mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 09:42:35 +00:00
Fix compile on STM32
This commit is contained in:
parent
26d0b2b477
commit
192af05a25
@ -160,8 +160,6 @@ void CryptoEngine::aesEncrypt(uint8_t *in, uint8_t *out)
|
|||||||
aes->encryptBlock(out, in);
|
aes->encryptBlock(out, in);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
bool CryptoEngine::setDHPublicKey(uint8_t *pubKey)
|
bool CryptoEngine::setDHPublicKey(uint8_t *pubKey)
|
||||||
{
|
{
|
||||||
uint8_t local_priv[32];
|
uint8_t local_priv[32];
|
||||||
@ -176,6 +174,7 @@ bool CryptoEngine::setDHPublicKey(uint8_t *pubKey)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
concurrency::Lock *cryptLock;
|
concurrency::Lock *cryptLock;
|
||||||
|
|
||||||
void CryptoEngine::setKey(const CryptoKey &k)
|
void CryptoEngine::setKey(const CryptoKey &k)
|
||||||
|
Loading…
Reference in New Issue
Block a user