Home
last modified time | relevance | path

Searched refs:user_dir (Results 1 – 5 of 5) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_config.c58 out->user_dir = NULL; in ifapi_json_IFAPI_CONFIG_deserialize()
60 r = ifapi_json_char_deserialize(jso2, &out->user_dir); in ifapi_json_IFAPI_CONFIG_deserialize()
211 goto_if_null(config->user_dir, "No user directory defined in config file", in ifapi_config_initialize_finish()
218 if (strncmp("~", config->user_dir, 1) == 0) { in ifapi_config_initialize_finish()
220 } else if (strncmp("$HOME", config->user_dir, 5) == 0) { in ifapi_config_initialize_finish()
227 LOG_DEBUG("Expanding user directory %s to user's home", config->user_dir); in ifapi_config_initialize_finish()
233 &config->user_dir[startPos]); in ifapi_config_initialize_finish()
236 SAFE_FREE(config->user_dir); in ifapi_config_initialize_finish()
237 config->user_dir = homePath; in ifapi_config_initialize_finish()
242 LOG_DEBUG("Configuration user directory: %s", config->user_dir); in ifapi_config_initialize_finish()
Difapi_config.h24 char *user_dir; member
/external/tpm2-tss/dist/
Dfapi-config.json.in4 "user_dir": "~/@userstatedir@/tpm2-tss/user/keystore", string
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Finalize.c77 SAFE_FREE((*context)->config.user_dir); in Fapi_Finalize()
DFapi_Initialize.c196 (*context)->config.user_dir, in Fapi_Initialize_Finish()