Searched defs:ecount_buf (Results 1 - 5 of 5) sorted by relevance

/external/openssl/crypto/aes/
H A Daes_ctr.c58 unsigned char ecount_buf[AES_BLOCK_SIZE],
60 CRYPTO_ctr128_encrypt(in,out,length,key,ivec,ecount_buf,num,(block128_f)AES_encrypt);
55 AES_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char ivec[AES_BLOCK_SIZE], unsigned char ecount_buf[AES_BLOCK_SIZE], unsigned int *num) argument
/external/chromium_org/third_party/boringssl/src/crypto/aes/
H A Dmode_wrappers.c58 uint8_t ecount_buf[AES_BLOCK_SIZE], unsigned int *num) {
59 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num,
56 AES_ctr128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const AES_KEY *key, uint8_t ivec[AES_BLOCK_SIZE], uint8_t ecount_buf[AES_BLOCK_SIZE], unsigned int *num) argument
/external/chromium_org/third_party/boringssl/src/crypto/modes/
H A Dctr.c76 * contained in *num, and the encrypted counter is kept in ecount_buf. Both
77 * *num and ecount_buf must be initialised with zeros before the first call to
86 uint8_t ecount_buf[16], unsigned int *num,
91 assert(in && out && key && ecount_buf && num);
98 *(out++) = *(in++) ^ ecount_buf[n];
107 (*block)(ivec, ecount_buf, key);
110 out[l] = in[l] ^ ecount_buf[n];
120 (*block)(ivec, ecount_buf, key);
123 *(size_t *)(out + n) = *(size_t *)(in + n) ^ *(size_t *)(ecount_buf + n);
130 (*block)(ivec, ecount_buf, ke
84 CRYPTO_ctr128_encrypt(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], uint8_t ecount_buf[16], unsigned int *num, block128_f block) argument
156 CRYPTO_ctr128_encrypt_ctr32(const uint8_t *in, uint8_t *out, size_t len, const void *key, uint8_t ivec[16], uint8_t ecount_buf[16], unsigned int *num, ctr128_f func) argument
[all...]
/external/openssl/crypto/modes/
H A Dctr128.c104 * encrypted counter is kept in ecount_buf. Both *num and
105 * ecount_buf must be initialised with zeros before the first
116 unsigned char ivec[16], unsigned char ecount_buf[16],
122 assert(in && out && key && ecount_buf && num);
130 *(out++) = *(in++) ^ ecount_buf[n];
140 (*block)(ivec, ecount_buf, key);
144 *(size_t *)(in+n) ^ *(size_t *)(ecount_buf+n);
151 (*block)(ivec, ecount_buf, key);
154 out[n] = in[n] ^ ecount_buf[n];
165 (*block)(ivec, ecount_buf, ke
114 CRYPTO_ctr128_encrypt(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], unsigned char ecount_buf[16], unsigned int *num, block128_f block) argument
190 CRYPTO_ctr128_encrypt_ctr32(const unsigned char *in, unsigned char *out, size_t len, const void *key, unsigned char ivec[16], unsigned char ecount_buf[16], unsigned int *num, ctr128_f func) argument
[all...]
/external/chromium_org/crypto/
H A Dencryptor_openssl.cc160 uint8_t ecount_buf[AES_BLOCK_SIZE] = { 0 }; local
166 input.size(), &aes_key, ivec, ecount_buf, &block_offset); local

Completed in 1726 milliseconds