Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Structure encoding IO parameters of a hash operation. More...
#include <hash.h>
Data Fields | |
uint8_t * | in_buf |
Start address of input buffer. | |
size_t | in_len |
Bytes to be operated upon. | |
uint8_t * | out_buf |
Start of the output buffer, to be allocated by the application. | |
struct hash_ctx * | ctx |
Context this packet relates to. | |
Structure encoding IO parameters of a hash operation.
The fields which has not been explicitly called out has to be filled up by the app before calling hash_compute().
struct hash_ctx* hash_pkt::ctx |
Context this packet relates to.
This can be useful to get the session details, especially for async ops.
uint8_t* hash_pkt::in_buf |
Start address of input buffer.
size_t hash_pkt::in_len |
Bytes to be operated upon.
uint8_t* hash_pkt::out_buf |
Start of the output buffer, to be allocated by the application.
Can be NULL for in-place ops. To be populated with contents by the driver on return from op / async callback.