Searched refs:ctr32 (Results 1 – 5 of 5) sorted by relevance
/openssl/crypto/modes/ |
H A D | ctr128.c | 156 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 D | cipher_chacha20_hw.c | 45 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 D | e_chacha20_poly1305.c | 62 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 D | drbg_ctr.c | 393 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 D | e_padlock-x86_64.pl | 40 %PADLOCK_PREFETCH=(ecb=>128, cbc=>64, ctr32=>32); # prefetch errata
|
Completed in 29 milliseconds