8#ifndef CC3XX_PSA_ASYMMETRIC_ENCRYPTION_H
9#define CC3XX_PSA_ASYMMETRIC_ENCRYPTION_H
19#include "psa/crypto.h"
44 const uint8_t *key_buffer,
45 size_t key_buffer_size,
49 const uint8_t *salt,
size_t salt_length,
50 uint8_t *output,
size_t output_size,
51 size_t *output_length);
72 const uint8_t *key_buffer,
73 size_t key_buffer_size,
77 const uint8_t *salt,
size_t salt_length,
78 uint8_t *output,
size_t output_size,
79 size_t *output_length);
psa_status_t cc3xx_asymmetric_encrypt(const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, size_t input_length, const uint8_t *salt, size_t salt_length, uint8_t *output, size_t output_size, size_t *output_length)
Asymmetric encryption (RSA PKCS#1 v1.5 or RSA-OAEP)
psa_status_t cc3xx_asymmetric_decrypt(const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, size_t input_length, const uint8_t *salt, size_t salt_length, uint8_t *output, size_t output_size, size_t *output_length)
Asymmetric decryption (RSA PKCS#1 v1.5 or RSA-OAEP)