Tor 0.4.9.0-alpha-dev
|
Use NSS to implement AES_CTR. More...
#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) |
Use NSS to implement AES_CTR.
Definition in file aes_nss.c.
void aes_crypt_inplace | ( | aes_cnt_cipher_t * | cipher, |
char * | data_, | ||
size_t | len_ | ||
) |
aes_cnt_cipher_t * aes_new_cipher | ( | const uint8_t * | key, |
const uint8_t * | iv, | ||
int | key_bits | ||
) |