tor  0.4.1.0-alpha-dev
Functions
aes_nss.c File Reference
#include "orconfig.h"
#include "lib/crypt_ops/aes.h"
#include "lib/crypt_ops/crypto_nss_mgt.h"
#include "lib/crypt_ops/crypto_util.h"
#include "lib/log/util_bug.h"
#include <pk11pub.h>
#include <secerr.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_value)
 
int evaluate_ctr_for_aes (void)
 

Detailed Description

Use NSS to implement AES_CTR.

Definition in file aes_nss.c.