Tor  0.4.7.0-alpha-dev
Macros | Functions
aes_openssl.c File Reference

Use OpenSSL to implement AES_CTR. More...

#include "orconfig.h"
#include "lib/crypt_ops/aes.h"
#include "lib/crypt_ops/crypto_util.h"
#include "lib/log/util_bug.h"
#include "lib/arch/bytes.h"
#include "lib/crypt_ops/compat_openssl.h"
#include <openssl/opensslv.h>
#include "lib/crypt_ops/crypto_openssl_mgt.h"
#include <stdlib.h>
#include <string.h>
#include <openssl/aes.h>
#include <openssl/evp.h>
#include <openssl/engine.h>
#include <openssl/modes.h>
#include "lib/log/log.h"
#include "lib/ctime/di_ops.h"

Go to the source code of this file.

Functions

aes_cnt_cipher_t * aes_new_cipher (const uint8_t *key, const uint8_t *iv, int key_bits)
 
void aes_cipher_free_ (aes_cnt_cipher_t *cipher_)
 
void aes_crypt_inplace (aes_cnt_cipher_t *cipher_, char *data, size_t len)
 
int evaluate_evp_for_aes (int force_val)
 
int evaluate_ctr_for_aes (void)
 

Detailed Description

Use OpenSSL to implement AES_CTR.

Definition in file aes_openssl.c.