DPDK  19.05.0
Data Fields
rte_crypto_rsa_op_param Struct Reference

#include <rte_crypto_asym.h>

Data Fields

enum rte_crypto_asym_op_type op_type
rte_crypto_param message
rte_crypto_param sign
enum rte_crypto_rsa_padding_type pad
enum rte_crypto_auth_algorithm md
enum rte_crypto_auth_algorithm mgf1md

Detailed Description

RSA operation params

Definition at line 392 of file rte_crypto_asym.h.

Field Documentation

Type of RSA operation for transform

Definition at line 393 of file rte_crypto_asym.h.

rte_crypto_param message

Pointer to data

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

Definition at line 394 of file rte_crypto_asym.h.

rte_crypto_param sign

Pointer to RSA signature data. If operation is RSA sign RTE_CRYPTO_ASYM_OP_SIGN, buffer will be over-written with generated signature.

Length of the signature data will be equal to the RSA prime modulus length.

Definition at line 406 of file rte_crypto_asym.h.

RSA padding scheme to be used for transform

Definition at line 415 of file rte_crypto_asym.h.

Hash algorithm to be used for data hash if padding scheme is either OAEP or PSS. Valid hash algorithms are: MD5, SHA1, SHA224, SHA256, SHA384, SHA512

Definition at line 418 of file rte_crypto_asym.h.

Hash algorithm to be used for mask generation if padding scheme is either OAEP or PSS. If padding scheme is unspecified data hash algorithm is used for mask generation. Valid hash algorithms are: MD5, SHA1, SHA224, SHA256, SHA384, SHA512

Definition at line 425 of file rte_crypto_asym.h.


The documentation for this struct was generated from the following file: