crypto_shash_import_core(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… crypto_shash_import_core(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for crypto_shash_import_core, and honestly? it's a little icon. it does exactly one job and it does it slayfully. let's get into it 🫢


✨ NAME ✨

crypto_shash_import_core β€” import core state 🌸

like, the core state specifically. not the whole thing. we'll get there, don't worry πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int crypto_shash_import_core (struct shash_desc *desc , const void *in );

that's it. that's the whole signature. short, sweet, iconic πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • desc β€” a reference to the operational state handle that the state gets imported into, iykyk. it's the destination, the main character of this operation πŸ’…
  • in β€” the buffer holding the state. this is where the state is coming from πŸ“

🌈 DESCRIPTION 🌈

so here's the vibe: this function imports the hash state without the partial block buffer. that's the whole thing. that's the moment. no cap.

<div style="display:none"></div>

✨ lowkey important detail: it's the core import β€” the partial block buffer is not part of this. don't come for me, that's just what the page says πŸ’€

🧚 CONTEXT 🧚

works in softirq or process context. so like, flexible queen energy 🌸


⭐ RETURN ⭐

  • 0 β€” the import was successful, we ate, no crumbs πŸ”₯
  • < 0 β€” an error occurred 😭 something went wrong bestie, check your values

πŸ’œ SEE ALSO πŸ’œ

go read those too, they're all part of the same friend group fr fr 🫢


and that's the page!! sourced from ./include/crypto/internal, dated October 2026, and it's the crypto_shash_import_core(9) page β€” mwah, bye bestie πŸ’‹πŸŽ€πŸ§š

πŸ“¦ where this page comes from