SHA256.h 418 B

1234567891011121314
  1. #pragma once
  2. #include <stdint.h>
  3. #include <stddef.h>
  4. // Mock SHA256 class for testing
  5. // Provides minimal interface to allow Utils.cpp to compile
  6. class SHA256 {
  7. public:
  8. void update(const uint8_t* data, size_t len) {}
  9. void finalize(uint8_t* hash, size_t hashLen) {}
  10. void resetHMAC(const uint8_t* key, size_t keyLen) {}
  11. void finalizeHMAC(const uint8_t* key, size_t keyLen, uint8_t* hash, size_t hashLen) {}
  12. };