Lines Matching refs:copy_len
651 size_t copy_len = 0; in mbedtls_cipher_update() local
673 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update()
676 copy_len); in mbedtls_cipher_update()
691 input += copy_len; in mbedtls_cipher_update()
692 ilen -= copy_len; in mbedtls_cipher_update()
703 copy_len = ilen % block_size; in mbedtls_cipher_update()
704 if (copy_len == 0 && in mbedtls_cipher_update()
707 copy_len = block_size; in mbedtls_cipher_update()
710 memcpy(ctx->unprocessed_data, &(input[ilen - copy_len]), in mbedtls_cipher_update()
711 copy_len); in mbedtls_cipher_update()
713 ctx->unprocessed_len += copy_len; in mbedtls_cipher_update()
714 ilen -= copy_len; in mbedtls_cipher_update()