Symbol: AES_BLOCK_SIZE
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
107
if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 14 * AES_BLOCK_SIZE)
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
117
case 14 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
121
case 12 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
125
case 10 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
239
if(cx->inf.b[0] != 10 * AES_BLOCK_SIZE && cx->inf.b[0] != 12 * AES_BLOCK_SIZE && cx->inf.b[0] != 14 * AES_BLOCK_SIZE)
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
250
case 14 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
253
case 12 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aescrypt.c
256
case 10 * AES_BLOCK_SIZE:
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
114
cx->inf.b[0] = 10 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
164
cx->inf.b[0] = 12 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
217
cx->inf.b[0] = 14 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
345
cx->inf.b[0] = 10 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
433
cx->inf.b[0] = 12 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aeskey.c
534
cx->inf.b[0] = 14 * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/aes/aesopt.h
537
#define RC_LENGTH (5 * (AES_BLOCK_SIZE / 4 - 2))
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
160
for (q = 0; q < AES_BLOCK_SIZE; q += 4)
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
209
for (; nblocks > 0; nblocks--, data += AES_BLOCK_SIZE) {
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
213
memcpy(iv, data, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
221
unsigned char last_cipherblock[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
228
data += (nblocks - 1) * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
229
memcpy(last_cipherblock, data, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
230
for (; nblocks > 0; nblocks--, data -= AES_BLOCK_SIZE) {
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
233
xorblock(nblocks == 1 ? iv : data - AES_BLOCK_SIZE, data);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
235
memcpy(iv, last_cipherblock, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
242
unsigned char iv[AES_BLOCK_SIZE], block[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
243
unsigned char blockN2[AES_BLOCK_SIZE], blockN1[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
251
k5_iov_cursor_init(&cursor, data, num_data, AES_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
254
nblocks = (input_length + AES_BLOCK_SIZE - 1) / AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
257
memset(iv, 0, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
264
memcpy(iv, ivec->data, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
266
memset(iv, 0, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
295
memcpy(ivec->data, iv, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
304
unsigned char iv[AES_BLOCK_SIZE], dummy_iv[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
305
unsigned char block[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
306
unsigned char blockN2[AES_BLOCK_SIZE], blockN1[AES_BLOCK_SIZE];
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
314
k5_iov_cursor_init(&cursor, data, num_data, AES_BLOCK_SIZE, FALSE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
317
nblocks = (input_length + AES_BLOCK_SIZE - 1) / AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
318
last_len = input_length - (nblocks - 1) * AES_BLOCK_SIZE;
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
321
memset(iv, 0, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
328
memcpy(iv, ivec->data, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
330
memset(iv, 0, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
353
memcpy(ivec->data, blockN2, AES_BLOCK_SIZE);
crypto/krb5/src/lib/crypto/builtin/enc_provider/aes.c
362
memcpy(blockN1 + last_len, blockN2 + last_len, AES_BLOCK_SIZE - last_len);
crypto/openssh/cipher-aesctr.c
65
memcpy(x->ctr, iv, AES_BLOCK_SIZE);
crypto/openssh/cipher-aesctr.c
72
u8 buf[AES_BLOCK_SIZE];
crypto/openssh/cipher-aesctr.c
77
aesctr_inc(x->ctr, AES_BLOCK_SIZE);
crypto/openssh/cipher-aesctr.c
80
n = (n + 1) % AES_BLOCK_SIZE;
crypto/openssh/cipher-aesctr.h
28
u8 ctr[AES_BLOCK_SIZE]; /* counter */
crypto/openssl/crypto/aes/aes_ige.c
105
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
106
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
108
memcpy(ivec, iv.data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
109
memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
114
aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
130
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
131
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
133
memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
134
memcpy(ivec + AES_BLOCK_SIZE, iv2p->data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
141
load_block(iv2, ivec + AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
156
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
157
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
159
memcpy(ivec, iv.data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
160
memcpy(ivec + AES_BLOCK_SIZE, iv2.data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
187
unsigned char tmp[AES_BLOCK_SIZE];
crypto/openssl/crypto/aes/aes_ige.c
188
unsigned char tmp2[AES_BLOCK_SIZE];
crypto/openssl/crypto/aes/aes_ige.c
189
unsigned char tmp3[AES_BLOCK_SIZE];
crypto/openssl/crypto/aes/aes_ige.c
190
unsigned char prev[AES_BLOCK_SIZE];
crypto/openssl/crypto/aes/aes_ige.c
196
OPENSSL_assert((length % AES_BLOCK_SIZE) == 0);
crypto/openssl/crypto/aes/aes_ige.c
206
iv2 = ivec + AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
207
while (len >= AES_BLOCK_SIZE) {
crypto/openssl/crypto/aes/aes_ige.c
208
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
211
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
214
memcpy(prev, in, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
216
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
217
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
218
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
222
iv = ivec + AES_BLOCK_SIZE * 2;
crypto/openssl/crypto/aes/aes_ige.c
223
iv2 = ivec + AES_BLOCK_SIZE * 3;
crypto/openssl/crypto/aes/aes_ige.c
225
while (len >= AES_BLOCK_SIZE) {
crypto/openssl/crypto/aes/aes_ige.c
226
out -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
230
memcpy(tmp, out, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
231
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
243
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
249
memcpy(prev, tmp, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
251
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
255
iv = ivec + AES_BLOCK_SIZE * 2;
crypto/openssl/crypto/aes/aes_ige.c
256
iv2 = ivec + AES_BLOCK_SIZE * 3;
crypto/openssl/crypto/aes/aes_ige.c
259
while (len >= AES_BLOCK_SIZE) {
crypto/openssl/crypto/aes/aes_ige.c
260
in -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
261
out -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
262
memcpy(tmp, in, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
263
memcpy(tmp2, in, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
264
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
267
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
269
memcpy(tmp3, tmp2, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
272
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
277
iv2 = ivec + AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
279
while (len >= AES_BLOCK_SIZE) {
crypto/openssl/crypto/aes/aes_ige.c
28
#define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
crypto/openssl/crypto/aes/aes_ige.c
280
memcpy(tmp, out, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
281
memcpy(tmp2, out, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
282
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
285
for (n = 0; n < AES_BLOCK_SIZE; ++n)
crypto/openssl/crypto/aes/aes_ige.c
287
memcpy(tmp3, tmp2, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
290
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
291
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
292
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
41
#define load_block(d, s) memcpy((d).data, (s), AES_BLOCK_SIZE)
crypto/openssl/crypto/aes/aes_ige.c
42
#define store_block(d, s) memcpy((d), (s).data, AES_BLOCK_SIZE)
crypto/openssl/crypto/aes/aes_ige.c
53
size_t len = length / AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
60
OPENSSL_assert((length % AES_BLOCK_SIZE) == 0);
crypto/openssl/crypto/aes/aes_ige.c
65
aes_block_t *iv2p = (aes_block_t *)(ivec + AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
80
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
81
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/aes/aes_ige.c
83
memcpy(ivec, ivp->data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
84
memcpy(ivec + AES_BLOCK_SIZE, iv2p->data, AES_BLOCK_SIZE);
crypto/openssl/crypto/aes/aes_ige.c
91
load_block(iv2, ivec + AES_BLOCK_SIZE);
crypto/openssl/crypto/evp/e_aes.c
3350
|| len < AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes.c
3359
if (len > XTS_MAX_BLOCKS_PER_DATA_UNIT * AES_BLOCK_SIZE) {
crypto/openssl/crypto/evp/e_aes.c
4038
remaining = AES_BLOCK_SIZE - (*buf_len);
crypto/openssl/crypto/evp/e_aes.c
4052
if (!CRYPTO_ocb128_aad(&octx->ocb, buf, AES_BLOCK_SIZE))
crypto/openssl/crypto/evp/e_aes.c
4056
AES_BLOCK_SIZE))
crypto/openssl/crypto/evp/e_aes.c
4060
AES_BLOCK_SIZE))
crypto/openssl/crypto/evp/e_aes.c
4063
written_len = AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes.c
4066
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes.c
4070
trailing_len = len % AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
422
if (len % AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
428
else if (len != ((plen + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE))
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
431
iv = AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
493
unsigned char tail_iv[AES_BLOCK_SIZE];
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
505
if (len < (AES_BLOCK_SIZE + SHA_DIGEST_LENGTH + 1))
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
509
memcpy(ctx->iv, in, AES_BLOCK_SIZE);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
511
in += AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
512
out += AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
513
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
520
memcpy(tail_iv, in + len - 2 * AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
521
AES_BLOCK_SIZE);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
522
aesni_cbc_encrypt(in + len - AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
523
out + len - AES_BLOCK_SIZE, AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
560
aes_off = len - AES_BLOCK_SIZE - blocks * SHA_CBLOCK;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
576
memcpy(ctx->iv, tail_iv, AES_BLOCK_SIZE);
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
815
if (len < AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
817
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
824
return (int)(((len + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
904
AES_BLOCK_SIZE, 16, AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c
923
AES_BLOCK_SIZE, 32, AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
436
if (len % AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
442
else if (len != ((plen + SHA256_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE))
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
445
iv = AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
527
iv = AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
788
if (len < AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
790
len -= AES_BLOCK_SIZE;
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
797
return (int)(((len + SHA256_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE)
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
880
AES_BLOCK_SIZE, 16, AES_BLOCK_SIZE,
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha256.c
899
AES_BLOCK_SIZE, 32, AES_BLOCK_SIZE,
crypto/openssl/engines/e_afalg.c
747
AES_BLOCK_SIZE,
crypto/openssl/engines/e_afalg.h
39
#ifndef AES_BLOCK_SIZE
crypto/openssl/engines/e_dasync.c
687
if (len < AES_BLOCK_SIZE)
crypto/openssl/engines/e_dasync.c
689
len -= AES_BLOCK_SIZE;
crypto/openssl/engines/e_dasync.c
692
return ((len + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE)
crypto/openssl/engines/e_dasync.c
693
& -AES_BLOCK_SIZE)
crypto/openssl/engines/e_ossltest.c
799
if (len % AES_BLOCK_SIZE)
crypto/openssl/engines/e_ossltest.c
805
else if (len != ((plen + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE))
crypto/openssl/engines/e_ossltest.c
827
if (len < (AES_BLOCK_SIZE + SHA_DIGEST_LENGTH + 1))
crypto/openssl/engines/e_ossltest.c
831
in += AES_BLOCK_SIZE;
crypto/openssl/engines/e_ossltest.c
832
out += AES_BLOCK_SIZE;
crypto/openssl/engines/e_ossltest.c
833
len -= AES_BLOCK_SIZE;
crypto/openssl/engines/e_ossltest.c
873
if (len < AES_BLOCK_SIZE)
crypto/openssl/engines/e_ossltest.c
875
len -= AES_BLOCK_SIZE;
crypto/openssl/engines/e_ossltest.c
880
return (int)(((len + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE)
crypto/openssl/engines/e_padlock.c
197
unsigned char iv[AES_BLOCK_SIZE]; /* Initialization vector */
crypto/openssl/engines/e_padlock.c
323
memcpy(cdata->iv, EVP_CIPHER_CTX_iv(ctx), AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
325
memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), cdata->iv, AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
339
if (chunk >= AES_BLOCK_SIZE)
crypto/openssl/engines/e_padlock.c
343
while (chunk < AES_BLOCK_SIZE && nbytes != 0) {
crypto/openssl/engines/e_padlock.c
348
while (chunk < AES_BLOCK_SIZE && nbytes != 0) {
crypto/openssl/engines/e_padlock.c
354
EVP_CIPHER_CTX_set_num(ctx, chunk % AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
360
memcpy(cdata->iv, EVP_CIPHER_CTX_iv(ctx), AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
362
if ((chunk = nbytes & ~(AES_BLOCK_SIZE - 1))) {
crypto/openssl/engines/e_padlock.c
396
memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), cdata->iv, AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
414
if (chunk >= AES_BLOCK_SIZE)
crypto/openssl/engines/e_padlock.c
417
while (chunk < AES_BLOCK_SIZE && nbytes != 0) {
crypto/openssl/engines/e_padlock.c
422
EVP_CIPHER_CTX_set_num(ctx, chunk % AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
428
memcpy(cdata->iv, EVP_CIPHER_CTX_iv(ctx), AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
430
if ((chunk = nbytes & ~(AES_BLOCK_SIZE - 1))) {
crypto/openssl/engines/e_padlock.c
451
memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), cdata->iv, AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
461
memcpy(ctx->iv, ivec, AES_BLOCK_SIZE);
crypto/openssl/engines/e_padlock.c
462
padlock_ctr32_encrypt(out, in, ctx, AES_BLOCK_SIZE * blocks);
crypto/openssl/engines/e_padlock.c
486
#define EVP_CIPHER_block_size_ECB AES_BLOCK_SIZE
crypto/openssl/engines/e_padlock.c
487
#define EVP_CIPHER_block_size_CBC AES_BLOCK_SIZE
crypto/openssl/engines/e_padlock.c
506
AES_BLOCK_SIZE) \
crypto/openssl/include/crypto/aes_platform.h
50
const unsigned char ivec[AES_BLOCK_SIZE]);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
205
if (!ossl_assert(ctx->base.removetlsfixed >= AES_BLOCK_SIZE)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha.c
213
ctx->base.removetlsfixed -= AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
386
if (len % AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
392
else if (len != ((plen + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE))
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
395
iv = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
457
if (len < (AES_BLOCK_SIZE + SHA_DIGEST_LENGTH + 1))
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
461
memcpy(ctx->base.iv, in, AES_BLOCK_SIZE);
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
463
in += AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
464
out += AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
465
len -= AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
64
vctx->removetlsfixed = SHA_DIGEST_LENGTH + AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
675
if (len < AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
677
len -= AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha1_hw.c
683
ctx->tls_aad_pad = (int)(((len + SHA_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
409
if (len % AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
415
else if (len != ((plen + SHA256_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE))
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
418
iv = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
499
iv = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
66
vctx->removetlsfixed = SHA256_DIGEST_LENGTH + AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
727
if (len < AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
729
len -= AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_cbc_hmac_sha256_hw.c
735
ctx->tls_aad_pad = (int)(((len + SHA256_DIGEST_LENGTH + AES_BLOCK_SIZE) & -AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_ccm.h
35
unsigned char b[AES_BLOCK_SIZE];
crypto/openssl/providers/implementations/ciphers/cipher_aes_ccm.h
39
unsigned char b[AES_BLOCK_SIZE];
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
167
nextblocks = ossl_cipher_fillblock(buf, bufsz, AES_BLOCK_SIZE, &in, &inl);
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
169
nextblocks = inl & ~(AES_BLOCK_SIZE - 1);
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
171
if (*bufsz == AES_BLOCK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
172
if (outsize < AES_BLOCK_SIZE) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
176
if (!ciph(ctx, buf, out, AES_BLOCK_SIZE)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
181
outlint = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
183
out += AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.c
199
&& !ossl_cipher_trailingdata(buf, bufsz, AES_BLOCK_SIZE, &in, &inl)) {
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.h
14
#define OCB_MAX_TAG_LEN AES_BLOCK_SIZE
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.h
15
#define OCB_MAX_DATA_LEN AES_BLOCK_SIZE
crypto/openssl/providers/implementations/ciphers/cipher_aes_ocb.h
16
#define OCB_MAX_AAD_LEN AES_BLOCK_SIZE
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
192
|| inl < AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/ciphers/cipher_aes_xts.c
201
if (inl > XTS_MAX_BLOCKS_PER_DATA_UNIT * AES_BLOCK_SIZE) {
crypto/openssl/providers/implementations/include/prov/ciphercommon_gcm.h
76
unsigned char buf[AES_BLOCK_SIZE]; /* Buffer of partial blocks processed via update calls */
crypto/openssl/providers/implementations/rands/drbg_ctr.c
111
int i, outlen = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
136
return ctr_BCC_block(ctr, ctr->KX, in_tmp, AES_BLOCK_SIZE * num_of_blk);
crypto/openssl/providers/implementations/rands/drbg_ctr.c
150
bltmp[(AES_BLOCK_SIZE * 1) + 3] = 1;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
151
bltmp[(AES_BLOCK_SIZE * 2) + 3] = 2;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
152
return ctr_BCC_block(ctr, ctr->KX, bltmp, num_of_blk * AES_BLOCK_SIZE);
crypto/openssl/providers/implementations/rands/drbg_ctr.c
211
int outlen = AES_BLOCK_SIZE;
crypto/openssl/providers/implementations/rands/drbg_ctr.c
245
AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
246
|| outlen != AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
249
AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
250
|| outlen != AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
254
ctr->KX + 16, AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
255
|| outlen != AES_BLOCK_SIZE)
crypto/openssl/providers/implementations/rands/drbg_ctr.c
272
int outlen = AES_BLOCK_SIZE;
crypto/openssl/test/cmactest.c
146
unsigned char buf[AES_BLOCK_SIZE];
crypto/openssl/test/cmactest.c
276
unsigned char buf[AES_BLOCK_SIZE];
crypto/openssl/test/evp_extra_test.c
3358
size_t maclen = AES_BLOCK_SIZE;
crypto/openssl/test/evp_extra_test.c
3366
|| !TEST_size_t_eq(maclen, AES_BLOCK_SIZE))
crypto/openssl/test/evp_extra_test.c
3383
unsigned char mac[AES_BLOCK_SIZE];
crypto/openssl/test/evp_extra_test.c
3385
unsigned char mac2[AES_BLOCK_SIZE];
crypto/openssl/test/evp_extra_test.c
6010
unsigned char buf[AES_BLOCK_SIZE];
crypto/openssl/test/igetest.c
154
unsigned char iv[AES_BLOCK_SIZE * 2];
crypto/openssl/test/igetest.c
226
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
244
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
266
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
292
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
33
static unsigned char saved_iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
330
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
351
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
382
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/igetest.c
413
unsigned char iv[AES_BLOCK_SIZE * 4];
crypto/openssl/test/sslapitest.c
8535
memset(iv, 0, AES_BLOCK_SIZE);
crypto/openssl/test/sslapitest.c
8572
memset(iv, 0, AES_BLOCK_SIZE);
crypto/openssl/test/threadstest.c
855
const unsigned char key[AES_BLOCK_SIZE] = {
crypto/openssl/test/threadstest.c
859
const unsigned char iv[AES_BLOCK_SIZE] = {