Lines Matching refs:AES_BLOCK_SIZE
33 uint8_t iv[AES_BLOCK_SIZE];
68 /* We have already verified that len % AES_BLOCK_SIZE == 0. */
71 in += AES_BLOCK_SIZE;
72 out += AES_BLOCK_SIZE;
73 len -= AES_BLOCK_SIZE;
84 /* We have already verified that len % AES_BLOCK_SIZE == 0. */
87 in += AES_BLOCK_SIZE;
88 out += AES_BLOCK_SIZE;
89 len -= AES_BLOCK_SIZE;
99 uint8_t tmp[AES_BLOCK_SIZE];
102 /* We have already verified that len % AES_BLOCK_SIZE == 0. */
104 for (n = 0; n < AES_BLOCK_SIZE; ++n) {
108 memcpy(ivec, out, AES_BLOCK_SIZE);
109 len -= AES_BLOCK_SIZE;
110 in += AES_BLOCK_SIZE;
111 out += AES_BLOCK_SIZE;
121 uint8_t tmp[AES_BLOCK_SIZE];
124 /* We have already verified that len % AES_BLOCK_SIZE == 0. */
126 memcpy(tmp, in, AES_BLOCK_SIZE);
128 for (n = 0; n < AES_BLOCK_SIZE; ++n) {
131 memcpy(ivec, tmp, AES_BLOCK_SIZE);
132 len -= AES_BLOCK_SIZE;
133 in += AES_BLOCK_SIZE;
134 out += AES_BLOCK_SIZE;
145 if (!qcrypto_length_check(len, AES_BLOCK_SIZE, errp)) {
159 if (!qcrypto_length_check(len, AES_BLOCK_SIZE, errp)) {
173 if (!qcrypto_length_check(len, AES_BLOCK_SIZE, errp)) {
187 if (!qcrypto_length_check(len, AES_BLOCK_SIZE, errp)) {
200 if (niv != AES_BLOCK_SIZE) {
202 AES_BLOCK_SIZE, niv);
206 memcpy(ctx->iv, iv, AES_BLOCK_SIZE);