Lines Matching refs:AES_BLOCK_SIZE
131 if(len & (AES_BLOCK_SIZE - 1))
148 { aligned_auto(uint_8t, buf, BFR_BLOCKS * AES_BLOCK_SIZE, 16);
159 memcpy(buf, ibuf, m * AES_BLOCK_SIZE);
164 memcpy(obuf, buf, m * AES_BLOCK_SIZE);
166 ibuf += m * AES_BLOCK_SIZE;
167 obuf += m * AES_BLOCK_SIZE;
181 ibuf += AES_BLOCK_SIZE;
182 obuf += AES_BLOCK_SIZE;
192 if(len & (AES_BLOCK_SIZE - 1))
209 { aligned_auto(uint_8t, buf, BFR_BLOCKS * AES_BLOCK_SIZE, 16);
220 memcpy(buf, ibuf, m * AES_BLOCK_SIZE);
225 memcpy(obuf, buf, m * AES_BLOCK_SIZE);
227 ibuf += m * AES_BLOCK_SIZE;
228 obuf += m * AES_BLOCK_SIZE;
242 ibuf += AES_BLOCK_SIZE;
243 obuf += AES_BLOCK_SIZE;
253 if(len & (AES_BLOCK_SIZE - 1))
260 aligned_auto(uint_8t, liv, AES_BLOCK_SIZE, 16);
269 memcpy(liv, iv, AES_BLOCK_SIZE);
277 { aligned_auto(uint_8t, buf, BFR_BLOCKS * AES_BLOCK_SIZE, 16);
288 memcpy(buf, ibuf, m * AES_BLOCK_SIZE);
293 memcpy(obuf, buf, m * AES_BLOCK_SIZE);
295 ibuf += m * AES_BLOCK_SIZE;
296 obuf += m * AES_BLOCK_SIZE;
302 memcpy(iv, ivp, AES_BLOCK_SIZE);
319 memcpy(obuf, iv, AES_BLOCK_SIZE);
320 ibuf += AES_BLOCK_SIZE;
321 obuf += AES_BLOCK_SIZE;
336 memcpy(obuf, iv, AES_BLOCK_SIZE);
337 ibuf += AES_BLOCK_SIZE;
338 obuf += AES_BLOCK_SIZE;
359 { unsigned char tmp[AES_BLOCK_SIZE];
362 if(len & (AES_BLOCK_SIZE - 1))
369 aligned_auto(uint_8t, liv, AES_BLOCK_SIZE, 16);
378 memcpy(liv, iv, AES_BLOCK_SIZE);
386 { aligned_auto(uint_8t, buf, BFR_BLOCKS * AES_BLOCK_SIZE, 16);
397 memcpy(buf, ibuf, m * AES_BLOCK_SIZE);
402 memcpy(obuf, buf, m * AES_BLOCK_SIZE);
404 ibuf += m * AES_BLOCK_SIZE;
405 obuf += m * AES_BLOCK_SIZE;
411 memcpy(iv, ivp, AES_BLOCK_SIZE);
422 memcpy(tmp, ibuf, AES_BLOCK_SIZE);
428 memcpy(iv, tmp, AES_BLOCK_SIZE);
429 ibuf += AES_BLOCK_SIZE;
430 obuf += AES_BLOCK_SIZE;
436 memcpy(tmp, ibuf, AES_BLOCK_SIZE);
446 memcpy(iv, tmp, AES_BLOCK_SIZE);
447 ibuf += AES_BLOCK_SIZE;
448 obuf += AES_BLOCK_SIZE;