caam_rsa_cou...eading_zeros(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… caam_rsa_count_leading_zeros(9) β€” a Kernel API Manual moment

okay so this is a page from the Kernel API Manual, bestie, and the star of the show is caam_rsa_count_leading_zeros β€” which is lowkey just out here counting leading zeros for you πŸŽ€


✨ NAME ✨

caam_rsa_count_leading_zeros β€” count leading zeros, need it to strip, from a given scatterlist πŸ’–

(no fr, that's what it does: it does the counting, and the whole reason it exists is so those zeros can get stripped off a scatterlist. iconic behaviour honestly.)


🌸 SYNOPSIS 🌸

int caam_rsa_count_leading_zeros (struct scatterlist *sgl , unsigned int nbytes , unsigned int flags );

it hands you back an int, periodt. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sgl β€” the scatterlist you're counting zeros from 🧚 like, this is your main character, the data source, the whole vibe.
  • nbytes β€” number of zeros, in bytes, to strip πŸ“ yes bestie, in bytes, that unit matters.
  • flags β€” operation flags ⭐ the little knobs that tell it how to behave.

πŸ‘‘ SEE ALSO πŸ‘‘


πŸ’€ quick reminder that sgl is a scatterlist and not a plain old buffer β€” do not come in here treating it like a char array, i'm begging πŸ™ˆ

and that's the tea 🫢 this gem comes to you from ./drivers/crypto/caam, dated October 2026 β€” see you in the next one, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from