Lines Matching refs:use_len
282 size_t use_len, olen = 0; in mbedtls_gcm_starts() local
317 use_len = ( iv_len < 16 ) ? iv_len : 16; in mbedtls_gcm_starts()
319 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_starts()
324 iv_len -= use_len; in mbedtls_gcm_starts()
325 p += use_len; in mbedtls_gcm_starts()
344 use_len = ( add_len < 16 ) ? add_len : 16; in mbedtls_gcm_starts()
346 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_starts()
351 add_len -= use_len; in mbedtls_gcm_starts()
352 p += use_len; in mbedtls_gcm_starts()
368 size_t use_len, olen = 0; in mbedtls_gcm_update() local
390 use_len = ( length < 16 ) ? length : 16; in mbedtls_gcm_update()
402 for( i = 0; i < use_len; i++ ) in mbedtls_gcm_update()
413 length -= use_len; in mbedtls_gcm_update()
414 p += use_len; in mbedtls_gcm_update()
415 out_p += use_len; in mbedtls_gcm_update()