Home
last modified time | relevance | path

Searched refs:authValue (Results 1 – 25 of 54) sorted by relevance

123

/external/tpm2-tss/src/tss2-fapi/api/
DFapi_ChangeAuth.c68 char const *authValue) in Fapi_ChangeAuth() argument
92 r = Fapi_ChangeAuth_Async(context, entityPath, authValue); in Fapi_ChangeAuth()
151 char const *authValue) in Fapi_ChangeAuth_Async() argument
155 LOG_TRACE("authValue: %s", authValue); in Fapi_ChangeAuth_Async()
175 if (authValue != NULL) { in Fapi_ChangeAuth_Async()
176 strdup_check(command->authValue, authValue, r, error_cleanup); in Fapi_ChangeAuth_Async()
178 strdup_check(command->authValue, "", r, error_cleanup); in Fapi_ChangeAuth_Async()
190 if (command->authValue) { in Fapi_ChangeAuth_Async()
191 if (strlen(command->authValue) > sizeof(TPMU_HA)) { in Fapi_ChangeAuth_Async()
198 strlen(command->authValue); in Fapi_ChangeAuth_Async()
[all …]
DFapi_CreateKey.c67 char const *authValue) in Fapi_CreateKey() argument
91 r = Fapi_CreateKey_Async(context, path, type, policyPath, authValue); in Fapi_CreateKey()
152 char const *authValue) in Fapi_CreateKey_Async() argument
158 LOG_TRACE("authValue: %s", authValue); in Fapi_CreateKey_Async()
172 r = ifapi_key_create_prepare_auth(context, path, policyPath, authValue); in Fapi_CreateKey_Async()
DFapi_CreateSeal.c72 char const *authValue, in Fapi_CreateSeal() argument
98 authValue, data); in Fapi_CreateSeal()
165 char const *authValue, in Fapi_CreateSeal_Async() argument
173 LOG_TRACE("authValue: %s", authValue); in Fapi_CreateSeal_Async()
188 authValue, data); in Fapi_CreateSeal_Async()
DFapi_CreateNv.c77 char const *authValue) in Fapi_CreateNv() argument
102 policyPath, authValue); in Fapi_CreateNv()
165 char const *authValue) in Fapi_CreateNv_Async() argument
172 LOG_TRACE("authValue: %s", authValue); in Fapi_CreateNv_Async()
196 if (authValue) { in Fapi_CreateNv_Async()
197 if (strlen(authValue) > sizeof(TPMU_HA)) { in Fapi_CreateNv_Async()
201 auth->size = strlen(authValue); in Fapi_CreateNv_Async()
202 memcpy(&auth->buffer[0], authValue, auth->size); in Fapi_CreateNv_Async()
/external/tpm2-tss/include/tss2/
Dtss2_fapi.h158 char const *authValue);
163 char const *authValue);
252 char const *authValue);
259 char const *authValue);
395 char const *authValue,
404 char const *authValue,
569 char const *authValue);
577 char const *authValue);
/external/tpm2-tss/test/integration/
Dsession-util.h131 TPM2B_AUTH *authValue);
138 TPM2B_AUTH *authValue);
Desys-certify.int.c106 TPM2B_AUTH authValue = { in test_esys_certify() local
124 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_certify()
Desys-certify-creation.int.c106 TPM2B_AUTH authValue = { in test_esys_certify_creation() local
124 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_certify_creation()
Desys-quote.int.c108 TPM2B_AUTH authValue = { in test_esys_quote() local
126 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_quote()
Desys-ecdh-keygen.int.c127 TPM2B_AUTH authValue = { in test_esys_ecdh_keygen() local
132 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_ecdh_keygen()
Desys-verify-signature.int.c116 TPM2B_AUTH authValue = { in test_esys_verify_signature() local
121 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_verify_signature()
Desys-ecdh-zgen.int.c127 TPM2B_AUTH authValue = { in test_esys_ecdh_zgen() local
132 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_ecdh_zgen()
Desys-get-time.int.c110 TPM2B_AUTH authValue = { in test_esys_get_time() local
128 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_get_time()
Desys-create-primary-hmac.int.c163 TPM2B_AUTH authValue = { in test_esys_create_primary_hmac() local
168 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_create_primary_hmac()
Desys-commit.int.c136 TPM2B_AUTH authValue = { in test_esys_commit() local
141 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_commit()
Desys-policy-authorize.int.c116 TPM2B_AUTH authValue = { in test_esys_policy_authorize() local
121 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_policy_authorize()
Desys-rsa-encrypt-decrypt.int.c111 TPM2B_AUTH authValue = { in test_esys_rsa_encrypt_decrypt() local
116 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_rsa_encrypt_decrypt()
Desys-nv-certify.int.c113 TPM2B_AUTH authValue = { in test_esys_nv_certify() local
131 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_nv_certify()
Desys-zgen-2phase.int.c136 TPM2B_AUTH authValue = { in test_esys_zgen_2phase() local
141 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_zgen_2phase()
Desys-create-fail.int.c158 TPM2B_AUTH authValue = { in test_esys_create_fail() local
163 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_create_fail()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DNvDynamic.c1003 TPM2B_AUTH *authValue // IN: the authValue to write in NvWriteIndexAuth() argument
1013 MemoryCopy2B(&s_cachedNvIndex.authValue.b, &authValue->b, in NvWriteIndexAuth()
1014 sizeof(s_cachedNvIndex.authValue.t.buffer)); in NvWriteIndexAuth()
1017 locator + offsetof(NV_INDEX, authValue), in NvWriteIndexAuth()
1018 sizeof(UINT16) + authValue->t.size, in NvWriteIndexAuth()
1019 authValue); in NvWriteIndexAuth()
1235 TPM2B_AUTH *authValue // IN: The initial authorization value in NvDefineIndex() argument
1265 nvIndex.authValue = *authValue; in NvDefineIndex()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DNvDynamic_fp.h208 TPM2B_AUTH *authValue // IN: the authValue to write
297 TPM2B_AUTH *authValue // IN: The initial authorization value
/external/tpm2-tss/src/tss2-esys/
Desys_tr.c380 TPM2B_AUTH const *authValue) in Esys_TR_SetAuth() argument
389 if (authValue == NULL) { in Esys_TR_SetAuth()
392 if (authValue->size > sizeof(TPMU_HA)) { in Esys_TR_SetAuth()
395 esys_object->auth = *authValue; in Esys_TR_SetAuth()
/external/tpm2-tss/src/tss2-fapi/
Dfapi_util.h180 char const *authValue);
188 char const *authValue,
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/
DSessionProcess.c748 TPM2B_AUTH authValue; in CheckPWAuthSession() local
755 EntityGetAuthValue(associatedHandle, &authValue); in CheckPWAuthSession()
758 if(MemoryEqual2B(&s_inputAuthValues[sessionIndex].b, &authValue.b)) in CheckPWAuthSession()
876 TPM2B_AUTH authValue; in ComputeCommandHMAC() local
878 EntityGetAuthValue(s_associatedHandles[sessionIndex], &authValue); in ComputeCommandHMAC()
880 MemoryConcat2B(&key.b, &authValue.b, sizeof(key.t.buffer)); in ComputeCommandHMAC()
1988 TPM2B_AUTH authValue; in ComputeResponseHMAC() local
1991 EntityGetAuthValue(s_associatedHandles[sessionIndex], &authValue); in ComputeResponseHMAC()
1994 MemoryConcat2B(&key.b, &authValue.b, sizeof(key.t.buffer)); in ComputeResponseHMAC()

123