mirror of
https://github.com/esphome/esphome.git
synced 2025-09-23 05:32:22 +01:00
preen
This commit is contained in:
@@ -8,8 +8,7 @@
|
|||||||
#include <SHA256.h>
|
#include <SHA256.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome::sha256 {
|
||||||
namespace sha256 {
|
|
||||||
|
|
||||||
#ifdef USE_ESP32
|
#ifdef USE_ESP32
|
||||||
struct SHA256::SHA256Context {
|
struct SHA256::SHA256Context {
|
||||||
@@ -127,5 +126,4 @@ bool SHA256::equals_hex(const char *expected) {
|
|||||||
return this->equals_bytes(parsed);
|
return this->equals_bytes(parsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace sha256
|
} // namespace esphome::sha256
|
||||||
} // namespace esphome
|
|
||||||
|
@@ -5,8 +5,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome::sha256 {
|
||||||
namespace sha256 {
|
|
||||||
|
|
||||||
class SHA256 {
|
class SHA256 {
|
||||||
public:
|
public:
|
||||||
@@ -32,5 +31,4 @@ class SHA256 {
|
|||||||
std::unique_ptr<SHA256Context> ctx_;
|
std::unique_ptr<SHA256Context> ctx_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace sha256
|
} // namespace esphome::sha256
|
||||||
} // namespace esphome
|
|
||||||
|
Reference in New Issue
Block a user