rte_crypto_dsa_op_param(3)
π rte_crypto_dsa_op_param π
okay bestie, welcome to the glow-up doc for rte_crypto_dsa_op_param β it's a Library Functions Manual situation, section 3, and she's lowkey carrying the whole DSA operation parameters moment for DPDK. let's get into it π¦
β¨ 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 srte_crypto_uint y
πΈ DETAILED DESCRIPTION πΈ
DSA Operations params, periodt. that's the whole vibe.
Definition at line 574 of file rte_crypto_asym.h.
β¨ FIELD DOCUMENTATION β¨
π
enum rte_crypto_asym_op_type op_type
bestie this is literally telling you the mode: Signature Generation or Verification. pick your lane, queen. π
Definition at line 575 of file rte_crypto_asym.h.
π rte_crypto_param message
the input message to be signed or verified. yes that's the thing you're signing. no, we cannot sign vibes only. π₯²
Definition at line 577 of file rte_crypto_asym.h.
π rte_crypto_uint k
Per-message secret number, which is an integer in the interval (1, q-1). so like, it has to be strictly inside that range, no cap.
ok important tea β β if the random number is generated by the PMD, then'rte_crypto_param.data'parameter should be set toNULL. not optional, fr fr. don't be out here setting it to something else and acting surprised.
Definition at line 579 of file rte_crypto_asym.h.
π rte_crypto_uint r
dsa sign component 'r' value, and she's flexible like that:
- output if
op_type = sign generate - input if
op_type = sign verify
it's giving main character energy both ways honestly. β¨
Definition at line 585 of file rte_crypto_asym.h.
π¦ rte_crypto_uint s
dsa sign component 's' value, same duality, same slay:
- output if
op_type = sign generate - input if
op_type = sign verify
Definition at line 591 of file rte_crypto_asym.h.
π«Ά rte_crypto_uint y
y : Public key of the signer. y = g^x mod p. iconic little formula, memorise her. π
Definition at line 597 of file rte_crypto_asym.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. (so don't come for me about the prose, the robots wrote the facts, i just added the sparkle π§β¨)
aaaand that's the page babe π this was DPDK Version 25.11.3, page rte_crypto_dsa_op_param(3) β the date field is just vibing there all empty, so we're shipping it as-is. mwah, go sign something safely π
ππ
π¦ 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