ovpn_aead_crypto_tmp_iv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 🌈


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