spu2_digest_size(9)
π spu2_digest_size(9) β like, the Kernel API Manual page you actually wanna read
okay so bestie, welcome to the Kernel API Manual entry for spu2_digest_size π this one's short and sweet and honestly kinda iconic for it.
β¨ NAME β¨
spu2_digest_size β figure out how big a hash digest you should expect the SPU to hand back to you π«Ά
πΈ SYNOPSIS πΈ
u32 spu2_digest_size (u32 alg_digest_size , enum hash_alg alg , enum
hash_type htype );
π¦ ARGUMENTS π¦
alg_digest_sizeβ the number of bytes in the final digest for the algo you're working with, fr fr. that's the size, that's the number.algβ the hash algorithm. which one? that's what this is. β¨htypeβ the type of hash operation (init, update, full, etc) π§ you know, the vibe of the operation.
π SEE ALSO π
bestie the cross-references go HARD, look at this list, it's giving main character energy. also heads up, this lives in the kernel file ./drivers/crypto/bcm/spu2.c π
spu2_cipher_xlate(9)spu2_hash_xlate(9)spu2_fmd_init(9)spu2_fmd_ctrl0_write(9)spu2_fmd_ctrl1_write(9)spu2_fmd_ctrl2_write(9)spu2_fmd_ctrl3_write(9)spu2_ctx_max_payload(9)spu2_payload_length(9)spu2_response_hdr_len(9)spu2_hash_pad_len(9)spu2_gcm_ccm_pad_len(9)spu2_assoc_resp_len(9)spu2_aead_ivlen(9)spu2_hash_type(9)spu2_create_request(9)spu2_cipher_req_init(9)spu2_cipher_req_finish(9)spu2_request_pad(9)spu2_xts_tweak_in_payload(9)spu2_tx_status_len(9)spu2_rx_status_len(9)spu2_status_process(9)spu2_ccm_update_iv(9)spu2_wordalign_padlen(9)
that's the whole page, no cap π short, useful, slays. it's from ./drivers/crypto/bcm, dated October 2026 β mwah, go read the other ones too ππβ
π¦ 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