crypto_ahash_export(9)
π crypto_ahash_export(9) π
okay so this page is from the Kernel API Manual, bestie, and the main character is crypto_ahash_export π
β¨ NAME β¨
crypto_ahash_export β extract current message digest state. that's the whole vibe. periodt. π
π¦ SYNOPSIS π¦
int crypto_ahash_export (struct ahash_request *req , void *out );
π ARGUMENTS π
reqβ a reference to theahash_requesthandle whose state is exported π«Άoutβ output buffer of sufficient size that can hold the hash state β¨
πΈ DESCRIPTION πΈ
This function exports the hash state of the ahash_request handle into the caller-allocated output buffer out, which must have sufficient size (e.g. by calling crypto_ahash_statesize). like, no cap, out needs to actually be big enough β the manual literally says sufficient size, and the example sizing move is crypto_ahash_statesize π§
π₯ RETURN π₯
0if the export was successful π< 0if an error occurred π
π SEE ALSO π
the whole linked squad, fr fr:
- Kernel file
./include/crypto/hash.hβMessage Digest Algorithm Definitions(9) struct ahash_alg(9)struct shash_alg(9)Asynchronous Message Digest API(9)crypto_alloc_ahash(9)crypto_free_ahash(9)crypto_has_ahash(9)crypto_ahash_blocksize(9)crypto_ahash_digestsize(9)crypto_ahash_statesize(9)crypto_ahash_reqtfm(9)crypto_ahash_reqsize(9)crypto_ahash_setkey(9)crypto_ahash_finup(9)crypto_ahash_final(9)crypto_ahash_digest(9)crypto_ahash_import(9)crypto_ahash_init(9)crypto_ahash_update(9)Asynchronous Hash Request Handle(9)ahash_request_set_tfm(9)ahash_request_alloc(9)ahash_request_free(9)ahash_request_set_callback(9)ahash_request_set_crypt(9)ahash_request_set_virt(9)Synchronous Message Digest API(9)crypto_alloc_shash(9)crypto_free_shash(9)crypto_shash_blocksize(9)crypto_shash_digestsize(9)crypto_shash_descsize(9)crypto_shash_setkey(9)crypto_shash_digest(9)crypto_shash_tfm_digest(9)crypto_shash_export(9)crypto_shash_import(9)crypto_shash_init(9)crypto_shash_finup(9)crypto_shash_update(9)crypto_shash_final(9)
cute little sign-off: this page lives under ./include/crypto, dated October 2026, and it's serving crypto_ahash_export(9) energy πβ¨π
π¦ 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