BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Functions | Variables
aes.cpp File Reference
#include <fc/crypto/aes.hpp>
#include <fc/crypto/openssl.hpp>
#include <fc/exception/exception.hpp>
#include <fc/fwd_impl.hpp>
#include <fc/io/fstream.hpp>
#include <fc/log/logger.hpp>
#include <fc/thread/thread.hpp>
#include <fc/io/raw.hpp>
#include <boost/endian/buffers.hpp>
#include <boost/thread/mutex.hpp>
#include <openssl/opensslconf.h>
#include <openssl/crypto.h>

Go to the source code of this file.

Classes

struct  fc::aes_encoder::impl
 
struct  fc::aes_decoder::impl
 
struct  fc::openssl_thread_config
 

Namespaces

 fc
 

Functions

unsigned fc::aes_encrypt (unsigned char *plaintext, int plaintext_len, unsigned char *key, unsigned char *iv, unsigned char *ciphertext)
 
unsigned fc::aes_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext)
 
unsigned fc::aes_cfb_decrypt (unsigned char *ciphertext, int ciphertext_len, unsigned char *key, unsigned char *iv, unsigned char *plaintext)
 
std::vector< char > fc::aes_encrypt (const fc::sha512 &key, const std::vector< char > &plain_text)
 
std::vector< char > fc::aes_decrypt (const fc::sha512 &key, const std::vector< char > &cipher_text)
 
void fc::aes_save (const fc::path &file, const fc::sha512 &key, std::vector< char > plain_text)
 
std::vector< char > fc::aes_load (const fc::path &file, const fc::sha512 &key)
 

Variables

openssl_thread_config fc::openssl_thread_config_manager