nrfxlib API 2.7.99
Loading...
Searching...
No Matches
cc3xx_psa_hash.h File Reference
#include "psa/crypto.h"
#include "cc3xx_crypto_primitives.h"

Go to the source code of this file.

Functions

psa_status_t cc3xx_hash_setup (cc3xx_hash_operation_t *operation, psa_algorithm_t alg)
 Set up an operation object for hashing with an algorithm.
 
psa_status_t cc3xx_hash_clone (const cc3xx_hash_operation_t *source_operation, cc3xx_hash_operation_t *target_operation)
 Clone an operation object.
 
psa_status_t cc3xx_hash_update (cc3xx_hash_operation_t *operation, const uint8_t *input, size_t input_length)
 Updates an hash operation with some new input data.
 
psa_status_t cc3xx_hash_finish (cc3xx_hash_operation_t *operation, uint8_t *hash, size_t hash_size, size_t *hash_length)
 Finish an hash operation and produce the hash output.
 
psa_status_t cc3xx_hash_abort (cc3xx_hash_operation_t *operation)
 Abort an hash operation.
 
psa_status_t cc3xx_hash_compute (psa_algorithm_t alg, const uint8_t *input, size_t input_length, uint8_t *hash, size_t hash_size, size_t *hash_length)
 Performs hashing of the input in a single call.
 

Detailed Description

This file contains the declaration of the entry points associated to the hash capability (single-part and multipart) as described by the PSA Cryptoprocessor Driver interface specification