Loading...
Searching...
No Matches
types.h File Reference

Hash type definitions for the PSA Crypto API. More...

Detailed Description

#include "hashes/psa/riot_hashes.h"
#include "kernel_defines.h"
#include "psa/algorithm.h"
+ Include dependency graph for types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  psa_hash_context_t
 Structure containing the hash contexts needed by the application. More...
 
struct  psa_hash_operation_s
 Structure containing a hash context and algorithm. More...
 
#define PSA_HASH_OPERATION_INIT   { 0 }
 This macro returns a suitable initializer for a hash operation object of type psa_hash_operation_t.
 
typedef struct psa_hash_operation_s psa_hash_operation_t
 The type of the state data structure for multipart hash operations.
 
static psa_hash_operation_t psa_hash_operation_init (void)
 Return an initial value for a hash operation object.
 

Macro Definition Documentation

◆ PSA_HASH_OPERATION_INIT

#define PSA_HASH_OPERATION_INIT   { 0 }

This macro returns a suitable initializer for a hash operation object of type psa_hash_operation_t.

Definition at line 128 of file types.h.

Typedef Documentation

◆ psa_hash_operation_t

The type of the state data structure for multipart hash operations.

Before calling any function on a hash operation object, the application must initialize it by any of the following means:

This is an implementation-defined struct. Applications should not make any assumptions about the content of this structure except as directed by the documentation of a specific implementation.

Definition at line 122 of file types.h.

Function Documentation

◆ psa_hash_operation_init()

static psa_hash_operation_t psa_hash_operation_init ( void )
inlinestatic

Return an initial value for a hash operation object.

Returns
struct psa_hash_operation_t

Definition at line 135 of file types.h.