rte_crypto_param_t(3)

✨ rte_crypto_param_t ✨

okay bestie, welcome to the rte_crypto_param_t(3) page from the DPDK Library Functions Manual πŸ’– this one is short but it's literally the little struct that carries your crypto vibes around, so let's get into it 🫢


🌸 NAME 🌸

rte_crypto_param_t β€” the struct itself, no notes, just her πŸ‘‘


✨ SYNOPSIS ✨

#include <rte_crypto_asym.h>

πŸŽ€ Data Fields

uint8_t * data
rte_iova_t iova
size_t length

πŸ’… Detailed Description πŸ’…

so basically? it's a buffer to hold crypto params required for asym operations. she's not complicated, she's just necessary 🧚

these buffers can be used for both input to PMD and output from PMD. lowkey versatile, highkey important. but listen β€” when used for output from PMD, the application has to ensure the buffer is large enough to hold the target data. that's on you, not on her πŸ™ˆ

and here's the spicy bit πŸ”₯ if an operation requires the PMD to generate a random number, and the device supports CSRNG, then 'data' should be set to NULL. the crypto parameter in question will not be used by the PMD, as it is internally generated. so don't set it, don't stress about it, the PMD's got it handled πŸ’–

fr fr, set 'data' to NULL in that CSRNG random-number case or you're just doing extra work for no reason πŸ’€

Definition at line 245 of file rte_crypto_asym.h.


πŸ¦‹ Field Documentation πŸ¦‹

🌈 uint8_t* data

pointer to buffer holding data β€” the whole point of the whole thing, honestly ✨

Definition at line 246 of file rte_crypto_asym.h.

🌈 rte_iova_t iova

IO address of data buffer β€” yes she has an IO address, she's fancy like that πŸ’…

Definition at line 248 of file rte_crypto_asym.h.

🌈 size_t length

length of data in bytes β€” keep it accurate bestie, the buffer depends on it πŸ“

Definition at line 250 of file rte_crypto_asym.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so no human author to stan, we stan the toolchain instead πŸŽ€


okay that's the whole page!! DPDK Version 25.11.3, rte_crypto_param_t(3), that's a wrap bestie β€” go forth and buffer responsibly πŸ’œπŸŒΈ

πŸ“¦ where this page comes from