vli_sub(9)
π NAME π
Okay so bestie, welcome to vli_sub(9) β the kernel API manual page for vli_sub β and what it does is subtract right from left. Thatβs the vibe. Thatβs the whole assignment. β¨
π¦ SYNOPSIS π¦
u64 vli_sub (u64 *result , const u64 *left , const u64 *right , unsigned
int ndigits );
Thatβs the signature, no cap. Weβre returning a u64, and the args are result, left, right, and ndigits. Slay. π
π ARGUMENTS π
resultβ where to write result. Thatβs literally the spot the answer goes, bestie.leftβ vli. The left one. Main character energy.rightβ vli. The right one. Also iconic.ndigitsβ length of all vlis. So like, how many digits long all the vlis are. Periodt.
πΈ NOTE πΈ
Heads up, bestie: this one can modify in-place. Not a drill. Itβs giving βsame buffer, new you.β πβ¨
π₯ RETURN π₯
It returns the carry bit.
Thatβs it. Thatβs the return. Carry bit supremacy. π
π SEE ALSO π
Kernel file ./include/crypto/internal/ecc.h is the source/crew here, and these are the related manual-page besties:
ecc_swap_digits(9)ecc_digits_from_bytes(9)ecc_is_key_valid(9)ecc_gen_privkey(9)ecc_make_pub_key(9)crypto_ecdh_shared_secret(9)ecc_is_pubkey_valid_partial(9)ecc_is_pubkey_valid_full(9)vli_is_zero(9)vli_cmp(9)vli_from_be64(9)vli_from_le64(9)vli_mod_inv(9)vli_mod_mult_slow(9)vli_num_bits(9)ecc_alloc_point(9)ecc_free_point(9)ecc_point_is_zero(9)ecc_point_mult_shamir(9)
And thatβs the whole vli_sub(9) moment, bestie π«Ά β signed off from ./include/crypto/internal, dated October 2026, and yes, the vli_sub(9) manual is literally right here living its best life. Bye bestie ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms