spu2_assoc_resp_len(9)
spu2_assoc_resp_len(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally all about spu2_assoc_resp_len(9), and itβs giving βtiny helper, big AAD2 buffer energyβ β¨.
π NAME π
spu2_assoc_resp_len β Determine the size of the AAD2 buffer needed to catch associated data in a SPU2 output packet. No cap, thatβs the whole assignment π«Ά.
β¨ SYNOPSIS β¨
u32 spu2_assoc_resp_len (enum spu_cipher_mode cipher_mode , unsigned int assoc_len , unsigned int iv_len , bool is_encrypt );
π ARGUMENTS π
cipher_modeβ cipher mode. Thatβs it, thatβs the vibe π .assoc_lenβ length of additional associated data, in bytes. (Bytes, bestie β keep up π.)iv_lenβ length of initialization vector, in bytes. Iconic little length parameter πΈ.is_encryptβtrueif encrypting.falseif decrypt. Periodt.
πΈ RETURN πΈ
It returns the Length of buffer to catch associated data in response β yes, thatβs the whole return situation, and it ate π₯.
π¦ SEE ALSO π¦
Kernel file ./drivers/crypto/bcm/spu2.c β and the whole squad:
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_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)spu2_wordalign_padlen(9)
okay thatβs the page, bestie! Source/version: ./drivers/crypto/bcm Β· Date: October 2026 Β· Page: spu2_assoc_resp_len(9) β byeeee πβ¨
π¦ 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