rte_crypto...capability(3)

πŸ’– rte_crypto...capability β€” bestie edition πŸ’–

okay so this is a page from the Library Functions Manual (the rte_crypto...capability(3) one, iykyk) and it's literally just documenting one beautiful little struct. no cap.


✨ NAME ✨

rte_cryptodev_symmetric_capability β€” the struct that tells you what a symmetric crypto thing can actually do πŸ’…


🌸 SYNOPSIS 🌸

#include <rte_cryptodev.h>

πŸŽ€ Data Fields

  • enum rte_crypto_sym_xform_type xform_type

πŸ¦‹ Detailed Description πŸ¦‹

Symmetric Crypto Capability. yes bestie, that's the whole vibe.

Definition at line 107 of file rte_cryptodev.h.

πŸ‘‘ Field Documentation πŸ‘‘

🌈 enum rte_crypto_sym_xform_type xform_type

Transform type : Authentication / Cipher / AEAD. so it's giving "which flavour of transform are we talking about" energy.

Definition at line 108 of file rte_cryptodev.h.

⭐ enum rte_crypto_auth_algorithm algo

authentication algorithm. that's her.

Definition at line 112 of file rte_cryptodev.h.

πŸ“ uint16_t block_size

algorithm block size. how big the blocks are, periodt.

Definition at line 114 of file rte_cryptodev.h.

πŸ’œ struct rte_crypto_param_range key_size

this one's doing triple duty, she's booked and busy:

  • auth key size range
  • cipher key size range
  • AEAD key size range
Definition at line 116 of file rte_cryptodev.h.

🧚 struct rte_crypto_param_range digest_size

digest size range. the range of digest sizes, obviously πŸ’–

Definition at line 118 of file rte_cryptodev.h.

🌸 struct rte_crypto_param_range aad_size

Additional authentication data size range. aad stands for additional authentication data, not me having to spell it out fr fr.

Definition at line 120 of file rte_cryptodev.h.

✨ struct rte_crypto_param_range iv_size

Initialisation vector data size range. the IV! the moment! the icon!

Definition at line 122 of file rte_cryptodev.h.

πŸŽ€ struct { ... } auth

Symmetric Authentication transform capabilities. literally the auth section of this whole capability struct, no cap.


πŸ”₯ enum rte_crypto_cipher_algorithm algo

cipher algorithm. lowkey the main character of this subsection.

Definition at line 127 of file rte_cryptodev.h.

🌈 uint32_t dataunit_set

Supported data-unit lengths: RTE_CRYPTO_CIPHER_DATA_UNIT_LEN_* bits or 0 for lengths defined in the algorithm standard. so like, either you get the specific RTE_CRYPTO_CIPHER_DATA_UNIT_LEN_* bits, or you get a big fat 0 meaning "check the algorithm standard bestie, it's in there".

Definition at line 135 of file rte_cryptodev.h.

πŸ’… struct { ... } cipher

Symmetric Cipher transform capabilities. the cipher half of the glow-up, as promised.


🫢 enum rte_crypto_aead_algorithm algo

AEAD algorithm. AEAD gang rise up 🌈

Definition at line 144 of file rte_cryptodev.h.

πŸ’– Author πŸ’–

Generated automatically by Doxygen for DPDK from the source code. (yes the robot wrote it, we're just here to make it cute.)


k that's the whole page bestie, no notes πŸ’…βœ¨ this was generated for DPDK, Version 25.11.3, and yeah the manpage header had rte_crypto...capability(3) up top and the footer said DPDK β€” Version 25.11.3 down bottom, so consider yourself fully caught up πŸŽ€ bye ily 🫢

πŸ“¦ where this page comes from