rte_crypto_rsa_padding(3)
π rte_crypto_rsa_padding π
okay so bestie, this is the rte_crypto_rsa_padding page from the Library Functions Manual β yes, the (3) one β and it's giving RSA padding type energy. Let's get into it. π
π NAME π
rte_crypto_rsa_padding β the name, the icon, the moment. Thatβs it, thatβs the name. π«Ά
β¨ SYNOPSIS β¨
Include this header first, bestie:
#include <rte_crypto_asym.h>
Then weβve got the data fields below. π¦
πΈ Data Fields πΈ
enum rte_crypto_rsa_padding_type typeenum rte_crypto_auth_algorithm hashenum rte_crypto_auth_algorithm mgf1hashuint16_t pss_saltlenrte_crypto_param oaep_label
π« Detailed Description π«
RSA padding type β thatβs the whole vibe of this page, no cap.
Definition at line 287 of file rte_crypto_asym.h.
π§ Field Documentation π§
π enum rte_crypto_rsa_padding_type type π
RSA padding scheme to be used for transform β literally the padding scheme for the transform, bestie.
Definition at line 288 of file rte_crypto_asym.h.
π¦ enum rte_crypto_auth_algorithm hash π¦
RSA padding hash algorithm β valid hash algorithms are: MD5, SHA1, SHA224, SHA256, SHA384, SHA512.
When a specific padding type is selected, the following rules apply:
RTE_CRYPTO_RSA_PADDING_NONE: This field is ignored by thePMDRTE_CRYPTO_RSA_PADDING_PKCS1_5: When signing an operation this field is used to determine value of theDigestInfostructure, therefore specifying which algorithm was used to create the message digest. When doing encryption/decryption this field is ignored for this padding type.RTE_CRYPTO_RSA_PADDING_OAEPThis field shall be set with the hash algorithm used in the padding schemeRTE_CRYPTO_RSA_PADDING_PSSThis field shall be set with the hash algorithm used in the padding scheme (and to create the input message digest)
Definition at line 290 of file rte_crypto_asym.h.
π enum rte_crypto_auth_algorithm mgf1hash π
Hash algorithm to be used for mask generation if the padding scheme is either OAEP or PSS. If the padding scheme is unspecified a data hash algorithm is used for mask generation. Valid hash algorithms are: MD5, SHA1, SHA224, SHA256, SHA384, SHA512.
Definition at line 315 of file rte_crypto_asym.h.
π uint16_t pss_saltlen π
RSA PSS padding salt length β okay so this one is used only when RTE_CRYPTO_RSA_PADDING_PSS padding is selected, otherwise ignored.
Definition at line 323 of file rte_crypto_asym.h.
π rte_crypto_param oaep_label π
RSA OAEP padding optional label β used only when RTE_CRYPTO_RSA_PADDING_OAEP padding is selected, otherwise ignored. If label.data == NULL, a default label (empty string) is used.
Definition at line 330 of file rte_crypto_asym.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code.
mwah π thatβs the page, bestie β footer says DPDK, Version 26.03.0, and rte_crypto_rsa_padding(3). The date slot isnβt shown, so Iβm not inventing one, periodt. π
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms