Loading...
Searching...
No Matches

Function declarations for low level wrapper functions for cipher operations. More...

Detailed Description

Function declarations for low level wrapper functions for cipher operations.

Author
Lena Boeckmann lena..nosp@m.boec.nosp@m.kmann.nosp@m.@haw.nosp@m.-hamb.nosp@m.urg..nosp@m.de

Definition in file psa_ciphers.h.

#include "psa/crypto.h"
#include "psa/crypto_contexts.h"
+ Include dependency graph for psa_ciphers.h:

Go to the source code of this file.

Functions

psa_status_t psa_cipher_cbc_aes_128_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, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for an AES 128 CBC encryption.
 
psa_status_t psa_cipher_cbc_aes_128_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, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for an AES 128 CBC decryption.
 
psa_status_t psa_cipher_cbc_aes_192_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, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for an AES 192 CBC encryption.
 
psa_status_t psa_cipher_cbc_aes_256_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, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for an AES 256 CBC encryption.
 
psa_status_t psa_cipher_chacha20_encrypt (uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for ChaCha20 encryption/decryption.
 
psa_status_t psa_cipher_chacha20_decrypt (uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *output, size_t output_size, size_t *output_length)
 Low level wrapper function to call a driver for ChaCha20 decryption.