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_import_key psa_sec_import_key
17 #define psa_destroy_key psa_sec_destroy_key
18 #define psa_get_key_information psa_sec_get_key_information
19 #define psa_export_key psa_sec_export_key
20 #define psa_export_public_key psa_sec_export_public_key
21 #define psa_key_policy_init psa_key_policy_init
22 #define psa_key_policy_get_usage psa_key_policy_get_usage
23 #define psa_key_policy_get_algorithm psa_key_policy_get_algorithm
24 #define psa_key_policy_set_usage psa_key_policy_set_usage
25 #define psa_set_key_policy psa_sec_set_key_policy
26 #define psa_get_key_policy psa_sec_get_key_policy
27 #define psa_get_key_lifetime psa_sec_get_key_lifetime
28 #define psa_hash_setup psa_sec_hash_setup
29 #define psa_hash_update psa_sec_hash_update
30 #define psa_hash_finish psa_sec_hash_finish
31 #define psa_hash_verify psa_sec_hash_verify
32 #define psa_hash_abort psa_sec_hash_abort
33 #define psa_mac_sign_setup psa_sec_mac_sign_setup
34 #define psa_mac_verify_setup psa_sec_mac_verify_setup
35 #define psa_mac_update psa_sec_mac_update
36 #define psa_mac_sign_finish psa_sec_mac_sign_finish
37 #define psa_mac_verify_finish psa_sec_mac_verify_finish
38 #define psa_mac_abort psa_sec_mac_abort
39 #define psa_cipher_encrypt_setup psa_sec_cipher_encrypt_setup
40 #define psa_cipher_decrypt_setup psa_sec_cipher_decrypt_setup
41 #define psa_cipher_generate_iv psa_sec_cipher_generate_iv
42 #define psa_cipher_set_iv psa_sec_cipher_set_iv
43 #define psa_cipher_update psa_sec_cipher_update
44 #define psa_cipher_finish psa_sec_cipher_finish
45 #define psa_cipher_abort psa_sec_cipher_abort
46 #define psa_aead_encrypt psa_sec_aead_encrypt
47 #define psa_aead_decrypt psa_sec_aead_decrypt
48 #define psa_asymmetric_sign psa_sec_asymmetric_sign
49 #define psa_asymmetric_verify psa_sec_asymmetric_verify
50 #define psa_asymmetric_encrypt psa_sec_asymmetric_encrypt
51 #define psa_asymmetric_decrypt psa_sec_asymmetric_decrypt
52 #define psa_generate_random psa_sec_generate_random
53 #define psa_generate_key psa_sec_generate_key
54 #define psa_get_generator_capacity psa_sec_get_generator_capacity
55 #define psa_generator_read psa_sec_generator_read
56 #define psa_generator_import_key psa_sec_generator_import_key
57 #define mbedtls_psa_crypto_free mbedtls_psa_sec_crypto_free
58 #define psa_key_derivation psa_sec_key_derivation
59 #define psa_key_agreement psa_sec_key_agreement
60 #define psa_generator_abort psa_sec_generator_abort
61 #define mbedtls_psa_inject_entropy mbedtls_psa_sec_inject_entropy
62 #define psa_allocate_key psa_sec_allocate_key
63 #define psa_open_key psa_sec_open_key
64 #define psa_create_key psa_sec_create_key
65 #define psa_close_key psa_sec_close_key
66 #define psa_hash_clone psa_sec_hash_clone
67 
68 #define MBEDTLS_PSA_CRYPTO_KEY_FILE_ID_ENCODES_OWNER 1
69 
70 #include "crypto.h"
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 /* The file "crypto_extra.h" contains vendor-specific definitions. This
77  * can include vendor-defined algorithms, extra functions, etc. */
78 #include "crypto_extra.h"
79 
80 #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.