|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Driver Operations Crypto driver operations More...
#include <zephyr/crypto/crypto.h>
Data Fields | |
| crypto_api_query_hw_caps | query_hw_caps |
| REQ Query crypto hardware capabilities. | |
| crypto_api_cipher_begin_session | cipher_begin_session |
| REQ Setup a crypto cipher session. | |
| crypto_api_cipher_free_session | cipher_free_session |
| REQ Cleanup a crypto cipher session. | |
| crypto_api_cipher_async_callback_set | cipher_async_callback_set |
| OPT Register an asynchronous crypto cipher callback. | |
| crypto_api_hash_begin_session | hash_begin_session |
| REQ Setup a crypto hash session. | |
| crypto_api_hash_free_session | hash_free_session |
| REQ Cleanup a crypto hash session. | |
| crypto_api_hash_async_callback_set | hash_async_callback_set |
| OPT Register an asynchronous crypto hash callback. | |
Driver Operations Crypto driver operations
This is the driver API structure any Crypto driver needs to define. It contains function pointers to the operations the driver implements, as well as any other driver-specific constant data.
Members marked with REQ MUST be set by the driver, whereas those marked with OPT are optional.
| crypto_api_cipher_async_callback_set crypto_driver_api::cipher_async_callback_set |
OPT Register an asynchronous crypto cipher callback.
| crypto_api_cipher_begin_session crypto_driver_api::cipher_begin_session |
REQ Setup a crypto cipher session.
| crypto_api_cipher_free_session crypto_driver_api::cipher_free_session |
REQ Cleanup a crypto cipher session.
| crypto_api_hash_async_callback_set crypto_driver_api::hash_async_callback_set |
OPT Register an asynchronous crypto hash callback.
| crypto_api_hash_begin_session crypto_driver_api::hash_begin_session |
REQ Setup a crypto hash session.
| crypto_api_hash_free_session crypto_driver_api::hash_free_session |
REQ Cleanup a crypto hash session.
| crypto_api_query_hw_caps crypto_driver_api::query_hw_caps |
REQ Query crypto hardware capabilities.