crypto_shash_import_core(9)
π 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 π
- Kernel file
./include/crypto/internal/hash.hπ crypto_ahash_export_core(9)crypto_ahash_import_core(9)crypto_shash_export_core(9)
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
- 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