Home
last modified time | relevance | path

Searched refs:ctr32 (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/modes/
Dctr.c141 unsigned int n, ctr32; in CRYPTO_ctr128_encrypt_ctr32() local
155 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()
168 ctr32 += (uint32_t)blocks; in CRYPTO_ctr128_encrypt_ctr32()
169 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32()
170 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32()
171 ctr32 = 0; in CRYPTO_ctr128_encrypt_ctr32()
175 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
177 if (ctr32 == 0) { in CRYPTO_ctr128_encrypt_ctr32()
188 ++ctr32; in CRYPTO_ctr128_encrypt_ctr32()
189 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
[all …]
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpaes_ctr_process.h243 Ipp32u ctr32 = ((Ipp32u*)(pCtrValue))[3]; in cpProcessAES_ctr128() local
244 ctr32 = ENDIANNESS32(ctr32); in cpProcessAES_ctr128()
247 ctr32 += blocks; in cpProcessAES_ctr128()
248 if(ctr32 < blocks) in cpProcessAES_ctr128()
249 blocks -= ctr32; in cpProcessAES_ctr128()