vli_cmp(9)
π NAME π
vli_cmp β compare left and right vlis π
β¨
Okay bestie, you're on the vli_cmp(9) page from the Kernel API Manual π, and the whole NAME situation is literally βcompare left and right vlis.β Short, iconic, no notes. π
β¨ SYNOPSIS β¨
int vli_cmp (const u64 *left , const u64 *right , unsigned int ndigits
);
That's the exact signature, bestie β keep it looking just like that. π
π«Ά ARGUMENTS π«Ά
Three arguments, and the manpage keeps them super simple:
leftβ vlirightβ vlindigitsβ length of both vlis
π₯ RETURN π₯
The return value is the sign of left - right, i.e.:
-1ifleft < right0ifleft == right1ifleft > right
πΈ SEE ALSO πΈ
Kernel file ./include/crypto/internal/ecc.h and the whole friend group:
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_sub(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)
That's the whole page, bestie π«Ά β source/version ./include/crypto/internal, date October 2026, title vli_cmp(9). Bye and slay πβ¨
π¦ 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