RTE_CRYPTO_ECDSA_OP_PARAM(3)
π NAME π
rte_crypto_ecdsa_op_param β bestie, this is the DPDK struct that holds all the params for an ECDSA operation, and we are obsessed with her π
(It lives in the DPDK Library Functions Manual, in case you were wondering where this slay came from β¨)
π¦ SYNOPSIS π¦
#include <rte_crypto_asym.h>
πΈ Data Fields πΈ
enum rte_crypto_asym_op_type op_typerte_crypto_param messagerte_crypto_uint krte_crypto_uint rrte_crypto_uint s
π DETAILED DESCRIPTION π
So literally this whole struct is just "ECDSA operation params" β that's the entire vibe π
It's defined at line 606 of the file rte_crypto_asym.h, no cap.
π₯ FIELD DOCUMENTATION π₯
β enum rte_crypto_asym_op_type op_type
Okay so this one tells you whether you're doing signature generation or signature verification. That's it, that's the whole job π«Ά
Defined at line 607 of rte_crypto_asym.h.
π rte_crypto_param message
This is your input message digest β the thing that's gonna get signed, or the thing that's getting verified. Either way she's the star of the show π
Defined at line 610 of rte_crypto_asym.h.
π§ rte_crypto_uint k
The ECDSA per-message secret number, bestie. She's an integer kickin' it in the interval (1, n-1) π
Heads up, and this part matters: if the random number is generated by the PMD, then the'rte_crypto_param.data'parameter should be set toNULL. Do not forget this, I am begging π
Defined at line 613 of rte_crypto_asym.h.
π rte_crypto_uint r
The r component of the elliptic curve signature βοΈ
- For signature generation: it's an output
- For signature verification: it's an input
Defined at line 620 of rte_crypto_asym.h.
π rte_crypto_uint s
The s component of the elliptic curve signature, and yes she's matching r's energy entirely π«
- For signature generation: it's an output
- For signature verification: it's an input
Defined at line 625 of rte_crypto_asym.h.
π AUTHOR π
This one was generated automatically by Doxygen for DPDK from the source code β so nobody hand-wrote it, it basically spawned fully formed like a little documentation icon π¦
okay that's the whole page, ily, go sign something π
This was DPDK, Version 25.11.3, and you were reading rte_crypto...sa_op_param(3) β slay, periodt πβ¨
π¦ 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