/external/tpm2-tss/src/tss2-fapi/api/ |
D | Fapi_ChangeAuth.c | 68 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 …]
|
D | Fapi_CreateSeal.c | 72 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()
|
D | Fapi_CreateKey.c | 67 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()
|
D | Fapi_CreateNv.c | 77 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/ |
D | tss2_fapi.h | 158 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/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/ |
D | NvDynamic.c | 1003 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/tpm2-tss/test/integration/ |
D | session-util.h | 131 TPM2B_AUTH *authValue); 138 TPM2B_AUTH *authValue);
|
D | esys-certify.int.c | 106 TPM2B_AUTH authValue = { in test_esys_certify() local 124 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_certify()
|
D | esys-certify-creation.int.c | 106 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()
|
D | esys-quote.int.c | 108 TPM2B_AUTH authValue = { in test_esys_quote() local 126 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_quote()
|
D | esys-ecdh-keygen.int.c | 127 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()
|
D | esys-get-time.int.c | 110 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()
|
D | esys-verify-signature.int.c | 116 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()
|
D | esys-ecdh-zgen.int.c | 127 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()
|
D | esys-create-primary-hmac.int.c | 163 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()
|
D | esys-commit.int.c | 136 TPM2B_AUTH authValue = { in test_esys_commit() local 141 r = Esys_TR_SetAuth(esys_context, ESYS_TR_RH_OWNER, &authValue); in test_esys_commit()
|
D | esys-policy-authorize.int.c | 116 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()
|
D | esys-nv-certify.int.c | 113 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()
|
D | esys-rsa-encrypt-decrypt.int.c | 111 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()
|
D | esys-zgen-2phase.int.c | 136 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()
|
D | esys-create-fail.int.c | 158 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/include/prototypes/ |
D | NvDynamic_fp.h | 208 TPM2B_AUTH *authValue // IN: the authValue to write 297 TPM2B_AUTH *authValue // IN: The initial authorization value
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_tr.c | 380 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/ |
D | fapi_util.h | 180 char const *authValue); 188 char const *authValue,
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/main/ |
D | SessionProcess.c | 748 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()
|