vli_mod_inv(9)
πΈ NAME πΈ
okay bestie, welcome to vli_mod_inv(9) from the Kernel API Manual β this page is literally all about Modular inversion β¨ no cap, that's the whole name vibe. It's giving tiny-but-iconic kernel math energy π
.
β¨ SYNOPSIS β¨
bestie, here's the exact signature β keep every space and comma exactly as shown π«Ά:
void vli_mod_inv (u64 *result , const u64 *input , const u64 *mod ,
unsigned int ndigits );
π ARGUMENTS π
resultβ where to write the vli number π (the destination, the spot, the place it goes).inputβ the vli value to operate on, main character energy π.modβ the modulus, periodt.ndigitsβ length of all vlis β yes, all of them, bestie π .
π SEE ALSO π
okay so if you wanna keep reading (and you should), the kernel file to peek at is ./include/crypto/internal/ecc.h β yes, that one π¦. Here's the full squad, bestie:
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_sub(9)vli_from_be64(9)vli_from_le64(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)
xoxo, your kernel bestie π source/version: ./include/crypto/internal β date: October 2026 β vli_mod_inv(9) out π
β¨
π¦ 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