enumrte_crypto_asym_op_typeop_type
Type of RSA operation for transform
Definition at line 415 of file rte_crypto_asym.h.
rte_crypto_parammessage
Pointer to input data
• to be encrypted for RSA public encrypt.
• to be signed for RSA sign generation.
• to be authenticated for RSA sign verification.
Pointer to output data
• for RSA private decrypt. In this case the underlying array should have been allocated with enough
memory to hold plaintext output (i.e. must be at least RSA key size). The message.length field could be
either 0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with
the decrypted length.
Definition at line 418 of file rte_crypto_asym.h.
rte_crypto_paramcipher
Pointer to input data
• to be decrypted for RSA private decrypt.
Pointer to output data
• for RSA public encrypt. In this case the underlying array should have been allocated with enough memory
to hold ciphertext output (i.e. must be at least RSA key size). The cipher.length field could be either
0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with the
encrypted length.
When RTE_CRYPTO_RSA_PADDING_NONE and RTE_CRYPTO_ASYM_OP_VERIFY selected, this is an output of decrypted
signature.
Definition at line 435 of file rte_crypto_asym.h.
rte_crypto_paramsign
Pointer to input data
• to be verified for RSA public decrypt.
Pointer to output data
• for RSA private encrypt. In this case the underlying array should have been allocated with enough
memory to hold signature output (i.e. must be at least RSA key size). The sign.length field could be
either 0 or minimal length expected from PMD. This could be validated and overwritten by the PMD with
the signature length.
Definition at line 453 of file rte_crypto_asym.h.