/external/tpm2-tss/test/integration/ |
D | esys-get-random.int.c | 39 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 62 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 69 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 76 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 90 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 97 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 104 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 118 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 125 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() 132 if (r != TPM2_RC_SUCCESS) { in test_esys_get_random() [all …]
|
D | sapi-hierarchy-change-auth.int.c | 43 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 54 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 62 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 72 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 84 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 112 if (rval != TPM2_RC_SUCCESS) { in test_owner_auth() 141 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth() 151 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth() 158 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth() 167 if (rval != TPM2_RC_SUCCESS) { in test_platform_auth() [all …]
|
D | sapi-session-util.c | 62 if (rval != TPM2_RC_SUCCESS) in start_auth_session() 78 if (rval != TPM2_RC_SUCCESS) { in start_auth_session() 85 if (rval != TPM2_RC_SUCCESS) { in start_auth_session() 124 if (rval != TPM2_RC_SUCCESS) in compute_session_auth() 128 if (rval != TPM2_RC_SUCCESS) in compute_session_auth() 154 if (rval != TPM2_RC_SUCCESS) { in compute_session_auth() 175 TSS2_RC rval = TPM2_RC_SUCCESS; in compute_command_hmac() 194 return TPM2_RC_SUCCESS; in compute_command_hmac() 209 if (rval != TPM2_RC_SUCCESS) in compute_command_hmac() 227 TSS2_RC rval = TPM2_RC_SUCCESS; in check_response_hmac() [all …]
|
D | sapi-command-cancel.int.c | 63 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 70 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 77 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 87 } else if (rc != TPM2_RC_SUCCESS) { in test_invoke() 115 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 122 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 129 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
|
D | sapi-asymmetric-encrypt-decrypt.int.c | 95 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 124 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 129 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 140 if(rc != TPM2_RC_SUCCESS) { in test_invoke() 147 if(rc != TPM2_RC_SUCCESS) { in test_invoke()
|
D | sapi-policy-authorizeNV.int.c | 128 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 142 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 181 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 203 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 256 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 282 if (rc != TPM2_RC_SUCCESS) { in test_invoke()
|
D | sapi-create-loaded.int.c | 64 if (rc != TPM2_RC_SUCCESS) { in test_invoke() 85 if (rc == TPM2_RC_SUCCESS) { in test_invoke() 105 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
|
D | sapi-util.c | 89 if (rc == TPM2_RC_SUCCESS) { in create_primary_rsa_2048_aes_128_cfb() 158 if (rc != TPM2_RC_SUCCESS) { in create_aes_128_cfb() 229 if (rc != TPM2_RC_SUCCESS) { in create_keyedhash_key() 426 rc = TPM2_RC_SUCCESS; in encrypt_decrypt_cfb() 481 return TPM2_RC_SUCCESS; in hash() 574 return rc == 1 ? TPM2_RC_SUCCESS : TSS2_SYS_RC_GENERAL_FAILURE; in hmac() 589 return TPM2_RC_SUCCESS; in ConcatSizedByteBuffer() 603 return TPM2_RC_SUCCESS; in CompareSizedByteBuffer()
|
D | sapi-create-keyedhash-sha1-hmac.int.c | 24 TSS2_RC rc = TPM2_RC_SUCCESS; in test_invoke() 78 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
|
D | sapi-evict-ctrl.int.c | 21 TSS2_RC rc = TPM2_RC_SUCCESS; in test_invoke()
|
D | sapi-policy-template.int.c | 161 if (rc == TPM2_RC_SUCCESS) { in test_invoke() 189 if (rc == TPM2_RC_SUCCESS) { in test_invoke()
|
D | fapi-nv-authorizenv-cphash.int.c | 89 if (check_tpm_cmd(context, TPM2_CC_PolicyAuthorizeNV) != TPM2_RC_SUCCESS) { in test_fapi_nv_authorizenv_cphash()
|
D | fapi-key-create-policy-authorize-nv-sign.int.c | 128 if (check_tpm_cmd(context, TPM2_CC_PolicyAuthorizeNV) != TPM2_RC_SUCCESS) { in test_fapi_key_create_policy_authorize_nv()
|
/external/tpm2-tss/test/unit/ |
D | sys-execute.c | 92 return TPM2_RC_SUCCESS; in tcti_receive() 99 return TPM2_RC_SUCCESS; in tcti_receive() 103 return TPM2_RC_SUCCESS; in tcti_receive()
|
D | test_tss2_rc.c | 141 const char *m = Tss2_RC_Decode(TPM2_RC_SUCCESS); in test_tpm2_format_1_success()
|
/external/tpm2-tss/src/tss2-esys/ |
D | esys_iutil.c | 118 TSS2_RC r = TPM2_RC_SUCCESS; in init_session_tab() 315 return TPM2_RC_SUCCESS; in iesys_compute_rp_hashtab() 363 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 367 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 371 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 375 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 379 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 383 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 387 return TPM2_RC_SUCCESS; in iesys_handle_to_tpm_handle() 1062 return TPM2_RC_SUCCESS; in esys_GetResourceObject() [all …]
|
D | esys_tr.c | 386 if (r != TPM2_RC_SUCCESS) in Esys_TR_SetAuth()
|
D | esys_crypto.c | 374 return TPM2_RC_SUCCESS; in iesys_crypto_KDFa()
|
/external/tpm2-tss/test/tpmclient/ |
D | tpmclient.int.c | 119 if ((rval) != TPM2_RC_SUCCESS) { \ 891 if( rval != TPM2_RC_SUCCESS ) in BuildPolicy() 919 TSS2_RC rval = TPM2_RC_SUCCESS; in CreateNVIndex() 975 TSS2_RC rval = TPM2_RC_SUCCESS; in TestLocality() 1043 TSS2_RC rval = TPM2_RC_SUCCESS; in BuildPasswordPolicy() 1053 TSS2_RC rval = TPM2_RC_SUCCESS; in CreateDataBlob() 1145 TSS2_RC rval = TPM2_RC_SUCCESS; in PasswordUnseal() 1212 rval = TPM2_RC_SUCCESS; in TestPolicy()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | fapi_crypto.c | 571 TSS2_RC r = TPM2_RC_SUCCESS; in ifapi_pub_pem_key_from_tpm() 2084 TSS2_RC r = TPM2_RC_SUCCESS; in ifapi_get_tpm_key_fingerprint()
|
D | fapi_util.c | 3557 return TPM2_RC_SUCCESS; in ifapi_capability_get()
|
/external/tpm2-tss/include/tss2/ |
D | tss2_tpm2_types.h | 271 #define TPM2_RC_SUCCESS ((TPM2_RC) 0x000) macro
|