---
name: "rte_crypto_rsa_op_param"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_crypto_rsa_op_param"
---

# rte\_crypto\_rsa\_op\_param(3)

## NAME

rte\_crypto\_rsa\_op\_param

## SYNOPSIS

`#include <rte_crypto_asym.h>`

### Data Fields

enum **rte\_crypto\_asym\_op\_type** **op\_type**\
 **rte\_crypto\_param** **message**\
 **rte\_crypto\_param** **cipher**\
 **rte\_crypto\_param** **sign**\

## Detailed Description

RSA operation params

Definition at line **414** of file **rte\_crypto\_asym.h**.

## Field Documentation

### enum rte\_crypto\_asym\_op\_type op\_type

Type of RSA operation for transform

Definition at line **415** of file **rte\_crypto\_asym.h**.

### rte\_crypto\_param message

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\_param cipher

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\_param sign

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**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
