Lines Matching refs:AES_BLOCK_SIZE
68 unsigned char tmp[AES_BLOCK_SIZE];
75 while (len >= AES_BLOCK_SIZE) {
76 for(n=0; n < AES_BLOCK_SIZE; ++n)
80 len -= AES_BLOCK_SIZE;
81 in += AES_BLOCK_SIZE;
82 out += AES_BLOCK_SIZE;
87 for(n=len; n < AES_BLOCK_SIZE; ++n)
92 memcpy(ivec,iv,AES_BLOCK_SIZE);
94 while (len >= AES_BLOCK_SIZE) {
96 for(n=0; n < AES_BLOCK_SIZE; ++n)
99 len -= AES_BLOCK_SIZE;
100 in += AES_BLOCK_SIZE;
101 out += AES_BLOCK_SIZE;
109 memcpy(ivec,iv,AES_BLOCK_SIZE);
111 while (len >= AES_BLOCK_SIZE) {
112 memcpy(tmp, in, AES_BLOCK_SIZE);
114 for(n=0; n < AES_BLOCK_SIZE; ++n)
116 memcpy(ivec, tmp, AES_BLOCK_SIZE);
117 len -= AES_BLOCK_SIZE;
118 in += AES_BLOCK_SIZE;
119 out += AES_BLOCK_SIZE;
122 memcpy(tmp, in, AES_BLOCK_SIZE);
126 for(n=len; n < AES_BLOCK_SIZE; ++n)
128 memcpy(ivec, tmp, AES_BLOCK_SIZE);