TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public functions, PSA

Functions

psa_status_t tfm_crypto_aead_encrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_decrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_encrypt_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_decrypt_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_abort (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_finish (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_generate_nonce (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_set_nonce (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_set_lengths (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_update (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_update_ad (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_aead_verify (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_sign_hash (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_verify_hash (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_asymmetric_encrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_asymmetric_decrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_generate_iv (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_set_iv (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_encrypt_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_decrypt_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_update (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_finish (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_abort (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_encrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_cipher_decrypt (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_update (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_finish (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_verify (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_abort (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_clone (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_compute (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_hash_compare (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_get_capacity (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_set_capacity (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_input_bytes (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_output_bytes (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_input_key (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_output_key (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_abort (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_key_derivation_key_agreement (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_generate_random (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_raw_key_agreement (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_sign_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_verify_setup (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_update (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_sign_finish (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_verify_finish (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_abort (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_compute (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 
psa_status_t tfm_crypto_mac_verify (psa_invec in_vec[], size_t in_len, psa_outvec out_vec[], size_t out_len)
 

Detailed Description

Function Documentation

psa_status_t tfm_crypto_aead_abort ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 131 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_decrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 68 of file crypto_aead.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_aead_decrypt_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 122 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_encrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 23 of file crypto_aead.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_aead_encrypt_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 113 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_finish ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 140 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_generate_nonce ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 149 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_set_lengths ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 167 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_set_nonce ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 158 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_update ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 176 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_update_ad ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 185 of file crypto_aead.c.

psa_status_t tfm_crypto_aead_verify ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 194 of file crypto_aead.c.

psa_status_t tfm_crypto_asymmetric_decrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 143 of file crypto_asymmetric.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_asymmetric_encrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 88 of file crypto_asymmetric.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_abort ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 316 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_decrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 372 of file crypto_cipher.c.

psa_status_t tfm_crypto_cipher_decrypt_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 165 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_encrypt ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 363 of file crypto_cipher.c.

psa_status_t tfm_crypto_cipher_encrypt_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 116 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_finish ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 266 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_generate_iv ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 23 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_set_iv ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 71 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_cipher_update ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 214 of file crypto_cipher.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_generate_random ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 523 of file crypto_key_derivation.c.

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_abort ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 211 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_clone ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 257 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_compare ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 335 of file crypto_hash.c.

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_compute ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 306 of file crypto_hash.c.

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_finish ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 114 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 23 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_update ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 69 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_hash_verify ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 164 of file crypto_hash.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_abort ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 426 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_get_capacity ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 177 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_input_bytes ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 245 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_input_key ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 320 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_key_agreement ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 479 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_output_bytes ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 286 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_output_key ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 359 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_set_capacity ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 212 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_key_derivation_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 130 of file crypto_key_derivation.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_abort ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 269 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_compute ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 316 of file crypto_mac.c.

psa_status_t tfm_crypto_mac_sign_finish ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 172 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_sign_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 23 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_update ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 127 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_verify ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 325 of file crypto_mac.c.

psa_status_t tfm_crypto_mac_verify_finish ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 222 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_mac_verify_setup ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 75 of file crypto_mac.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_raw_key_agreement ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 544 of file crypto_key_derivation.c.

Here is the caller graph for this function:

psa_status_t tfm_crypto_sign_hash ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 23 of file crypto_asymmetric.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_crypto_verify_hash ( psa_invec  in_vec[],
size_t  in_len,
psa_outvec  out_vec[],
size_t  out_len 
)

Definition at line 55 of file crypto_asymmetric.c.

Here is the call graph for this function:

Here is the caller graph for this function: