Home
last modified time | relevance | path

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

/openssl/crypto/modes/
H A Dctr128.c156 unsigned int n, ctr32; in CRYPTO_ctr128_encrypt_ctr32() local
166 ctr32 = GETU32(ivec + 12); in CRYPTO_ctr128_encrypt_ctr32()
182 ctr32 += (u32)blocks; in CRYPTO_ctr128_encrypt_ctr32()
183 if (ctr32 < blocks) { in CRYPTO_ctr128_encrypt_ctr32()
184 blocks -= ctr32; in CRYPTO_ctr128_encrypt_ctr32()
185 ctr32 = 0; in CRYPTO_ctr128_encrypt_ctr32()
189 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
191 if (ctr32 == 0) in CRYPTO_ctr128_encrypt_ctr32()
201 ++ctr32; in CRYPTO_ctr128_encrypt_ctr32()
202 PUTU32(ivec + 12, ctr32); in CRYPTO_ctr128_encrypt_ctr32()
[all …]
/openssl/providers/implementations/ciphers/
H A Dcipher_chacha20_hw.c45 unsigned int n, rem, ctr32; in chacha20_cipher() local
68 ctr32 = ctx->counter[0]; in chacha20_cipher()
86 ctr32 += (unsigned int)blocks; in chacha20_cipher()
87 if (ctr32 < blocks) { in chacha20_cipher()
88 blocks -= ctr32; in chacha20_cipher()
89 ctr32 = 0; in chacha20_cipher()
97 ctx->counter[0] = ctr32; in chacha20_cipher()
98 if (ctr32 == 0) ctx->counter[1]++; in chacha20_cipher()
/openssl/crypto/evp/
H A De_chacha20_poly1305.c62 unsigned int n, rem, ctr32; in chacha_cipher() local
84 ctr32 = key->counter[0]; in chacha_cipher()
101 ctr32 += (unsigned int)blocks; in chacha_cipher()
102 if (ctr32 < blocks) { in chacha_cipher()
103 blocks -= ctr32; in chacha_cipher()
104 ctr32 = 0; in chacha_cipher()
112 key->counter[0] = ctr32; in chacha_cipher()
113 if (ctr32 == 0) key->counter[1]++; in chacha_cipher()
/openssl/providers/implementations/rands/
H A Ddrbg_ctr.c393 unsigned int ctr32, blocks; in drbg_ctr_generate() local
437 ctr32 = GETU32(ctr->V + 12) + blocks; in drbg_ctr_generate()
438 if (ctr32 < blocks) { in drbg_ctr_generate()
440 if (ctr32 != 0) { in drbg_ctr_generate()
441 blocks -= ctr32; in drbg_ctr_generate()
443 ctr32 = 0; in drbg_ctr_generate()
447 PUTU32(ctr->V + 12, ctr32); in drbg_ctr_generate()
/openssl/engines/asm/
H A De_padlock-x86_64.pl40 %PADLOCK_PREFETCH=(ecb=>128, cbc=>64, ctr32=>32); # prefetch errata

Completed in 19 milliseconds