Lines Matching refs:copy_len
615 size_t copy_len = 0; in mbedtls_cipher_update() local
639 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
642 copy_len ); in mbedtls_cipher_update()
655 input += copy_len; in mbedtls_cipher_update()
656 ilen -= copy_len; in mbedtls_cipher_update()
668 copy_len = ilen % block_size; in mbedtls_cipher_update()
669 if( copy_len == 0 && in mbedtls_cipher_update()
673 copy_len = block_size; in mbedtls_cipher_update()
676 memcpy( ctx->unprocessed_data, &( input[ilen - copy_len] ), in mbedtls_cipher_update()
677 copy_len ); in mbedtls_cipher_update()
679 ctx->unprocessed_len += copy_len; in mbedtls_cipher_update()
680 ilen -= copy_len; in mbedtls_cipher_update()