@@ -134,57 +134,150 @@ extern const PLAT_UI16 stsafea_maximum_command_length[4];
134134
135135stse_ReturnCode_t stsafea_get_command_count (stse_Handler_t * pSTSE , PLAT_UI8 * pCommand_count );
136136
137+ /**
138+ * \brief Get command access control table
139+ * \details This service retrieves the command access control table from the device
140+ * \param[in] pSTSE Pointer to STSE Handler
141+ * \param[in] total_command_count Total number of commands
142+ * \param[out] pChange_rights Pointer to change rights structure
143+ * \param[out] pRecord_table Pointer to record table array
144+ * \return \ref STSE_OK on success ; \ref stse_ReturnCode_t error code otherwise
145+ */
137146stse_ReturnCode_t stsafea_get_command_AC_table (stse_Handler_t * pSTSE ,
138147 PLAT_UI8 total_command_count ,
139148 stse_cmd_authorization_CR_t * pChange_rights ,
140149 stse_cmd_authorization_record_t * pRecord_table );
141150
142151stse_ReturnCode_t stsafea_perso_info_update (stse_Handler_t * pSTSE );
143152
153+ /**
154+ * \brief Get command access conditions from personalization info
155+ * \details This function retrieves the access conditions for a specific command
156+ * \param[in] pPerso Pointer to personalization info structure
157+ * \param[in] command_code Command code to query
158+ * \param[out] pProtection Pointer to store access conditions
159+ */
144160void stsafea_perso_info_get_cmd_AC (stse_perso_info_t * pPerso ,
145161 PLAT_UI8 command_code ,
146162 stse_cmd_access_conditions_t * pProtection );
147163
164+ /**
165+ * \brief Get extended command access conditions from personalization info
166+ * \details This function retrieves the access conditions for a specific extended command
167+ * \param[in] pPerso Pointer to personalization info structure
168+ * \param[in] command_code Extended command code to query
169+ * \param[out] pProtection Pointer to store access conditions
170+ */
148171void stsafea_perso_info_get_ext_cmd_AC (stse_perso_info_t * pPerso ,
149172 PLAT_UI8 command_code ,
150173 stse_cmd_access_conditions_t * pProtection );
151174
175+ /**
176+ * \brief Get command encryption flag from personalization info
177+ * \details This function retrieves the encryption flag for a specific command
178+ * \param[in] pPerso Pointer to personalization info structure
179+ * \param[in] command_code Command code to query
180+ * \param[out] pEnc_flag Pointer to store encryption flag
181+ */
152182void stsafea_perso_info_get_cmd_encrypt_flag (stse_perso_info_t * pPerso ,
153183 PLAT_UI8 command_code ,
154184 PLAT_UI8 * pEnc_flag );
155185
186+ /**
187+ * \brief Get response encryption flag from personalization info
188+ * \details This function retrieves the encryption flag for a specific command response
189+ * \param[in] pPerso Pointer to personalization info structure
190+ * \param[in] command_code Command code to query
191+ * \param[out] pEnc_flag Pointer to store encryption flag
192+ */
156193void stsafea_perso_info_get_rsp_encrypt_flag (stse_perso_info_t * pPerso ,
157194 PLAT_UI8 command_code ,
158195 PLAT_UI8 * pEnc_flag );
159196
197+ /**
198+ * \brief Get extended command encryption flag from personalization info
199+ * \details This function retrieves the encryption flag for a specific extended command
200+ * \param[in] pPerso Pointer to personalization info structure
201+ * \param[in] command_code Extended command code to query
202+ * \param[out] pEnc_flag Pointer to store encryption flag
203+ */
160204void stsafea_perso_info_get_ext_cmd_encrypt_flag (stse_perso_info_t * pPerso ,
161205 PLAT_UI8 command_code ,
162206 PLAT_UI8 * pEnc_flag );
163207
208+ /**
209+ * \brief Get extended response encryption flag from personalization info
210+ * \details This function retrieves the encryption flag for a specific extended command response
211+ * \param[in] pPerso Pointer to personalization info structure
212+ * \param[in] command_code Extended command code to query
213+ * \param[out] pEnc_flag Pointer to store encryption flag
214+ */
164215void stsafea_perso_info_get_ext_rsp_encrypt_flag (stse_perso_info_t * pPerso ,
165216 PLAT_UI8 command_code ,
166217 PLAT_UI8 * pEnc_flag );
167218
219+ /**
220+ * \brief Set command access conditions in personalization info
221+ * \details This function sets the access conditions for a specific command
222+ * \param[in,out] pPerso Pointer to personalization info structure
223+ * \param[in] command_code Command code to configure
224+ * \param[in] protection Access conditions to set
225+ */
168226void stsafea_perso_info_set_cmd_AC (stse_perso_info_t * pPerso ,
169227 PLAT_UI8 command_code ,
170228 stse_cmd_access_conditions_t protection );
171229
230+ /**
231+ * \brief Set extended command access conditions in personalization info
232+ * \details This function sets the access conditions for a specific extended command
233+ * \param[in,out] pPerso Pointer to personalization info structure
234+ * \param[in] command_code Extended command code to configure
235+ * \param[in] protection Access conditions to set
236+ */
172237void stsafea_perso_info_set_ext_cmd_AC (stse_perso_info_t * pPerso ,
173238 PLAT_UI8 command_code ,
174239 stse_cmd_access_conditions_t protection );
175240
241+ /**
242+ * \brief Set command encryption flag in personalization info
243+ * \details This function sets the encryption flag for a specific command
244+ * \param[in,out] pPerso Pointer to personalization info structure
245+ * \param[in] command_code Command code to configure
246+ * \param[in] enc_flag Encryption flag to set
247+ */
176248void stsafea_perso_info_set_cmd_encrypt_flag (stse_perso_info_t * pPerso ,
177249 PLAT_UI8 command_code ,
178250 PLAT_UI8 enc_flag );
179251
252+ /**
253+ * \brief Set response encryption flag in personalization info
254+ * \details This function sets the encryption flag for a specific command response
255+ * \param[in,out] pPerso Pointer to personalization info structure
256+ * \param[in] command_code Command code to configure
257+ * \param[in] enc_flag Encryption flag to set
258+ */
180259void stsafea_perso_info_set_rsp_encrypt_flag (stse_perso_info_t * pPerso ,
181260 PLAT_UI8 command_code ,
182261 PLAT_UI8 enc_flag );
183262
263+ /**
264+ * \brief Set extended command encryption flag in personalization info
265+ * \details This function sets the encryption flag for a specific extended command
266+ * \param[in,out] pPerso Pointer to personalization info structure
267+ * \param[in] command_code Extended command code to configure
268+ * \param[in] enc_flag Encryption flag to set
269+ */
184270void stsafea_perso_info_set_ext_cmd_encrypt_flag (stse_perso_info_t * pPerso ,
185271 PLAT_UI8 command_code ,
186272 PLAT_UI8 enc_flag );
187273
274+ /**
275+ * \brief Set extended response encryption flag in personalization info
276+ * \details This function sets the encryption flag for a specific extended command response
277+ * \param[in,out] pPerso Pointer to personalization info structure
278+ * \param[in] command_code Extended command code to configure
279+ * \param[in] enc_flag Encryption flag to set
280+ */
188281void stsafea_perso_info_set_ext_rsp_encrypt_flag (stse_perso_info_t * pPerso ,
189282 PLAT_UI8 command_code ,
190283 PLAT_UI8 enc_flag );
0 commit comments