• Home
  • Raw
  • Download

Lines Matching refs:goto_error

330         goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "OSSL error", cleanup);  in ifapi_tpm_ecc_sig_to_der()
349 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "OSSL error", cleanup); in ifapi_tpm_ecc_sig_to_der()
393 goto_error(r, TSS2_FAPI_RC_MEMORY, "Out of memory", error_cleanup); in ossl_rsa_pub_from_tpm()
408 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ossl_rsa_pub_from_tpm()
429 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Assign rsa key", in ossl_rsa_pub_from_tpm()
504 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "EC_KEY_set_group", in ossl_ecc_pub_from_tpm()
517 goto_error(r, TSS2_FAPI_RC_MEMORY, "Out of memory", error_cleanup); in ossl_ecc_pub_from_tpm()
521 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ossl_ecc_pub_from_tpm()
526 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Assign ecc key", in ossl_ecc_pub_from_tpm()
585 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Invalid alg id.", cleanup); in ifapi_pub_pem_key_from_tpm()
590 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "PEM_write_bio_PUBKEY", in ifapi_pub_pem_key_from_tpm()
604 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Invalid BIO_read", in ifapi_pub_pem_key_from_tpm()
798 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Invalid digest size", cleanup); in rsa_verify_signature()
805 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Get pkey context.", in rsa_verify_signature()
809 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Verify init.", in rsa_verify_signature()
813 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in rsa_verify_signature()
817 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in rsa_verify_signature()
877 goto_error(r, TSS2_FAPI_RC_SIGNATURE_VERIFICATION_FAILED, in ecdsa_verify_signature()
880 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ecdsa_verify_signature()
928 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in get_rsa_tpm2b_public_from_evp()
989 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Create bignum", cleanup); in get_ecc_tpm2b_public_from_evp()
993 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Create bignum", cleanup); in get_ecc_tpm2b_public_from_evp()
998 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in get_ecc_tpm2b_public_from_evp()
1003 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in get_ecc_tpm2b_public_from_evp()
1008 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in get_ecc_tpm2b_public_from_evp()
1028 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, in get_ecc_tpm2b_public_from_evp()
1156 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong key_type", cleanup); in ifapi_get_tpm2b_public_from_pem()
1216 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong object type", in ifapi_verify_signature_quote()
1232 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "EVP_MD_CTX_create", in ifapi_verify_signature_quote()
1238 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Invalid hash alg.", in ifapi_verify_signature_quote()
1244 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "EVP_DigestVerifyInit", in ifapi_verify_signature_quote()
1251 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_signature_quote()
1255 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_signature_quote()
1261 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_signature_quote()
1265 goto_error(r, TSS2_FAPI_RC_SIGNATURE_VERIFICATION_FAILED, in ifapi_verify_signature_quote()
1326 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong object type", in ifapi_verify_signature()
1350 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong key type", in ifapi_verify_signature()
1452 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, in ifapi_crypto_hash_start()
1458 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, in ifapi_crypto_hash_start()
1464 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Error EVP_MD_CTX_create", in ifapi_crypto_hash_start()
1470 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Error EVP_DigestInit_ex", in ifapi_crypto_hash_start()
1628 goto_error(r, TSS2_FAPI_RC_NO_CERT, "Get crl.", cleanup); in get_crl_from_cert()
1637 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Can't convert crl.", cleanup); in get_crl_from_cert()
1694 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "PEM_write_bio_X509", cleanup); in ifapi_cert_to_pem()
1705 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Invalid BIO_read", in ifapi_cert_to_pem()
1724 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong key_type", cleanup); in ifapi_cert_to_pem()
1736 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong certificate (key type).", in ifapi_cert_to_pem()
1843 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, "Wrong key_type", cleanup); in ifapi_get_public_from_pem_cert()
1930 goto_error(r, TSS2_FAPI_RC_NO_CERT, "Get certificate.", cleanup); in ifapi_verify_ek_cert()
1966 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
1976 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
1987 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2000 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2011 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2017 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2021 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2033 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2040 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, in ifapi_verify_ek_cert()
2092 goto_error(r, TSS2_FAPI_RC_BAD_VALUE, in ifapi_get_tpm_key_fingerprint()
2105 goto_error(r,TSS2_FAPI_RC_BAD_VALUE, "Invalid alg id.", cleanup); in ifapi_get_tpm_key_fingerprint()
2112 goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "OSSL error", cleanup); in ifapi_get_tpm_key_fingerprint()