crypto_ahash_finup(9)
β¨ crypto_ahash_finup β update and finalize message digest β¨
okay bestie, welcome to the Kernel API Manual π this one's a cute lil shortcut function and honestly it's giving "two birds, one stone" and we're obsessed π«Ά
πΈ SYNOPSIS πΈ
int crypto_ahash_finup (struct ahash_request *req );
π ARGUMENTS π
reqβ a reference to theahash_requesthandle π and likeβ¦ this thing holds all the info you need to actually perform the cipher operation. all of it. no notes.
π¦ DESCRIPTION π¦
so here's the tea β β crypto_ahash_finup is literally just a "short-hand" for calling crypto_ahash_update and crypto_ahash_final. that's it. that's the function. two calls, one function, iconic behavior honestly π
and the parameters? same meaning as what's discussed for those two separate functions, no cap. so if you already know how those work, you're set β you don't have to relearn anything, iykyk πβ¨
π RETURN π
see crypto_ahash_final β yeah bestie, we're pointing you over there for the deets on the return value π
π SEE ALSO π
okay this list is LONG but we're gonna get through it together, grab a snack π
- 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_final(9)crypto_ahash_digest(9)crypto_ahash_export(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)
that's the whole page bestie, go forth and hash responsibly π§π
mwah π this one came from ./include/crypto, dated October 2026 β see you in the next manpage, love u fr fr πΈβ¨
π¦ 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