Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set(HMAC_HEADERS
include/hmac_cpp/sha512.hpp
include/hmac_cpp/secure_buffer.hpp
include/hmac_cpp/memlock.hpp
include/hmac_cpp/secret.hpp
include/hmac_cpp/secret_string.hpp
include/hmac_cpp/encoding.hpp
include/hmac_cpp/version.hpp
)
Expand Down
2 changes: 1 addition & 1 deletion README-RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ auto mac = hmac::get_hmac(key, payload, hmac::TypeHash::SHA256);
обфусцирует данные и по возможности закрепляет их в RAM:

```cpp
#include <hmac_cpp/secret.hpp>
#include <hmac_cpp/secret_string.hpp>

hmac_cpp::secret_string token("super-secret-token");

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ For additional protection in memory, `hmac_cpp::secret_string` obfuscates
the data and tries to keep it locked in RAM:

```cpp
#include <hmac_cpp/secret.hpp>
#include <hmac_cpp/secret_string.hpp>

hmac_cpp::secret_string token("super-secret-token");

Expand Down
2 changes: 1 addition & 1 deletion example_secret.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <iostream>
#include <hmac_cpp/secret.hpp>
#include <hmac_cpp/secret_string.hpp>

int main() {
hmac_cpp::secret_string token("super-secret-token");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef HMAC_CPP_SECRET_HPP_INCLUDED
#define HMAC_CPP_SECRET_HPP_INCLUDED
#ifndef HMAC_CPP_SECRET_STRING_HPP_INCLUDED
#define HMAC_CPP_SECRET_STRING_HPP_INCLUDED

#include <vector>
#include <array>
Expand Down Expand Up @@ -270,4 +270,4 @@ class secret_string {

} // namespace hmac_cpp

#endif // HMAC_CPP_SECRET_HPP_INCLUDED
#endif // HMAC_CPP_SECRET_STRING_HPP_INCLUDED
2 changes: 1 addition & 1 deletion test_all.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "hmac_cpp/hmac.hpp"
#include "hmac_cpp/hmac_utils.hpp"
#include "hmac_cpp/encoding.hpp"
#include "hmac_cpp/secret.hpp"
#include "hmac_cpp/secret_string.hpp"

static std::time_t mock_time_value = 0;
static int mock_errno_value = 0;
Expand Down
Loading