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