aes_ccm_encrypt_update(9)
β¨ aes_ccm_encrypt_update β¨
okay bestie gather round, we're looking at the aes_ccm_encrypt_update(9) page from the Kernel API Manual (section 9, iykyk) and honestly? it's giving "short but mighty" π
πΈ NAME πΈ
aes_ccm_encrypt_update β the lowkey icon that lets you incrementally encrypt data with AES-CCM β¨
π¦ SYNOPSIS π¦
void aes_ccm_encrypt_update (struct aes_ccm_ctx *ctx , u8 *dst , const
u8 *src , size_t len );
π ARGUMENTS π
ctxβ an AES-CCM context π«Ά your whole vibe lives heredstβ the destination buffer π and yes it can be in-place or out-of-place, she's flexible like that. but for other overlaps? the behavior is unspecified π so pls don't, that's not the main character movesrcβ the source plaintext data πΈ the raw material, the moment before the glow-uplenβ number of bytes to encrypt π« count them, bestie
π DESCRIPTION π
okay so the rules are rules:
- You can call this only after all associated data has been processed β no skipping ahead, this is a sequence
- The total length of the encrypted data (over all calls to this function, so like, the running total across every single call) MUST match the
data_lenthat was passed toaes_ccm_initπ no cap, mismatch = not it
π¨ that capital-M MUST is doing a lot of heavy lifting β get the length wrong and the whole thing falls apart fr fr
π CONTEXT π
Any context. literally any. she's adaptable β¨π
β SEE ALSO β
- Kernel file
./include/crypto/aes-ccm.h struct aes_ccm_key(9)struct aes_ccm_ctx(9)aes_ccm_preparekey(9)aes_ccm_encrypt(9)aes_ccm_decrypt(9)aes_ccm_init(9)aes_ccm_auth_update(9)aes_ccm_decrypt_update(9)aes_ccm_encrypt_final(9)aes_ccm_decrypt_final(9)
the whole friend group, honestly π«Ά go read them all
and that's the page!! brought to you by ./include/crypto, dated October 2026, manual name aes_ccm_encrypt_update(9) π mwah, slay, go encrypt responsibly β¨ππ¦
π¦ 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