DPDK
18.11.11
|
#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 |
RSA operation params
Definition at line 367 of file rte_crypto_asym.h.
enum rte_crypto_asym_op_type op_type |
Type of RSA operation for transform
Definition at line 368 of file rte_crypto_asym.h.
rte_crypto_param message |
Pointer to data
Definition at line 371 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 380 of file rte_crypto_asym.h.
enum rte_crypto_rsa_padding_type pad |
RSA padding scheme to be used for transform
Definition at line 390 of file rte_crypto_asym.h.
enum rte_crypto_auth_algorithm md |
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 393 of file rte_crypto_asym.h.
enum rte_crypto_auth_algorithm mgf1md |
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 400 of file rte_crypto_asym.h.