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'toNULLin 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
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms