nrfxlib API 2.8.99
Loading...
Searching...
No Matches
cc3xx_psa_entropy.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef CC3XX_PSA_ENTROPY_H
9#define CC3XX_PSA_ENTROPY_H
10
19#include "psa/crypto.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
36psa_status_t cc3xx_get_entropy(uint32_t flags, size_t *estimate_bits,
37 uint8_t *output, size_t output_size);
38#ifdef __cplusplus
39}
40#endif
41#endif /* CC3XX_PSA_ENTROPY_H */
psa_status_t cc3xx_get_entropy(uint32_t flags, size_t *estimate_bits, uint8_t *output, size_t output_size)
Encrypt and authenticate with an AEAD algorithm in one-shot.