Mistake on this page?
Report an issue in GitHub or email us
crypto_spe.h
1 /**
2  * \file psa/crypto_spe.h
3  * \brief Platform Security Architecture cryptography module
4  */
5 
6 #ifndef PSA_CRYPTO_SPE_H
7 #define PSA_CRYPTO_SPE_H
8 
9 #include <stddef.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #define psa_crypto_init psa_sec_crypto_init
16 #define psa_get_key_attributes psa_sec_get_key_attributes
17 #define psa_reset_key_attributes psa_sec_reset_key_attributes
18 #define psa_open_key psa_sec_open_key
19 #define psa_close_key psa_sec_close_key
20 #define psa_import_key psa_sec_import_key
21 #define psa_destroy_key psa_sec_destroy_key
22 #define psa_export_key psa_sec_export_key
23 #define psa_export_public_key psa_sec_export_public_key
24 #define psa_copy_key psa_sec_copy_key
25 #define psa_hash_compute psa_sec_hash_compute
26 #define psa_hash_compare psa_sec_hash_compare
27 #define psa_hash_setup psa_sec_hash_setup
28 #define psa_hash_update psa_sec_hash_update
29 #define psa_hash_finish psa_sec_hash_finish
30 #define psa_hash_verify psa_sec_hash_verify
31 #define psa_hash_abort psa_sec_hash_abort
32 #define psa_hash_clone psa_sec_hash_clone
33 #define psa_mac_compute psa_sec_mac_compute
34 #define psa_mac_verify psa_sec_mac_verify
35 #define psa_mac_sign_setup psa_sec_mac_sign_setup
36 #define psa_mac_verify_setup psa_sec_mac_verify_setup
37 #define psa_mac_update psa_sec_mac_update
38 #define psa_mac_sign_finish psa_sec_mac_sign_finish
39 #define psa_mac_verify_finish psa_sec_mac_verify_finish
40 #define psa_mac_abort psa_sec_mac_abort
41 #define psa_cipher_encrypt psa_sec_cipher_encrypt
42 #define psa_cipher_decrypt psa_sec_cipher_decrypt
43 #define psa_cipher_encrypt_setup psa_sec_cipher_encrypt_setup
44 #define psa_cipher_decrypt_setup psa_sec_cipher_decrypt_setup
45 #define psa_cipher_generate_iv psa_sec_cipher_generate_iv
46 #define psa_cipher_set_iv psa_sec_cipher_set_iv
47 #define psa_cipher_update psa_sec_cipher_update
48 #define psa_cipher_finish psa_sec_cipher_finish
49 #define psa_cipher_abort psa_sec_cipher_abort
50 #define psa_aead_encrypt psa_sec_aead_encrypt
51 #define psa_aead_decrypt psa_sec_aead_decrypt
52 #define psa_aead_encrypt_setup psa_sec_aead_encrypt_setup
53 #define psa_aead_decrypt_setup psa_sec_aead_decrypt_setup
54 #define psa_aead_generate_nonce psa_sec_aead_generate_nonce
55 #define psa_aead_set_nonce psa_sec_aead_set_nonce
56 #define psa_aead_set_lengths psa_sec_aead_set_lengths
57 #define psa_aead_update_ad psa_sec_aead_update_ad
58 #define psa_aead_update psa_sec_aead_update
59 #define psa_aead_finish psa_sec_aead_finish
60 #define psa_aead_verify psa_sec_aead_verify
61 #define psa_aead_abort psa_sec_aead_abort
62 #define psa_sign_hash psa_sec_sign_hash
63 #define psa_verify_hash psa_sec_verify_hash
64 #define psa_asymmetric_encrypt psa_sec_asymmetric_encrypt
65 #define psa_asymmetric_decrypt psa_sec_asymmetric_decrypt
66 #define psa_key_derivation_setup psa_sec_key_derivation_setup
67 #define psa_key_derivation_get_capacity psa_sec_key_derivation_get_capacity
68 #define psa_key_derivation_set_capacity psa_sec_key_derivation_set_capacity
69 #define psa_key_derivation_input_bytes psa_sec_key_derivation_input_bytes
70 #define psa_key_derivation_input_key psa_sec_key_derivation_input_key
71 #define psa_key_derivation_key_agreement psa_sec_key_derivation_key_agreement
72 #define psa_key_derivation_output_bytes psa_sec_key_derivation_output_bytes
73 #define psa_key_derivation_output_key psa_sec_key_derivation_output_key
74 #define psa_key_derivation_abort psa_sec_key_derivation_abort
75 #define psa_raw_key_agreement psa_sec_raw_key_agreement
76 #define psa_generate_random psa_sec_generate_random
77 #define psa_generate_key psa_sec_generate_key
78 
79 #define mbedtls_psa_crypto_free mbedtls_psa_sec_crypto_free
80 #define mbedtls_psa_inject_entropy mbedtls_psa_sec_inject_entropy
81 #define psa_set_key_domain_parameters psa_sec_set_key_domain_parameters
82 #define psa_get_key_domain_parameters psa_sec_get_key_domain_parameters
83 
84 #define MBEDTLS_PSA_CRYPTO_KEY_FILE_ID_ENCODES_OWNER 1
85 
86 #include "crypto.h"
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 /* The file "crypto_extra.h" contains vendor-specific definitions. This
93  * can include vendor-defined algorithms, extra functions, etc. */
94 #include "crypto_extra.h"
95 
96 #endif /* PSA_CRYPTO_SPE_H */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.