Lines Matching refs:AES_BLOCK_SIZE
76 os_memcpy(ctx->u.aes.cbc, iv, AES_BLOCK_SIZE);
117 if (len % AES_BLOCK_SIZE)
119 blocks = len / AES_BLOCK_SIZE;
121 for (j = 0; j < AES_BLOCK_SIZE; j++)
125 os_memcpy(crypt, ctx->u.aes.cbc, AES_BLOCK_SIZE);
126 plain += AES_BLOCK_SIZE;
127 crypt += AES_BLOCK_SIZE;
181 if (len % AES_BLOCK_SIZE)
183 blocks = len / AES_BLOCK_SIZE;
185 os_memcpy(tmp, crypt, AES_BLOCK_SIZE);
187 for (j = 0; j < AES_BLOCK_SIZE; j++)
189 os_memcpy(ctx->u.aes.cbc, tmp, AES_BLOCK_SIZE);
190 plain += AES_BLOCK_SIZE;
191 crypt += AES_BLOCK_SIZE;