Fix compile on STM32

pull/4436/head
Jonathan Bennett 2024-08-10 20:04:38 -05:00
rodzic 8ca884bafd
commit b573e0eacc
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -160,8 +160,6 @@ void CryptoEngine::aesEncrypt(uint8_t *in, uint8_t *out)
aes->encryptBlock(out, in);
}
#endif
bool CryptoEngine::setDHPublicKey(uint8_t *pubKey)
{
uint8_t local_priv[32];
@ -176,6 +174,7 @@ bool CryptoEngine::setDHPublicKey(uint8_t *pubKey)
return true;
}
#endif
concurrency::Lock *cryptLock;
void CryptoEngine::setKey(const CryptoKey &k)