@@ -74,45 +74,45 @@ pub enum BodyType {
74
74
#[ repr( u32 ) ]
75
75
pub enum Opcode {
76
76
/// Ping operation
77
- Ping = 1 ,
77
+ Ping = 0x0001 ,
78
78
/// PsaGenerateKey operation
79
- PsaGenerateKey = 2 ,
79
+ PsaGenerateKey = 0x0002 ,
80
80
/// PsaDestroyKey operation
81
- PsaDestroyKey = 3 ,
81
+ PsaDestroyKey = 0x0003 ,
82
82
/// PsaSignHash operation
83
- PsaSignHash = 4 ,
83
+ PsaSignHash = 0x0004 ,
84
84
/// PsaVerifyHash operation
85
- PsaVerifyHash = 5 ,
85
+ PsaVerifyHash = 0x0005 ,
86
86
/// PsaImportKey operation
87
- PsaImportKey = 6 ,
87
+ PsaImportKey = 0x0006 ,
88
88
/// PsaExportPublicKey operation
89
- PsaExportPublicKey = 7 ,
89
+ PsaExportPublicKey = 0x0007 ,
90
90
/// ListProviders operation
91
- ListProviders = 8 ,
91
+ ListProviders = 0x0008 ,
92
92
/// ListOpcodes operation
93
- ListOpcodes = 9 ,
93
+ ListOpcodes = 0x0009 ,
94
94
/// PsaAsymmetricEncrypt operation
95
- PsaAsymmetricEncrypt = 10 ,
95
+ PsaAsymmetricEncrypt = 0x000A ,
96
96
/// PsaAsymmetricDecrypt operation
97
- PsaAsymmetricDecrypt = 11 ,
97
+ PsaAsymmetricDecrypt = 0x000B ,
98
98
/// PsaExportKey operation
99
- PsaExportKey = 12 ,
99
+ PsaExportKey = 0x000C ,
100
100
/// PsaGenerateRandom operation
101
- PsaGenerateRandom = 13 ,
101
+ PsaGenerateRandom = 0x000D ,
102
102
/// ListAuthenticators operation
103
- ListAuthenticators = 14 ,
103
+ ListAuthenticators = 0x000E ,
104
104
/// PsaHashCompute operation
105
- PsaHashCompute = 15 ,
105
+ PsaHashCompute = 0x000F ,
106
106
/// PsaHashCompare operation
107
- PsaHashCompare = 16 ,
107
+ PsaHashCompare = 0x0010 ,
108
108
/// PsaAeadEncrypt
109
- PsaAeadEncrypt = 17 ,
109
+ PsaAeadEncrypt = 0x0011 ,
110
110
/// PsaAeadDecrypt
111
- PsaAeadDecrypt = 18 ,
111
+ PsaAeadDecrypt = 0x0012 ,
112
112
/// PsaRawKeyAgreement operation
113
- PsaRawKeyAgreement = 19 ,
113
+ PsaRawKeyAgreement = 0x0013 ,
114
114
/// ListKeys operations
115
- ListKeys = 26 ,
115
+ ListKeys = 0x001A ,
116
116
}
117
117
118
118
/// Listing of available authentication methods.
0 commit comments