rte_crypto_rsa_op_param(3)

πŸ’– rte_crypto_rsa_op_param(3) β€” the RSA op params glow-up πŸ’–

okay bestie, welcome to the manual page for rte_crypto_rsa_op_param β€” yes that's the manual name too, section 3, Library Functions Manual energy, we love that for her. this is where all the RSA operation params live, and I'm gonna walk you through every single field like we're gossiping at lunch ✨


✨ SYNOPSIS ✨

#include <rte_crypto_asym.h>

πŸŽ€ Data Fields πŸŽ€

  • enum rte_crypto_asym_op_type op_type
  • rte_crypto_param message
  • rte_crypto_param cipher
  • rte_crypto_param sign

πŸ’… Detailed Description πŸ’…

RSA operation params. that's the whole vibe, no cap.

Definition at line 444 of file rte_crypto_asym.h.

πŸ¦‹ Field Documentation πŸ¦‹

🌸 enum rte_crypto_asym_op_type op_type 🌸

Type of RSA operation for transform. like, which RSA thing are we even doing bestie, this field knows πŸ‘‘

Definition at line 445 of file rte_crypto_asym.h.

🌈 rte_crypto_param message 🌈

Pointer to input data:

  • to be encrypted for RSA public encrypt.
  • to be signed for RSA sign generation.
  • to be authenticated for RSA sign verification.

Pointer to output data:

  • for RSA private decrypt. In this case the underlying array should have been allocated with enough memory to hold plaintext output (i.e. must be at least RSA key size). The message.length field could be either 0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with the decrypted length.
Definition at line 448 of file rte_crypto_asym.h.

πŸ’œ rte_crypto_param cipher πŸ’œ

Pointer to input data:

  • to be decrypted for RSA private decrypt.

Pointer to output data:

  • for RSA public encrypt. In this case the underlying array should have been allocated with enough memory to hold ciphertext output (i.e. must be at least RSA key size). The cipher.length field could be either 0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with the encrypted length.

When RTE_CRYPTO_RSA_PADDING_NONE and RTE_CRYPTO_ASYM_OP_VERIFY selected, this is an output of decrypted signature. yes really, plot twist 🫒

Definition at line 465 of file rte_crypto_asym.h.

πŸ“ rte_crypto_param sign πŸ“

Pointer to input data:

  • to be verified for RSA public decrypt.

Pointer to output data:

  • for RSA private encrypt. In this case the underlying array should have been allocated with enough memory to hold signature output (i.e. must be at least RSA key size). The sign.length field could be either 0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with the signature length.
Definition at line 483 of file rte_crypto_asym.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. not a human girlie, but honestly? she ate πŸ’…


k that's the whole page bestie, you're officially RSA-pilled 🧚 mwah, go slay your asymmetric crypto πŸ’–

this little icon was brought to you by DPDK, Version 25.11.3, and this manual page is rte_crypto_rsa_op_param(3) β€” periodt. βœ¨πŸŽ€

πŸ“¦ where this page comes from