Zephyr Project API  3.3.0
A Scalable Open Source RTOS
hash_pkt Struct Reference

#include <hash.h>

Data Fields

uint8_tin_buf
 
size_t in_len
 
uint8_tout_buf
 
struct hash_ctxctx
 

Detailed Description

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().

Field Documentation

◆ ctx

struct hash_ctx* hash_pkt::ctx

Context this packet relates to. This can be useful to get the session details, especially for async ops.

◆ in_buf

uint8_t* hash_pkt::in_buf

Start address of input buffer

◆ in_len

size_t hash_pkt::in_len

Bytes to be operated upon

◆ out_buf

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.


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