rte_crypto...capability(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’– NAME

rte_cryptodev_symmetric_capability β€” bestie, this is the struct that tells you what a crypto device can actually do πŸ’… (it's from the rte_cryptodev...capability(3) manual page, if you were wondering where you wandered in from ✨)


🌸 SYNOPSIS

#include <rte_cryptodev.h>

πŸŽ€ Data Fields

  • enum rte_crypto_sym_xform_type xform_type β€” the transform type, obvs

πŸ¦‹ Detailed Description

Symmetric Crypto Capability ✨

That's it, that's the whole vibe. This struct is basically the device's "here's what I'm good at" list. Lowkey iconic.

Definition at line 107 of file rte_cryptodev.h.

πŸ‘‘ Field Documentation

⭐ enum rte_crypto_sym_xform_type xform_type

Transform type: Authentication / Cipher / AEAD. Pick your fighter 🫢

Definition at line 108 of file rte_cryptodev.h.

⭐ enum rte_crypto_auth_algorithm algo

The authentication algorithm. no cap, that's it.

Definition at line 112 of file rte_cryptodev.h.

⭐ uint16_t block_size

The algorithm block size πŸ“

Definition at line 114 of file rte_cryptodev.h.

⭐ struct rte_crypto_param_range key_size

Okay so this one flexes in three different contexts, bestie:

  • auth key size range
  • cipher key size range
  • AEAD key size range

It's giving "one field, many jobs" main character energy πŸ‘‘

Definition at line 116 of file rte_cryptodev.h.

⭐ struct rte_crypto_param_range digest_size

The digest size range πŸ“

Definition at line 118 of file rte_cryptodev.h.

⭐ struct rte_crypto_param_range aad_size

Additional authentication data size range. yes it's a lot of words, it's still important 🌈

Definition at line 120 of file rte_cryptodev.h.

⭐ struct rte_crypto_param_range iv_size

Initialisation vector data size range 🧚

Definition at line 122 of file rte_cryptodev.h.

⭐ struct { ... } auth

Symmetric Authentication transform capabilities πŸ”₯ (yes, an anonymous nested struct β€” she ate and left no crumbs)

⭐ enum rte_crypto_cipher_algorithm algo

The cipher algorithm πŸ’€

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. like, either you list them or you defer to the standard, iykyk ⭐

Definition at line 135 of file rte_cryptodev.h.

⭐ struct { ... } cipher

Symmetric Cipher transform capabilities πŸ’œ

⭐ enum rte_crypto_aead_algorithm algo

The AEAD algorithm πŸ¦‹

Definition at line 144 of file rte_cryptodev.h.

πŸ’… Author

Generated automatically by Doxygen for DPDK from the source code πŸ™ˆ (not me, a robot wrote the raw material β€” I just gave it the glow-up ✨)


okay that's the whole page, go forth and query your crypto devices 🫢

signing off with love β€” this was DPDK Version 26.03.0, and this page is rte_crypto...capability(3) πŸŽ€πŸ’–

πŸ“¦ where this page comes from