---
name: "rte_pmd_cnxk_crypto_sess"
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_pmd_cnxk_crypto_sess"
---

# rte\_pmd\_cnxk\_crypto\_sess(3)

Crypto CNXK PMD session structure.

## NAME

rte\_pmd\_cnxk\_crypto\_sess - Crypto CNXK PMD session structure.

## SYNOPSIS

`#include <rte_pmd_cnxk_crypto.h>`

### Data Fields

enum **rte\_crypto\_op\_type** **op\_type**\
 enum **rte\_crypto\_op\_sess\_type** **sess\_type**\
 union {\
    struct rte\_security\_session \* **sec\_sess**\
    struct rte\_cryptodev\_sym\_session \* **crypto\_sym\_sess**\
    struct rte\_cryptodev\_asym\_session \* **crypto\_asym\_sess**\
 }; \

## Detailed Description

Crypto CNXK PMD session structure.

This structure represents the session structure that would be used to store the session information.

Definition at line **59** of file **rte\_pmd\_cnxk\_crypto.h**.

## Field Documentation

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

Crypto type (symmetric or asymmetric).

Definition at line **61** of file **rte\_pmd\_cnxk\_crypto.h**.

### enum rte\_crypto\_op\_sess\_type sess\_type

Session type (Crypto or security).

Definition at line **63** of file **rte\_pmd\_cnxk\_crypto.h**.

### struct rte\_security\_session\* sec\_sess

Security session pointer.

Definition at line **67** of file **rte\_pmd\_cnxk\_crypto.h**.

### struct rte\_cryptodev\_sym\_session\* crypto\_sym\_sess

Crypto symmetric session pointer.

Definition at line **69** of file **rte\_pmd\_cnxk\_crypto.h**.

### struct rte\_cryptodev\_asym\_session\* crypto\_asym\_sess

Crypto asymmetric session pointer

Definition at line **71** of file **rte\_pmd\_cnxk\_crypto.h**.

### union { ... }

Session pointer.

## Author

Generated automatically by Doxygen for DPDK from the source code.
