crypto_ahash_import_core(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_ahash_import_core(9) β€” like, the whole kernel API manual moment πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for crypto_ahash_import_core β€” yes that's a mouthful, yes it's iconic, and yes we're gonna get through it together. sit down, hydrate, let's go ✨


🌸 NAME 🌸

crypto_ahash_import_core β€” import core state 🫢


✨ SYNOPSIS ✨

int crypto_ahash_import_core (struct ahash_request *req , const void *in );

that's the whole vibe. one function, two args, one int coming back atcha πŸ’«


πŸ¦‹ ARGUMENTS πŸ¦‹

  • req β€” a reference to the ahash_request handle that the state is being imported into. like, this is the destination, the main character of the operation πŸ‘‘
  • in β€” the buffer that's holding the state. the source. the lore. the payload πŸŽ€

πŸ’– DESCRIPTION πŸ’–

so what it does is: import the hash state β€” without the partial block buffer. that's it, that's the whole thing. no partial block buffer invited to this party, ngl πŸ™ˆ


🌈 CONTEXT 🌈

  • Softirq or process context. that's the vibe check, and it passed βœ…

⭐ RETURN ⭐

  • 0 if the import was successful πŸŽ‰
  • < 0 if an error occurred πŸ’€ (not the slay outcome, but forewarned is forearmed)

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group fr fr πŸ’œ


and that's the page bestie!! πŸ§šβ€β™€οΈ this little gem lives in ./include/crypto/internal, dated October 2026 β€” that's the source/version and date flex, periodt πŸ’…πŸŒΈ

πŸ“¦ where this page comes from