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_type
  • rte_crypto_param message
  • rte_crypto_uint k
  • rte_crypto_uint r
  • rte_crypto_uint s
  • rte_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 to NULL. 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