1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-22 13:12:22 +01:00
This commit is contained in:
J. Nick Koston
2025-09-18 15:17:25 -05:00
parent 080fe6eae5
commit 8b765715d6
2 changed files with 4 additions and 8 deletions

View File

@@ -8,8 +8,7 @@
#include <SHA256.h>
#endif
namespace esphome {
namespace sha256 {
namespace esphome::sha256 {
#ifdef USE_ESP32
struct SHA256::SHA256Context {
@@ -127,5 +126,4 @@ bool SHA256::equals_hex(const char *expected) {
return this->equals_bytes(parsed);
}
} // namespace sha256
} // namespace esphome
} // namespace esphome::sha256

View File

@@ -5,8 +5,7 @@
#include <string>
#include <memory>
namespace esphome {
namespace sha256 {
namespace esphome::sha256 {
class SHA256 {
public:
@@ -32,5 +31,4 @@ class SHA256 {
std::unique_ptr<SHA256Context> ctx_;
};
} // namespace sha256
} // namespace esphome
} // namespace esphome::sha256