Home
last modified time | relevance | path

Searched refs:return_error (Results 1 – 25 of 88) sorted by relevance

1234

/external/tpm2-tss/src/tss2-esys/
Desys_crypto_bssl.c171 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "OSSL hash update"); in iesys_cryptbssl_hash_update()
218 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "Null-Pointer passed"); in iesys_cryptbssl_hash_finish()
222 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "bad context"); in iesys_cryptbssl_hash_finish()
226 return_error(TSS2_ESYS_RC_BAD_SIZE, "Buffer too small"); in iesys_cryptbssl_hash_finish()
230 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "Ossl error."); in iesys_cryptbssl_hash_finish()
234 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, in iesys_cryptbssl_hash_finish()
298 return_error(TSS2_ESYS_RC_BAD_REFERENCE, in iesys_cryptbssl_hmac_start()
355 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "Null-Pointer passed"); in iesys_cryptbssl_hmac_update()
359 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "bad context"); in iesys_cryptbssl_hmac_update()
366 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "OSSL HMAC update"); in iesys_cryptbssl_hmac_update()
[all …]
Desys_crypto_ossl.c163 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "OSSL hash update"); in iesys_cryptossl_hash_update()
210 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "Null-Pointer passed"); in iesys_cryptossl_hash_finish()
214 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "bad context"); in iesys_cryptossl_hash_finish()
218 return_error(TSS2_ESYS_RC_BAD_SIZE, "Buffer too small"); in iesys_cryptossl_hash_finish()
222 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "Ossl error."); in iesys_cryptossl_hash_finish()
226 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, in iesys_cryptossl_hash_finish()
291 return_error(TSS2_ESYS_RC_BAD_REFERENCE, in iesys_cryptossl_hmac_start()
357 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "Null-Pointer passed"); in iesys_cryptossl_hmac_update()
361 return_error(TSS2_ESYS_RC_BAD_REFERENCE, "bad context"); in iesys_cryptossl_hmac_update()
368 return_error(TSS2_ESYS_RC_GENERAL_FAILURE, "OSSL HMAC update"); in iesys_cryptossl_hmac_update()
[all …]
Desys_tr.c393 return_error(TSS2_ESYS_RC_BAD_SIZE, "Bad size for auth value."); in Esys_TR_SetAuth()
478 return_error(TSS2_ESYS_RC_BAD_TR, "Object is not a session object"); in Esys_TRSess_GetAttributes()
510 return_error(TSS2_ESYS_RC_BAD_TR, "Object is not a session object"); in Esys_TRSess_SetAttributes()
Desys_iutil.c178 return_error(TSS2_ESYS_RC_MULTIPLE_ENCRYPT_SESSIONS, in iesys_compute_encrypt_nonce()
333 return_error(TSS2_ESYS_RC_MEMORY, "Out of memory."); in esys_CreateResourceObject()
692 return_error(TSS2_ESYS_RC_BAD_VALUE, in iesys_encrypt_param()
726 return_error(TSS2_ESYS_RC_BAD_VALUE, in iesys_encrypt_param()
783 return_error(TSS2_ESYS_RC_BAD_VALUE, in iesys_decrypt_param()
830 return_error(TSS2_ESYS_RC_BAD_VALUE, in iesys_decrypt_param()
/external/tpm2-tss/src/tss2-fapi/
Difapi_policy_json_deserialize.c153 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPMI_POLICYTYPE_deserialize_txt()
233 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYSIGNED_deserialize()
292 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYSECRET_deserialize()
390 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNV_deserialize()
550 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNAMEHASH_deserialize()
570 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNAMEHASH_deserialize()
575 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNAMEHASH_deserialize()
595 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNAMEHASH_deserialize()
640 return_error(TSS2_FAPI_RC_BAD_VALUE, "No path and TPM2B_PUBLIC"); in ifapi_json_TPMS_POLICYDUPLICATIONSELECT_deserialize()
650 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYDUPLICATIONSELECT_deserialize()
[all …]
Difapi_policyutil_execute.c47 return_error(TSS2_FAPI_RC_MEMORY, "Out of memory"); in new_policy()
52 return_error(TSS2_FAPI_RC_MEMORY, "Out of memory"); in new_policy()
72 return_error(TSS2_FAPI_RC_MEMORY, "Out of memory"); in new_policy()
142 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "No current policy."); in clear_current_policy()
282 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "No policy util stack."); in ifapi_policyutil_execute()
Difapi_policy_json_serialize.c93 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPMI_POLICYTYPE_serialize_txt()
187 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYSIGNED_serialize()
253 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYSECRET_serialize()
353 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNV_serialize()
540 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYNAMEHASH_serialize()
607 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYDUPLICATIONSELECT_serialize()
809 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYTEMPLATE_serialize()
854 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYAUTHORIZENV_serialize()
1003 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_json_TPMS_POLICYPCR_serialize()
Dfapi_crypto.c76 return_error(TSS2_FAPI_RC_BAD_VALUE, "Invalid key type."); in ifapi_get_profile_sig_scheme()
494 return_error(TSS2_FAPI_RC_BAD_VALUE, in ossl_ecc_pub_from_tpm()
723 return_error(TSS2_FAPI_RC_BAD_VALUE, "Invalid RSA scheme."); in ifapi_der_sig_to_tpm()
731 return_error(TSS2_FAPI_RC_BAD_VALUE, "Invalid key tpye."); in ifapi_der_sig_to_tpm()
977 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "No ECC key!"); in get_ecc_tpm2b_public_from_evp()
1513 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "OSSL hash update"); in ifapi_crypto_hash_update()
1546 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "OSSL error."); in ifapi_crypto_hash_finish()
1550 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_crypto_hash_finish()
1685 return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "Invalid certificate."); in ifapi_cert_to_pem()
Difapi_policy_callbacks.c304 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_read_pcr()
322 return_error(TSS2_FAPI_RC_BAD_VALUE, in ifapi_read_pcr()
577 return_error(TSS2_FAPI_RC_AUTHORIZATION_UNKNOWN, in ifapi_branch_selection()
618 return_error(TSS2_FAPI_RC_AUTHORIZATION_UNKNOWN, in ifapi_policy_action()
1076 return_error(TSS2_FAPI_RC_AUTHORIZATION_UNKNOWN, in ifapi_exec_auth_policy()
Difapi_policy.c133 return_error(TSS2_FAPI_RC_BAD_VALUE, "Table overflow"); in ifapi_calculate_tree()
Dtpm_json_serialize.c269 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_GENERATED_serialize()
338 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_ALG_ID_serialize()
371 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_ECC_CURVE_serialize()
512 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_CC_serialize()
548 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_EO_serialize()
589 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_ST_serialize()
624 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPM2_CAP_serialize()
984 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPMI_YES_NO_serialize()
1016 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPMI_RH_HIERARCHY_serialize()
1035 return_error(TSS2_FAPI_RC_BAD_VALUE, "Undefined constant."); in ifapi_json_TPMI_RH_NV_INDEX_serialize()
[all …]
/external/grpc-grpc/src/core/lib/iomgr/
Derror_cfstream.cc47 grpc_error* return_error = grpc_error_create( in grpc_error_create_from_cferror() local
50 return return_error; in grpc_error_create_from_cferror()
/external/llvm-project/lldb/source/Interpreter/
DScriptInterpreter.cpp88 Status return_error; in SetBreakpointCommandCallback() local
90 return_error = SetBreakpointCommandCallback(bp_options, callback_text); in SetBreakpointCommandCallback()
91 if (return_error.Success()) in SetBreakpointCommandCallback()
94 return return_error; in SetBreakpointCommandCallback()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dself_adjoint_eig.cc396 auto return_error = [&](const Status& status) { in SelfAdjointEig() local
404 return return_error(shape_with_status.status()); in SelfAdjointEig()
409 return return_error(InvalidArgument( in SelfAdjointEig()
415 return return_error(InvalidArgument( in SelfAdjointEig()
423 return return_error(InvalidArgument( in SelfAdjointEig()
454 return return_error(output_with_status.status()); in SelfAdjointEig()
465 return return_error(result_or.status()); in SelfAdjointEig()
Dsvd.cc811 auto return_error = [&](const Status& status) { in SVD() local
820 return return_error(shape_with_status.status()); in SVD()
842 return return_error(svd_result_or.status()); in SVD()
859 return return_error(output_with_status.status()); in SVD()
870 return return_error(svd_result_or.status()); in SVD()
/external/llvm-project/lldb/source/Target/
DThread.cpp1460 Status return_error; in ReturnFromFrameWithIndex() local
1463 return_error.SetErrorStringWithFormat( in ReturnFromFrameWithIndex()
1474 Status return_error; in ReturnFromFrame() local
1477 return_error.SetErrorString("Can't return to a null frame."); in ReturnFromFrame()
1478 return return_error; in ReturnFromFrame()
1485 return_error.SetErrorString("No older frame to return to."); in ReturnFromFrame()
1486 return return_error; in ReturnFromFrame()
1492 return_error.SetErrorString("Could not find ABI to set return value."); in ReturnFromFrame()
1493 return return_error; in ReturnFromFrame()
1517 return_error = abi->SetReturnValueObject(older_frame_sp, return_value_sp); in ReturnFromFrame()
[all …]
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_GetTcti.c52 return_error(TSS2_FAPI_RC_NO_TPM, "Fapi is running in non-TPM mode"); in Fapi_GetTcti()
DFapi_SetDescription.c130 return_error(TSS2_FAPI_RC_BAD_VALUE, in Fapi_SetDescription_Async()
DFapi_Import.c159 return_error(TSS2_FAPI_RC_BAD_SEQUENCE, "Invalid State"); in Fapi_Import_Async()
199 return_error(TSS2_FAPI_RC_BAD_VALUE, "Invalid import data"); in Fapi_Import_Async()
DFapi_SetAppData.c140 return_error(TSS2_FAPI_RC_BAD_VALUE, in Fapi_SetAppData_Async()
/external/tpm2-tss/src/util/
Daux_util.h31 #define return_error(r,msg) \ macro
/external/tpm2-tss/src/tss2-esys/api/
DEsys_ReadClock.c243 return_error(TSS2_ESYS_RC_MEMORY, "Out of memory"); in Esys_ReadClock_Finish()
DEsys_PolicyGetDigest.c258 return_error(TSS2_ESYS_RC_MEMORY, "Out of memory"); in Esys_PolicyGetDigest_Finish()
DEsys_GetTestResult.c243 return_error(TSS2_ESYS_RC_MEMORY, "Out of memory"); in Esys_GetTestResult_Finish()
DEsys_GetCapability.c268 return_error(TSS2_ESYS_RC_MEMORY, "Out of memory"); in Esys_GetCapability_Finish()

1234