Lines Matching refs:use_len
259 size_t use_len, olen = 0; in mbedtls_gcm_starts() local
296 use_len = ( iv_len < 16 ) ? iv_len : 16; in mbedtls_gcm_starts()
298 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_starts()
303 iv_len -= use_len; in mbedtls_gcm_starts()
304 p += use_len; in mbedtls_gcm_starts()
323 use_len = ( add_len < 16 ) ? add_len : 16; in mbedtls_gcm_starts()
325 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_starts()
330 add_len -= use_len; in mbedtls_gcm_starts()
331 p += use_len; in mbedtls_gcm_starts()
347 size_t use_len, olen = 0; in mbedtls_gcm_update() local
369 use_len = ( length < 16 ) ? length : 16; in mbedtls_gcm_update()
381 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_update()
392 length -= use_len; in mbedtls_gcm_update()
393 p += use_len; in mbedtls_gcm_update()
394 out_p += use_len; in mbedtls_gcm_update()