---
name: "rte_security_tls_record_sess_options"
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_security_tls_record_sess_options"
---

# rte\_security\_tls\_record\_sess\_options(3)

## NAME

rte\_security\_tls\_record\_sess\_options

## SYNOPSIS

`#include <rte_security.h>`

### Data Fields

uint32\_t **iv\_gen\_disable**: 1\
 uint32\_t **extra\_padding\_enable**: 1\

## Detailed Description

TLS record session options

Definition at line **629** of file **rte\_security.h**.

## Field Documentation

### uint32\_t iv\_gen\_disable

Disable IV generation in PMD.

- •

  1: Disable IV generation in PMD. When disabled, IV provided in **rte\_crypto\_op** will be used by the PMD.

- •

  0: Enable IV generation in PMD. When enabled, PMD generated random value would be used and application is not required to provide IV.

Definition at line **638** of file **rte\_security.h**.

### uint32\_t extra\_padding\_enable

Enable extra padding

TLS allows user to pad the plain text to hide the actual size of the record. This is required to achieve traffic flow confidentiality in case of TLS/DTLS flows. This padding is in addition to the default padding performed by PMD (which ensures ciphertext is aligned to block size).

On supported devices, application may pass the required additional padding via **rte\_crypto\_op.aux\_flags field.**

**1 : Enable extra padding of the plain text provided. The extra padding value would be read from rte\_crypto\_op.aux\_flags.**

**0 : Disable extra padding**

**Definition at line 654 of file rte\_security.h.**

## Author

**Generated automatically by Doxygen for DPDK from the source code.**
