/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_Provision.c | 256 statecase(context->state, PROVISION_READ_PROFILE); in Fapi_Provision_Finish() 282 statecase(context->state, PROVISION_WRITE_LOCKOUT_PARAM); in Fapi_Provision_Finish() 295 statecase(context->state, PROVISION_WAIT_FOR_GET_CAP1); in Fapi_Provision_Finish() 309 statecase(context->state, PROVISION_INIT_SRK); in Fapi_Provision_Finish() 320 statecase(context->state, PROVISION_AUTH_SRK_AUTH_SENT); in Fapi_Provision_Finish() 323 statecase(context->state, PROVISION_AUTH_SRK_NO_AUTH_SENT); in Fapi_Provision_Finish() 349 statecase(context->state, PROVISION_SRK_WRITE_PREPARE); in Fapi_Provision_Finish() 364 statecase(context->state, PROVISION_SRK_WRITE); in Fapi_Provision_Finish() 391 statecase(context->state, PROVISION_AUTH_EK_AUTH_SENT); in Fapi_Provision_Finish() 394 statecase(context->state, PROVISION_AUTH_EK_NO_AUTH_SENT); in Fapi_Provision_Finish() [all …]
|
D | Fapi_ChangeAuth.c | 266 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_SESSION) in Fapi_ChangeAuth_Finish() 315 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_KEY) in Fapi_ChangeAuth_Finish() 323 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_KEY_AUTH) in Fapi_ChangeAuth_Finish() 341 statecase(context->state, ENTITY_CHANGE_AUTH_AUTH_SENT) in Fapi_ChangeAuth_Finish() 372 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_FLUSH) in Fapi_ChangeAuth_Finish() 398 statecase(context->state, ENTITY_CHANGE_AUTH_WRITE_PREPARE) in Fapi_ChangeAuth_Finish() 411 statecase(context->state, ENTITY_CHANGE_AUTH_WRITE) in Fapi_ChangeAuth_Finish() 419 statecase(context->state, ENTITY_CHANGE_AUTH_CLEANUP) in Fapi_ChangeAuth_Finish() 428 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_NV_READ) in Fapi_ChangeAuth_Finish() 443 statecase(context->state, ENTITY_CHANGE_AUTH_WAIT_FOR_NV_AUTH) in Fapi_ChangeAuth_Finish() [all …]
|
D | Fapi_Delete.c | 257 statecase(context->state, ENTITY_DELETE_WAIT_FOR_SESSION); in Fapi_Delete_Finish() 267 statecase(context->state, ENTITY_DELETE_GET_FILE); in Fapi_Delete_Finish() 293 statecase(context->state, ENTITY_DELETE_READ); in Fapi_Delete_Finish() 329 statecase(context->state, ENTITY_DELETE_AUTHORIZE_NV); in Fapi_Delete_Finish() 347 statecase(context->state, ENTITY_DELETE_KEY); in Fapi_Delete_Finish() 363 statecase(context->state, ENTITY_DELETE_AUTH_SENT_FOR_KEY); in Fapi_Delete_Finish() 365 statecase(context->state, ENTITY_DELETE_NULL_AUTH_SENT_FOR_KEY); in Fapi_Delete_Finish() 389 statecase(context->state, ENTITY_DELETE_AUTH_SENT_FOR_NV); in Fapi_Delete_Finish() 391 statecase(context->state, ENTITY_DELETE_NULL_AUTH_SENT_FOR_NV); in Fapi_Delete_Finish() 421 statecase(context->state, ENTITY_DELETE_POLICY); in Fapi_Delete_Finish() [all …]
|
D | Fapi_WriteAuthorizeNV.c | 226 statecase(context->state, WRITE_AUTHORIZE_NV_READ_NV) in Fapi_WriteAuthorizeNv_Finish() 245 statecase(context->state, WRITE_AUTHORIZE_NV_CALCULATE_POLICY) in Fapi_WriteAuthorizeNv_Finish() 259 statecase(context->state, WRITE_AUTHORIZE_NV_WRITE_NV_RAM_PREPARE) in Fapi_WriteAuthorizeNv_Finish() 276 statecase(context->state, WRITE_AUTHORIZE_NV_WRITE_NV_RAM) in Fapi_WriteAuthorizeNv_Finish() 295 statecase(context->state, WRITE_AUTHORIZE_NV_WRITE_OBJCECT) in Fapi_WriteAuthorizeNv_Finish() 303 statecase(context->state, WRITE_AUTHORIZE_NV_WRITE_POLICY_PREPARE) in Fapi_WriteAuthorizeNv_Finish() 310 statecase(context->state, WRITE_AUTHORIZE_NV_WRITE_POLICY) in Fapi_WriteAuthorizeNv_Finish() 318 statecase(context->state, WRITE_AUTHORIZE_NV_CLEANUP) in Fapi_WriteAuthorizeNv_Finish()
|
D | Fapi_ExportKey.c | 283 statecase(context->state, EXPORT_KEY_READ_PUB_KEY); in Fapi_ExportKey_Finish() 318 statecase(context->state, EXPORT_KEY_READ_PUB_KEY_PARENT); in Fapi_ExportKey_Finish() 347 statecase(context->state, EXPORT_KEY_WAIT_FOR_KEY); in Fapi_ExportKey_Finish() 365 statecase(context->state, EXPORT_KEY_WAIT_FOR_EXT_KEY); in Fapi_ExportKey_Finish() 372 statecase(context->state, EXPORT_KEY_WAIT_FOR_AUTHORIZATON); in Fapi_ExportKey_Finish() 396 statecase(context->state, EXPORT_KEY_WAIT_FOR_DUPLICATE); in Fapi_ExportKey_Finish() 419 statecase(context->state, EXPORT_KEY_WAIT_FOR_FLUSH1); in Fapi_ExportKey_Finish() 427 statecase(context->state, EXPORT_KEY_WAIT_FOR_FLUSH2); in Fapi_ExportKey_Finish() 435 statecase(context->state, EXPORT_KEY_CLEANUP) in Fapi_ExportKey_Finish()
|
D | Fapi_CreateNv.c | 284 statecase(context->state, NV_CREATE_READ_PROFILE) in Fapi_CreateNv_Finish() 309 statecase(context->state, NV_CREATE_READ_HIERARCHY) in Fapi_CreateNv_Finish() 330 statecase(context->state, NV_CREATE_CALCULATE_POLICY) in Fapi_CreateNv_Finish() 362 statecase(context->state, NV_CREATE_GET_INDEX) in Fapi_CreateNv_Finish() 374 statecase(context->state, NV_CREATE_FIND_INDEX) in Fapi_CreateNv_Finish() 388 statecase(context->state, NV_CREATE_WAIT_FOR_SESSION) in Fapi_CreateNv_Finish() 397 statecase(context->state, NV_CREATE_AUTHORIZE_HIERARCHY) in Fapi_CreateNv_Finish() 413 statecase(context->state, NV_CREATE_AUTH_SENT) in Fapi_CreateNv_Finish() 439 statecase(context->state, NV_CREATE_WRITE) in Fapi_CreateNv_Finish()
|
D | Fapi_Import.c | 337 statecase(context->state, IMPORT_KEY_WRITE_POLICY); in Fapi_Import_Finish() 345 statecase(context->state, IMPORT_KEY_WRITE); in Fapi_Import_Finish() 353 statecase(context->state, IMPORT_KEY_SEARCH); in Fapi_Import_Finish() 363 statecase(context->state, IMPORT_KEY_LOAD_PARENT); in Fapi_Import_Finish() 372 statecase(context->state, IMPORT_KEY_AUTHORIZE_PARENT); in Fapi_Import_Finish() 392 statecase(context->state, IMPORT_KEY_IMPORT); in Fapi_Import_Finish() 399 statecase(context->state, IMPORT_KEY_WAIT_FOR_FLUSH); in Fapi_Import_Finish() 420 statecase(context->state, IMPORT_KEY_WRITE_OBJECT_PREPARE); in Fapi_Import_Finish() 435 statecase(context->state, IMPORT_KEY_WRITE_OBJECT); in Fapi_Import_Finish() 443 statecase(context->state, IMPORT_KEY_CLEANUP) in Fapi_Import_Finish()
|
D | Fapi_Initialize.c | 183 statecase((*context)->state, INITIALIZE_READ); in Fapi_Initialize_Finish() 208 statecase((*context)->state, INITIALIZE_INIT_TCTI); in Fapi_Initialize_Finish() 233 statecase((*context)->state, INITIALIZE_GET_CAP); in Fapi_Initialize_Finish() 242 statecase((*context)->state, INITIALIZE_WAIT_FOR_CAP); in Fapi_Initialize_Finish() 266 statecase((*context)->state, INITIALIZE_READ_PROFILE_INIT); in Fapi_Initialize_Finish() 276 statecase((*context)->state, INITIALIZE_READ_PROFILE); in Fapi_Initialize_Finish()
|
D | Fapi_Quote.c | 313 statecase(context->state, PCR_QUOTE_WAIT_FOR_GET_CAP); in Fapi_Quote_Finish() 329 statecase(context->state, PCR_QUOTE_WAIT_FOR_SESSION); in Fapi_Quote_Finish() 344 statecase(context->state, PCR_QUOTE_WAIT_FOR_KEY); in Fapi_Quote_Finish() 353 statecase(context->state, PCR_QUOTE_AUTHORIZE); in Fapi_Quote_Finish() 369 statecase(context->state, PCR_QUOTE_AUTH_SENT); in Fapi_Quote_Finish() 383 statecase(context->state, PCR_QUOTE_WAIT_FOR_FLUSH); in Fapi_Quote_Finish() 422 statecase(context->state, PCR_QUOTE_READ_EVENT_LIST); in Fapi_Quote_Finish() 428 statecase(context->state, PCR_QUOTE_CLEANUP) in Fapi_Quote_Finish()
|
D | Fapi_Decrypt.c | 251 statecase(context->state, DATA_DECRYPT_WAIT_FOR_PROFILE); in Fapi_Decrypt_Finish() 267 statecase(context->state, DATA_DECRYPT_WAIT_FOR_SESSION); in Fapi_Decrypt_Finish() 280 statecase(context->state, DATA_DECRYPT_WAIT_FOR_KEY); in Fapi_Decrypt_Finish() 295 statecase(context->state, DATA_DECRYPT_AUTHORIZE_KEY); in Fapi_Decrypt_Finish() 319 statecase(context->state, DATA_DECRYPT_WAIT_FOR_RSA_DECRYPTION); in Fapi_Decrypt_Finish() 342 statecase(context->state, DATA_DECRYPT_WAIT_FOR_FLUSH); in Fapi_Decrypt_Finish() 350 statecase(context->state, DATA_DECRYPT_CLEANUP) in Fapi_Decrypt_Finish()
|
D | Fapi_Unseal.c | 214 statecase(context->state, UNSEAL_WAIT_FOR_KEY); in Fapi_Unseal_Finish() 223 statecase(context->state, UNSEAL_AUTHORIZE_OBJECT); in Fapi_Unseal_Finish() 237 statecase(context->state, UNSEAL_WAIT_FOR_UNSEAL); in Fapi_Unseal_Finish() 248 statecase(context->state, UNSEAL_WAIT_FOR_FLUSH); in Fapi_Unseal_Finish() 268 statecase(context->state, UNSEAL_CLEANUP) in Fapi_Unseal_Finish()
|
D | Fapi_NvIncrement.c | 233 statecase(context->state, NV_INCREMENT_READ) in Fapi_NvIncrement_Finish() 278 statecase(context->state, NV_INCREMENT_WAIT_FOR_SESSION) in Fapi_NvIncrement_Finish() 286 statecase(context->state, NV_INCREMENT_AUTHORIZE) in Fapi_NvIncrement_Finish() 301 statecase(context->state, NV_INCREMENT_AUTH_SENT) in Fapi_NvIncrement_Finish() 319 statecase(context->state, NV_INCREMENT_WRITE) in Fapi_NvIncrement_Finish() 326 statecase(context->state, NV_INCREMENT_CLEANUP) in Fapi_NvIncrement_Finish()
|
D | Fapi_AuthorizePolicy.c | 258 statecase(context->state, AUTHORIZE_NEW_LOAD_KEY); in Fapi_AuthorizePolicy_Finish() 267 statecase(context->state, AUTHORIZE_NEW_CALCULATE_POLICY); in Fapi_AuthorizePolicy_Finish() 312 statecase(context->state, AUTHORIZE_NEW_KEY_SIGN_POLICY); in Fapi_AuthorizePolicy_Finish() 337 statecase(context->state, AUTHORIZE_NEW_WRITE_POLICY_PREPARE); in Fapi_AuthorizePolicy_Finish() 346 statecase(context->state, AUTHORIZE_NEW_WRITE_POLICY); in Fapi_AuthorizePolicy_Finish() 353 statecase(context->state, AUTHORIZE_NEW_CLEANUP) in Fapi_AuthorizePolicy_Finish()
|
D | Fapi_NvSetBits.c | 241 statecase(context->state, NV_SET_BITS_READ) in Fapi_NvSetBits_Finish() 286 statecase(context->state, NV_SET_BITS_WAIT_FOR_SESSION) in Fapi_NvSetBits_Finish() 295 statecase(context->state, NV_SET_BITS_AUTHORIZE) in Fapi_NvSetBits_Finish() 311 statecase(context->state, NV_SET_BITS_AUTH_SENT) in Fapi_NvSetBits_Finish() 328 statecase(context->state, NV_SET_BITS_WRITE) in Fapi_NvSetBits_Finish() 336 statecase(context->state, NV_SET_BITS_CLEANUP) in Fapi_NvSetBits_Finish()
|
D | Fapi_Encrypt.c | 259 statecase(context->state, DATA_ENCRYPT_WAIT_FOR_PROFILE); in Fapi_Encrypt_Finish() 275 statecase(context->state, DATA_ENCRYPT_WAIT_FOR_SESSION); in Fapi_Encrypt_Finish() 287 statecase(context->state, DATA_ENCRYPT_WAIT_FOR_KEY); in Fapi_Encrypt_Finish() 332 statecase(context->state, DATA_ENCRYPT_WAIT_FOR_RSA_ENCRYPTION); in Fapi_Encrypt_Finish() 355 statecase(context->state, DATA_ENCRYPT_WAIT_FOR_FLUSH); in Fapi_Encrypt_Finish() 363 statecase(context->state, DATA_ENCRYPT_CLEAN) in Fapi_Encrypt_Finish()
|
D | Fapi_PcrExtend.c | 246 statecase(context->state, PCR_EXTEND_WAIT_FOR_GET_CAP); in Fapi_PcrExtend_Finish() 259 statecase(context->state, PCR_EXTEND_WAIT_FOR_SESSION); in Fapi_PcrExtend_Finish() 274 statecase(context->state, PCR_EXTEND_FINISH); in Fapi_PcrExtend_Finish() 298 statecase(context->state, PCR_EXTEND_APPEND_EVENT_LOG); in Fapi_PcrExtend_Finish() 306 statecase(context->state, PCR_EXTEND_CLEANUP) in Fapi_PcrExtend_Finish()
|
D | Fapi_ExportPolicy.c | 208 statecase(context->state, POLICY_EXPORT_READ_POLICY); in Fapi_ExportPolicy_Finish() 218 statecase(context->state, POLICY_EXPORT_READ_POLICY_FINISH); in Fapi_ExportPolicy_Finish() 233 statecase(context->state, POLICY_EXPORT_READ_OBJECT); in Fapi_ExportPolicy_Finish() 243 statecase(context->state, POLICY_EXPORT_READ_OBJECT_FINISH); in Fapi_ExportPolicy_Finish()
|
D | Fapi_GetRandom.c | 215 statecase(context->state, GET_RANDOM_WAIT_FOR_SESSION); in Fapi_GetRandom_Finish() 225 statecase(context->state, GET_RANDOM_WAIT_FOR_RANDOM); in Fapi_GetRandom_Finish() 233 statecase(context->state, GET_RANDOM_CLEANUP) in Fapi_GetRandom_Finish()
|
D | Fapi_NvRead.c | 247 statecase(context->state, NV_READ_READ) in Fapi_NvRead_Finish() 291 statecase(context->state, NV_READ_WAIT_FOR_SESSION) in Fapi_NvRead_Finish() 301 statecase(context->state, NV_READ_WAIT) in Fapi_NvRead_Finish() 317 statecase(context->state, NV_READ_CLEANUP) in Fapi_NvRead_Finish()
|
D | Fapi_NvExtend.c | 274 statecase(context->state, NV_EXTEND_READ) in Fapi_NvExtend_Finish() 320 statecase(context->state, NV_EXTEND_WAIT_FOR_SESSION) in Fapi_NvExtend_Finish() 337 statecase(context->state, NV_EXTEND_AUTHORIZE) in Fapi_NvExtend_Finish() 358 statecase(context->state, NV_EXTEND_AUTH_SENT) in Fapi_NvExtend_Finish() 440 statecase(context->state, NV_EXTEND_WRITE) in Fapi_NvExtend_Finish() 447 statecase(context->state, NV_EXTEND_CLEANUP) in Fapi_NvExtend_Finish()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | ifapi_policy_execute.c | 198 statecase(current_policy->state, POLICY_EXECUTE_INIT) in execute_policy_pcr() 214 statecase(current_policy->state, POLICY_EXECUTE_FINISH) in execute_policy_pcr() 256 statecase(current_policy->state, POLICY_EXECUTE_INIT) in execute_policy_duplicate() 272 statecase(current_policy->state, POLICY_EXECUTE_FINISH) in execute_policy_duplicate() 318 statecase(current_policy->state, POLICY_EXECUTE_INIT) in execute_policy_nv() 323 statecase(current_policy->state, POLICY_AUTH_CALLBACK) in execute_policy_nv() 345 statecase(current_policy->state, POLICY_EXECUTE_FINISH) in execute_policy_nv() 398 statecase(current_policy->state, POLICY_EXECUTE_INIT); in execute_policy_signed() 425 statecase(current_policy->state, POLICY_EXECUTE_CALLBACK); in execute_policy_signed() 468 statecase(current_policy->state, POLICY_LOAD_KEY); in execute_policy_signed() [all …]
|
D | ifapi_policy.c | 82 statecase(context->policy.state, POLICY_INIT); in ifapi_calculate_tree() 85 statecase(context->policy.state, POLICY_READ); in ifapi_calculate_tree() 90 statecase(context->policy.state, POLICY_READ_FINISH); in ifapi_calculate_tree() 96 statecase(context->policy.state, POLICY_INSTANTIATE_PREPARE); in ifapi_calculate_tree() 112 statecase(context->policy.state, POLICY_INSTANTIATE); in ifapi_calculate_tree()
|
D | fapi_util.c | 56 statecase(context->flush_object_state, FLUSH_INIT); in ifapi_flush_object() 61 statecase(context->flush_object_state, WAIT_FOR_FLUSH); in ifapi_flush_object() 747 statecase(context->primary_state, PRIMARY_READ_KEY); in ifapi_load_primary_finish() 777 statecase(context->primary_state, PRIMARY_READ_HIERARCHY); in ifapi_load_primary_finish() 788 statecase(context->primary_state, PRIMARY_READ_HIERARCHY_FINISH); in ifapi_load_primary_finish() 803 statecase(context->primary_state, PRIMARY_AUTHORIZE_HIERARCHY); in ifapi_load_primary_finish() 822 statecase(context->primary_state, PRIMARY_HAUTH_SENT); in ifapi_load_primary_finish() 969 statecase(context->cleanup_state, CLEANUP_INIT); in ifapi_cleanup_session() 976 statecase(context->cleanup_state, CLEANUP_SESSION1); in ifapi_cleanup_session() 989 statecase(context->cleanup_state, CLEANUP_SESSION2); in ifapi_cleanup_session() [all …]
|
D | ifapi_policy_callbacks.c | 94 statecase(context->io_state, IO_INIT) in ifapi_get_key_public() 100 statecase(context->io_state, IO_ACTIVE) in ifapi_get_key_public() 164 statecase(context->io_state, IO_INIT) in ifapi_get_object_name() 170 statecase(context->io_state, IO_ACTIVE) in ifapi_get_object_name() 239 statecase(context->io_state, IO_INIT) in ifapi_get_nv_public() 245 statecase(context->io_state, IO_ACTIVE) in ifapi_get_nv_public() 300 statecase(context->io_state, IO_INIT) in ifapi_read_pcr() 339 statecase(context->io_state, IO_ACTIVE) in ifapi_read_pcr() 457 statecase(cb_ctx->cb_state, POL_CB_EXECUTE_INIT); in ifapi_policyeval_cbauth() 471 statecase(cb_ctx->cb_state, POL_CB_READ_OBJECT); in ifapi_policyeval_cbauth() [all …]
|
D | ifapi_eventlog.c | 144 statecase(eventlog->state, IFAPI_EVENTLOG_STATE_INIT) in ifapi_eventlog_get_finish() 168 statecase(eventlog->state, IFAPI_EVENTLOG_STATE_READING) in ifapi_eventlog_get_finish() 289 statecase(eventlog->state, IFAPI_EVENTLOG_STATE_READING) in ifapi_eventlog_append_finish() 296 statecase(eventlog->state, IFAPI_EVENTLOG_STATE_APPENDING) in ifapi_eventlog_append_finish() 340 statecase(eventlog->state, IFAPI_EVENTLOG_STATE_WRITING) in ifapi_eventlog_append_finish()
|