spu2_wordalign_padlen(9)
β¨ spu2_wordalign_padlen β¨
okay so bestie, welcome to the Kernel API Manual π you're about to read the most unserious-but-serious page in the whole crypto driver, and honestly? it ate. no cap.
πΈ NAME πΈ
spu2_wordalign_padlen β literally just here to tell you that SPU2 does not require padding. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
u32 spu2_wordalign_padlen (u32 data_size );
π ARGUMENTS π
data_sizeβ the length of the data field, in bytes. yes, in bytes. it gets passed in and then... well. read the next section bestie π
β RETURN β
it returns the length of the status field padding, in bytes β and on SPU2 that is always 0. always. every single time. zero. nada. not a single byte of padding, she simply doesn't need it π (the data_size argument is honestly just there for the vibes, iykyk π)
π₯ SEE ALSO π₯
Kernel file ./drivers/crypto/bcm/spu2.c, plus the whole friend group:
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_digest_size(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)
fr fr go read them all, they're all in ./drivers/crypto/bcm/spu2.c and they all slay in their own way π«Ά
and that's the page!! π§ source ./drivers/crypto/bcm, dated October 2026, filed under spu2_wordalign_padlen(9) β mwah, drink some water, and go compile something πβ¨π
π¦ 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