mirror of https://github.com/ARMmbed/mbed-os.git
Add internal documentation to access control header file
This file is for internal use only.pull/9638/head
parent
0c231b0ac9
commit
37cc25726c
|
@ -22,14 +22,19 @@
|
|||
|
||||
#include "crypto_platform.h"
|
||||
|
||||
/* initialize the module, resets all tracked information */
|
||||
void psa_crypto_access_control_init(void);
|
||||
|
||||
/* deinitialize the module, resets all tracked information */
|
||||
void psa_crypto_access_control_destroy(void);
|
||||
|
||||
/* tracks and associates the key_handle with partition_id */
|
||||
void psa_crypto_access_control_register_handle(psa_key_handle_t key_handle, int32_t partition_id);
|
||||
|
||||
/* removes tracking of the key_handle */
|
||||
void psa_crypto_access_control_unregister_handle(psa_key_handle_t key_handle);
|
||||
|
||||
/* checks if the key_handle is associated with the partition_id, returns 0 is false otherwise 1 */
|
||||
uint8_t psa_crypto_access_control_is_handle_permitted(psa_key_handle_t key_handle, int32_t partition_id);
|
||||
|
||||
#endif /* PSA_CRYPTO_ACCESS_CONTROL_H */
|
||||
|
|
Loading…
Reference in New Issue