spum_wordalign_padlen(9)
π spum_wordalign_padlen(9) β Kernel API Manual π
okay so bestie, this is a little kernel API page from the Kernel API Manual, and it is lowkey serving "tiny alignment helper, main character energy" β¨. It is all about figuring out padding so the data after a field lands on a 4-byte boundary. No cap.
β¨ NAME β¨
spum_wordalign_padlen β Given the length of a data field, determine the padding required to align the data following this field on a 4-byte boundary.
π¦ SYNOPSIS π¦
u32 spum_wordalign_padlen (u32 data_size );
πΈ ARGUMENTS πΈ
data_sizeβ length of data field in bytes π«Ά. That is the one input, bestie.
π RETURN π
- length of status field padding, in bytes π . That is the answer it hands back.
π₯ SEE ALSO π₯
the whole squad is tagged in this one, fr fr:
- Kernel file:
./drivers/crypto/bcm/spu.c spum_ns2_ctx_max_payload(9)spum_nsp_ctx_max_payload(9)spum_response_hdr_len(9)spum_hash_pad_len(9)spum_gcm_ccm_pad_len(9)spum_assoc_resp_len(9)spum_aead_ivlen(9)spum_hash_type(9)spum_digest_size(9)spum_create_request(9)spum_cipher_req_init(9)spum_cipher_req_finish(9)spum_request_pad(9)spum_xts_tweak_in_payload(9)spum_tx_status_len(9)spum_rx_status_len(9)spum_status_process(9)spum_ccm_update_iv(9)
mwah π β source/version line says ./drivers/crypto/bcm, and the date on this page is October 2026. byeee π
π¦ 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