rte_crypto...riv_key_qt(3)

πŸ’– rte_crypto_rsa_priv_key_qt β€” the RSA private key glow-up πŸ’–

okay so bestie, this is a page from the Library Functions Manual for DPDK, and it's all about one struct. yes, literally one struct. and it ATE. let's get into it 🫢


✨ NAME ✨

rte_crypto_rsa_priv_key_qt β€” the struct that's giving RSA private key in quintuple format, no cap.


🌸 SYNOPSIS 🌸

#include <rte_crypto_asym.h>

πŸŽ€ Data Fields πŸŽ€

  • rte_crypto_uint p
  • rte_crypto_uint q
  • rte_crypto_uint dP
  • rte_crypto_uint dQ
  • rte_crypto_uint qInv

that's the whole roster. five icons. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So this struct is describing an RSA private key in quintuple format. Like, a whole RSA private key but split into five little besties instead of one big annoying blob.

It follows the PKCS V1.5 RSA Cryptography Standard, so if you wanna know the lore, that's where the lore lives. iykyk.

Its definition lives at line 271 of file rte_crypto_asym.h. pop off, line 271. πŸ‘‘


πŸ’œ FIELD DOCUMENTATION πŸ’œ

rte_crypto_uint p

the first factor. she's the first one. the opening act. πŸ’–

Definition at line 272 of file rte_crypto_asym.h.

rte_crypto_uint q

the second factor. the sequel. and honestly? the sequel kinda devoured. 😭

Definition at line 274 of file rte_crypto_asym.h.

rte_crypto_uint dP

the first factor's CRT exponent. so like, p's own personal CRT moment. main character energy for real. ✨

Definition at line 276 of file rte_crypto_asym.h.

rte_crypto_uint dQ

the second's factor's CRT exponent. yes, the original says "second's factor's" and yes, we are keeping it exactly like that, character for character, because respecting the source is the vibe. πŸ™ˆ

Definition at line 278 of file rte_crypto_asym.h.

rte_crypto_uint qInv

the CRT coefficient. the little connective glue holding the whole quintuple together. so real. πŸ”₯

Definition at line 280 of file rte_crypto_asym.h.


lowkey the field order is just p, q, dP, dQ, qInv and every single line number is even (272, 274, 276, 278, 280). not me noticing that. the way the docs are structured is honestly so satisfying. 🌈

πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. no thoughts, head empty, just vibes and a doc generator doing its thing. 🧚


and that's the whole page, bestie! this one came from DPDK, Version 25.11.3, in the Library Functions Manual β€” so go forth and use rte_crypto_rsa_priv_key_qt responsibly, mwah πŸ’‹βœ¨πŸŽ€

πŸ“¦ where this page comes from