Lines Matching refs:copy_len
413 size_t copy_len = 0; in mbedtls_cipher_update() local
437 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
440 copy_len ); in mbedtls_cipher_update()
453 input += copy_len; in mbedtls_cipher_update()
454 ilen -= copy_len; in mbedtls_cipher_update()
471 copy_len = ilen % block_size; in mbedtls_cipher_update()
472 if( copy_len == 0 && in mbedtls_cipher_update()
476 copy_len = block_size; in mbedtls_cipher_update()
479 memcpy( ctx->unprocessed_data, &( input[ilen - copy_len] ), in mbedtls_cipher_update()
480 copy_len ); in mbedtls_cipher_update()
482 ctx->unprocessed_len += copy_len; in mbedtls_cipher_update()
483 ilen -= copy_len; in mbedtls_cipher_update()