Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hash_pkt Struct Reference

Structure encoding IO parameters of a hash operation. More...

#include <hash.h>

Data Fields

uint8_tin_buf
 Start address of input buffer.
 
size_t in_len
 Bytes to be operated upon.
 
uint8_tout_buf
 Start of the output buffer, to be allocated by the application.
 
struct hash_ctxctx
 Context this packet relates to.
 

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: