Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
aead_get.h
Go to the documentation of this file.
1/* Copyright (c) 2024 Nordic Semiconductor
2 * SPDX-License-Identifier: Apache-2.0
3 */
4#ifndef SECURE_STORAGE_ITS_TRANSFORM_AEAD_GET_H
5#define SECURE_STORAGE_ITS_TRANSFORM_AEAD_GET_H
6
16#include <psa/crypto_types.h>
17
23void secure_storage_its_transform_aead_get_scheme(psa_key_type_t *key_type, psa_algorithm_t *alg);
24
34 uint8_t key[static CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_KEY_SIZE]);
35
43 uint8_t nonce[static CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_NONCE_SIZE]);
44
45#endif
psa_status_t secure_storage_its_transform_aead_get_key(secure_storage_its_uid_t uid, uint8_t key[static CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_KEY_SIZE])
Returns the encryption key to use for an ITS entry's AEAD operations.
psa_status_t secure_storage_its_transform_aead_get_nonce(uint8_t nonce[static CONFIG_SECURE_STORAGE_ITS_TRANSFORM_AEAD_NONCE_SIZE])
Generates a nonce for an AEAD operation.
void secure_storage_its_transform_aead_get_scheme(psa_key_type_t *key_type, psa_algorithm_t *alg)
Returns the key type and algorithm to use for the AEAD operations.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
The UID (caller + entry IDs) of an ITS entry.
Definition common.h:25
Common definitions of the secure storage subsystem's ITS APIs.
int32_t psa_status_t
Definition error.h:13