ovpn_aead_crypto_tmp_iv(9)
π NAME π
ovpn_aead_crypto_tmp_iv β okay so bestie, this one grabs you the pointer to the IV inside a temporary buffer that you already allocated with ovpn_aead_crypto_tmp_size. That's the whole vibe β¨
π SYNOPSIS π
u8 * ovpn_aead_crypto_tmp_iv (struct crypto_aead *aead , void *tmp );
πΈ ARGUMENTS πΈ
aeadβ the AEAD cipher handle, your main character π₯tmpβ a pointer to the very beginning of the temporary buffer, like the front door of the whole thing πͺ
π¦ DESCRIPTION π¦
So what this function does is retrieve a pointer to the initialization vector (IV) sitting inside that temporary buffer. Easy.
But here's the lil plot twist π«Ά β if the AEAD cipher specifies an IV size, the pointer gets adjusted using the AEAD's alignment mask, so everything lands properly aligned. Alignment is not optional, it's a lifestyle π
β RETURN β
A pointer to the IV within the temporary buffer. That's it, that's the gift π
π SEE ALSO π
- Kernel file
./drivers/net/ovpn/crypto_aead.c ovpn_aead_crypto_tmp_size(9),ovpn_aead_crypto_tmp_req(9),ovpn_aead_crypto_req_sg(9)
ngl bestie, go read the friends too β they're all in the same crypto_aead.c friend group π§
mwah π that's a wrap β brought to you by the fine folks at ./drivers/net/ovpn, dated October 2026, kernel API manual and all. slay, go align some pointers π
π¦ 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