Fix NX, add constant time compare

This commit is contained in:
2026-10-25 17:48:20 -05:00
parent fae86d2eb5
commit d99001d6eb
7 changed files with 16 additions and 89 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ typedef enum {
bool PBKDF2(std::vector<uint8_t> &output, std::string pass,
std::vector<uint8_t> &salt, long itterations, ShaVersion version);
bool ConstantEquals(const TF_Span<uint8_t> left, const TF_Span<uint8_t> right);
bool ConstantEquals(const std::vector<uint8_t>& left, const std::vector<uint8_t>& right);
/**
* @brief Get secure random bytes