![]() |
nRF Connect SDK API 3.4.99
|
#include <psa/crypto.h>#include <stddef.h>#include <stdint.h>#include <string.h>#include <cracen_psa_primitives.h>Go to the source code of this file.
Functions | |
| psa_status_t | cracen_encapsulate (const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg, const psa_key_attributes_t *output_attributes, uint8_t *output_key, size_t output_key_size, size_t *output_key_length, uint8_t *ciphertext, size_t ciphertext_size, size_t *ciphertext_length) |
| Use a public key to generate a new shared secret key and associated ciphertext. | |
| psa_status_t | cracen_decapsulate (const psa_key_attributes_t *attributes, const uint8_t *key, size_t key_length, psa_algorithm_t alg, const uint8_t *ciphertext, size_t ciphertext_length, const psa_key_attributes_t *output_attributes, uint8_t *output_key, size_t output_key_size, size_t *output_key_length) |
| Use a private key to decapsulate a shared secret key from a ciphertext. | |