kiss updates

This commit is contained in:
liquidraver committed 2026-10-15 21:34:26 +02:00
1 parent 2544c24560
commit ff0e6553a0
16 files changed
+427 -23

No files matched your search

+11
View File
@@ -39,3 +39,14 @@ void mesh::Utils::secureZeroize(void*, size_t) {
bool mesh::Utils::constantTimeEqual(const void*, const void*, size_t) {
throw std::runtime_error("Identity validation requires real Utils integration");
}
// KissModem's hash and encrypt/decrypt commands (not exercised by its tests;
// the one-fragment sha256 is hash_capture.cpp's).
void mesh::Utils::sha256(uint8_t*, size_t, const uint8_t*, int, const uint8_t*, int) {
throw std::runtime_error("KISS hash command requires real Utils integration");
}
int mesh::Utils::encryptThenMAC(const uint8_t*, uint8_t*, const uint8_t*, int) {
throw std::runtime_error("KISS encrypt command requires real Utils integration");
}
int mesh::Utils::MACThenDecrypt(const uint8_t*, uint8_t*, const uint8_t*, int) {
throw std::runtime_error("KISS decrypt command requires real Utils integration");
}