Lines Matching refs:offs
136 size_t offs = 0; in mbedtls_aes_crypt_ctr() local
146 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr()
147 offs++; in mbedtls_aes_crypt_ctr()
149 if (offs == length) in mbedtls_aes_crypt_ctr()
153 if ((length - offs) >= 16) { in mbedtls_aes_crypt_ctr()
154 size_t block_count = (length - offs) / 16; in mbedtls_aes_crypt_ctr()
156 crypto_accel_aes_ctr_be_enc(output + offs, input + offs, in mbedtls_aes_crypt_ctr()
159 offs += block_count * 16; in mbedtls_aes_crypt_ctr()
162 while (offs < length) { in mbedtls_aes_crypt_ctr()
165 output[offs] = stream_block[*nc_off] ^ input[offs]; in mbedtls_aes_crypt_ctr()
166 offs++; in mbedtls_aes_crypt_ctr()