Zephyr API Documentation 4.4.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cipher_ops Struct Reference

Cipher operation handlers selected for a session. More...

#include <zephyr/crypto/cipher.h>

Data Fields

enum cipher_mode cipher_mode
union { 
   block_op_t   block_crypt_hndlr 
   cbc_op_t   cbc_crypt_hndlr 
   ctr_op_t   ctr_crypt_hndlr 
   ccm_op_t   ccm_crypt_hndlr 
   gcm_op_t   gcm_crypt_hndlr 
   cfb_op_t   cfb_crypt_hndlr 
 Handler for CFB operations. More...
   ofb_op_t   ofb_crypt_hndlr 
 Handler for OFB operations. More...
   ctr_drbg_op_t   ctr_drbg_crypt_hndlr 
}; 

Detailed Description

Cipher operation handlers selected for a session.

The crypto driver populates this structure during cipher_begin_session() according to the selected algorithm, mode, and operation type.

Field Documentation

◆ [union]

union { ... } cipher_ops

◆ block_crypt_hndlr

block_op_t cipher_ops::block_crypt_hndlr

◆ cbc_crypt_hndlr

cbc_op_t cipher_ops::cbc_crypt_hndlr

◆ ccm_crypt_hndlr

ccm_op_t cipher_ops::ccm_crypt_hndlr

◆ cfb_crypt_hndlr

cfb_op_t cipher_ops::cfb_crypt_hndlr

Handler for CFB operations.

◆ cipher_mode

enum cipher_mode cipher_ops::cipher_mode

◆ ctr_crypt_hndlr

ctr_op_t cipher_ops::ctr_crypt_hndlr

◆ ctr_drbg_crypt_hndlr

ctr_drbg_op_t cipher_ops::ctr_drbg_crypt_hndlr

◆ gcm_crypt_hndlr

gcm_op_t cipher_ops::gcm_crypt_hndlr

◆ ofb_crypt_hndlr

ofb_op_t cipher_ops::ofb_crypt_hndlr

Handler for OFB operations.


The documentation for this struct was generated from the following file: