Reece Wilson
033f7e2453
[+] Aurora::Crypto::X509::GenerateCertificate [*] Fix lazily copied gen1 RSA code [+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP256R1 [+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP256K1 [+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP384R1 [+] Aurora::Crypto::ECC::EECCCurve::eCurveSECP521R1 [*] Unfuck ECC interop [*] Tls pinning: use mbedtls_ssl_conf_verify for tls1.3 (when mbedtls is in a better state)
46 lines
840 B
C++
46 lines
840 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: Crypto.hpp
|
|
Date: 2021-6-11
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::Crypto
|
|
{
|
|
using DerBuffer = Memory::ByteBuffer;
|
|
|
|
namespace X509
|
|
{
|
|
using Certificate = Memory::ByteBuffer;
|
|
}
|
|
|
|
struct RSAPair
|
|
{
|
|
AuString certificate;
|
|
AuString privKey;
|
|
};
|
|
}
|
|
|
|
#if 0
|
|
#include "EHashType.hpp"
|
|
#else
|
|
#include <Aurora/Hashing/EHashType.hpp>
|
|
#endif
|
|
|
|
#include "EKeyType.hpp"
|
|
#include "EPaddingType.hpp"
|
|
|
|
#include "CBC/CBC.hpp"
|
|
#include "TDES/TDES.hpp"
|
|
#include "PBKDF2/PBKDF2.hpp"
|
|
#include "AES/AES.hpp"
|
|
#include "CA/CA.hpp"
|
|
#include "ECC/ECC.hpp"
|
|
#include "PEM/PEM.hpp"
|
|
#include "RSA/RSA.hpp"
|
|
#include "X509/X509.hpp"
|
|
#include "BCrypt/BCrypt.hpp"
|
|
#include "HMAC/HMAC.hpp"
|
|
#include "HashCash/HashCash.hpp" |