aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/function/aes
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2022-07-23 14:54:51 +0000
committerGitHub <[email protected]>2022-07-23 14:54:51 +0000
commitb244320b2d228189767aa6d59febceb6b64527fb (patch)
tree179d34e2a3e84231fad72c4bbe9f74673d0b74d0 /src/core/function/aes
parentMerge pull request #68 from saturneric/develop-2.0.8 (diff)
parentfeat(project): add rpm package support (diff)
downloadGpgFrontend-2.0.9.tar.gz
GpgFrontend-2.0.9.zip
Merge pull request #70 from saturneric/dev/2.0.8/saturnericv2.0.9
Develop 2.0.9.1
Diffstat (limited to 'src/core/function/aes')
-rw-r--r--src/core/function/aes/aes_ssl.h8
-rw-r--r--src/core/function/aes/aes_ssl_cbc.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/function/aes/aes_ssl.h b/src/core/function/aes/aes_ssl.h
index b5f0820f..e75b68dd 100644
--- a/src/core/function/aes/aes_ssl.h
+++ b/src/core/function/aes/aes_ssl.h
@@ -29,11 +29,11 @@
#ifndef GPGFRONTEND_AES_SSL_H
#define GPGFRONTEND_AES_SSL_H
-#include "GpgFrontend.h"
-
#include <openssl/aes.h>
#include <openssl/evp.h>
+#include "GpgFrontend.h"
+
namespace GpgFrontend::RawAPI {
/**
@@ -69,6 +69,6 @@ uint8_t *aes_256_cbc_encrypt(EVP_CIPHER_CTX *e, uint8_t *plaintext, int *len);
*/
uint8_t *aes_256_cbc_decrypt(EVP_CIPHER_CTX *e, uint8_t *ciphertext, int *len);
-} // namespace GpgFrontend::RawAPI
+} // namespace GpgFrontend::RawAPI
-#endif // GPGFRONTEND_AES_SSL_H
+#endif // GPGFRONTEND_AES_SSL_H
diff --git a/src/core/function/aes/aes_ssl_cbc.cpp b/src/core/function/aes/aes_ssl_cbc.cpp
index 95ae0ce2..88a54baa 100644
--- a/src/core/function/aes/aes_ssl_cbc.cpp
+++ b/src/core/function/aes/aes_ssl_cbc.cpp
@@ -96,4 +96,4 @@ uint8_t *aes_256_cbc_decrypt(EVP_CIPHER_CTX *e, uint8_t *ciphertext, int *len) {
return plaintext;
}
-} // namespace GpgFrontend::RawAPI \ No newline at end of file
+} // namespace GpgFrontend::RawAPI \ No newline at end of file