File tree Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Expand file tree Collapse file tree 3 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ use psa_crypto::types::algorithm::AsymmetricSignature;
10
10
use std:: convert:: TryFrom ;
11
11
12
12
pub ( super ) static METHODS : psa_drv_se_asymmetric_t = psa_drv_se_asymmetric_t {
13
- p_sign : Some ( p_sign) ,
14
- p_verify : Some ( p_verify) ,
15
- p_encrypt : None ,
16
- p_decrypt : None ,
13
+ private_p_sign : Some ( p_sign) ,
14
+ private_p_verify : Some ( p_verify) ,
15
+ private_p_encrypt : None ,
16
+ private_p_decrypt : None ,
17
17
} ;
18
18
19
19
unsafe extern "C" fn p_sign (
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ use psa_crypto::types::key::Attributes;
10
10
use std:: convert:: TryFrom ;
11
11
12
12
pub ( super ) static METHODS : psa_drv_se_key_management_t = psa_drv_se_key_management_t {
13
- p_allocate : Some ( p_allocate) ,
14
- p_validate_slot_number : Some ( p_validate_slot_number) ,
15
- p_import : Some ( p_import) ,
16
- p_generate : Some ( p_generate) ,
17
- p_destroy : Some ( p_destroy) ,
18
- p_export : None ,
19
- p_export_public : Some ( p_export_public) ,
13
+ private_p_allocate : Some ( p_allocate) ,
14
+ private_p_validate_slot_number : Some ( p_validate_slot_number) ,
15
+ private_p_import : Some ( p_import) ,
16
+ private_p_generate : Some ( p_generate) ,
17
+ private_p_destroy : Some ( p_destroy) ,
18
+ private_p_export : None ,
19
+ private_p_export_public : Some ( p_export_public) ,
20
20
} ;
21
21
22
22
unsafe extern "C" fn p_allocate (
Original file line number Diff line number Diff line change @@ -67,15 +67,15 @@ lazy_static! {
67
67
/// Parsec SE Driver structure
68
68
#[ no_mangle]
69
69
pub static mut PARSEC_SE_DRIVER : psa_drv_se_t = psa_drv_se_t {
70
- hal_version : 5 ,
71
- persistent_data_size : 0 ,
72
- p_init : Some ( p_init) ,
73
- key_management : & key_management:: METHODS as * const psa_drv_se_key_management_t ,
74
- mac : ptr:: null ( ) ,
75
- cipher : ptr:: null ( ) ,
76
- aead : ptr:: null ( ) ,
77
- asymmetric : & asymmetric:: METHODS as * const psa_drv_se_asymmetric_t ,
78
- derivation : ptr:: null ( ) ,
70
+ private_hal_version : 5 ,
71
+ private_persistent_data_size : 0 ,
72
+ private_p_init : Some ( p_init) ,
73
+ private_key_management : & key_management:: METHODS as * const psa_drv_se_key_management_t ,
74
+ private_mac : ptr:: null ( ) ,
75
+ private_cipher : ptr:: null ( ) ,
76
+ private_aead : ptr:: null ( ) ,
77
+ private_asymmetric : & asymmetric:: METHODS as * const psa_drv_se_asymmetric_t ,
78
+ private_derivation : ptr:: null ( ) ,
79
79
} ;
80
80
81
81
unsafe extern "C" fn p_init (
You can’t perform that action at this time.
0 commit comments