Zephyr API Documentation 4.4.99
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
 Cipher mode associated with the active handler.
union { 
   block_op_t   block_crypt_hndlr 
 Handler for ECB block operations. More...
   cbc_op_t   cbc_crypt_hndlr 
 Handler for CBC operations. More...
   ctr_op_t   ctr_crypt_hndlr 
 Handler for CTR operations. More...
   ccm_op_t   ccm_crypt_hndlr 
 Handler for CCM authenticated operations. More...
   gcm_op_t   gcm_crypt_hndlr 
 Handler for GCM authenticated operations. More...
}; 
 Handler selected for the active cipher mode.

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

Handler selected for the active cipher mode.

◆ block_crypt_hndlr

block_op_t cipher_ops::block_crypt_hndlr

Handler for ECB block operations.

◆ cbc_crypt_hndlr

cbc_op_t cipher_ops::cbc_crypt_hndlr

Handler for CBC operations.

◆ ccm_crypt_hndlr

ccm_op_t cipher_ops::ccm_crypt_hndlr

Handler for CCM authenticated operations.

◆ cipher_mode

enum cipher_mode cipher_ops::cipher_mode

Cipher mode associated with the active handler.

◆ ctr_crypt_hndlr

ctr_op_t cipher_ops::ctr_crypt_hndlr

Handler for CTR operations.

◆ gcm_crypt_hndlr

gcm_op_t cipher_ops::gcm_crypt_hndlr

Handler for GCM authenticated operations.


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