Lines Matching refs:hx509_set_error_string

299 	hx509_set_error_string(context, 0, ret,  in parse_ECParameters()
307 hx509_set_error_string(context, 0, ret, in parse_ECParameters()
314 hx509_set_error_string(context, 0, ret, in parse_ECParameters()
322 hx509_set_error_string(context, 0, ret, in parse_ECParameters()
458 hx509_set_error_string(context, 0, ret, "out of memory"); in ecdsa_create_signature()
469 hx509_set_error_string(context, 0, ret, in ecdsa_create_signature()
560 hx509_set_error_string(context, 0, ret, "out of memory"); in rsa_verify_signature()
568 hx509_set_error_string(context, 0, ret, "out of memory"); in rsa_verify_signature()
576 hx509_set_error_string(context, 0, ret, in rsa_verify_signature()
595 hx509_set_error_string(context, 0, ret, "size from decryption mismatch"); in rsa_verify_signature()
604 hx509_set_error_string(context, 0, ret, "object identifier in RSA sig mismatch"); in rsa_verify_signature()
614 hx509_set_error_string(context, 0, ret, "Extra parameters inside RSA signature"); in rsa_verify_signature()
628 hx509_set_error_string(context, 0, ret, "RSA Signature incorrect"); in rsa_verify_signature()
714 hx509_set_error_string(context, 0, ret, "out of memory"); in rsa_create_signature()
727 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in rsa_create_signature()
739 hx509_set_error_string(context, 0, ret, in rsa_create_signature()
766 hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED, in rsa_private_key_import()
794 hx509_set_error_string(context, 0, ENOMEM, "malloc - out of memory"); in rsa_private_key2SPKI()
802 hx509_set_error_string(context, 0, ret, "malloc - out of memory"); in rsa_private_key2SPKI()
831 hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED, in rsa_generate_private_key()
847 hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED, in rsa_generate_private_key()
873 hx509_set_error_string(context, 0, ret, in rsa_private_key_export()
881 hx509_set_error_string(context, 0, ret, "malloc out of memory"); in rsa_private_key_export()
992 hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED, in ecdsa_private_key_import()
1060 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in dsa_verify_signature()
1076 hx509_set_error_string(context, 0, ret, "out of memory"); in dsa_verify_signature()
1085 hx509_set_error_string(context, 0, ret, "failed to set DSA key"); in dsa_verify_signature()
1091 hx509_set_error_string(context, 0, ret, "DSA parameters missing"); in dsa_verify_signature()
1100 hx509_set_error_string(context, 0, ret, "DSA parameters failed to decode"); in dsa_verify_signature()
1115 hx509_set_error_string(context, 0, ret, "out of memory"); in dsa_verify_signature()
1126 hx509_set_error_string(context, 0, ret, "failed to set DSA parameters"); in dsa_verify_signature()
1137 hx509_set_error_string(context, 0, ret, "BAD DSA sigature"); in dsa_verify_signature()
1140 hx509_set_error_string(context, 0, ret, "Invalid format of DSA sigature"); in dsa_verify_signature()
1166 hx509_set_error_string(context, 0, HX509_PARSING_KEY_FAILED,
1225 hx509_set_error_string(context, 0, HX509_CRYPTO_SIG_INVALID_FORMAT, in evp_md_verify_signature()
1237 hx509_set_error_string(context, 0, HX509_CRYPTO_BAD_SIGNATURE, in evp_md_verify_signature()
1582 hx509_set_error_string(context, 0, HX509_CRYPTO_ALGORITHM_BEST_BEFORE, in _hx509_signature_best_before()
1602 hx509_set_error_string(context, 0, HX509_CRYPTO_ALGORITHM_BEST_BEFORE, in _hx509_self_signed_valid()
1661 hx509_set_error_string(context, 0, HX509_SIG_ALG_NO_SUPPORTED, in _hx509_create_signature()
1667 hx509_set_error_string(context, 0, HX509_SIG_ALG_NO_SUPPORTED, in _hx509_create_signature()
1721 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in _hx509_public_encrypt()
1729 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in _hx509_public_encrypt()
1739 hx509_set_error_string(context, 0, HX509_CRYPTO_RSA_PUBLIC_ENCRYPT, in _hx509_public_encrypt()
1752 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in _hx509_public_encrypt()
1772 hx509_set_error_string(context, 0, HX509_PRIVATE_KEY_MISSING, in hx509_private_key_private_decrypt()
1780 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in hx509_private_key_private_decrypt()
1789 hx509_set_error_string(context, 0, HX509_CRYPTO_RSA_PRIVATE_DECRYPT, in hx509_private_key_private_decrypt()
1823 hx509_set_error_string(context, 0, ret, "out of memory"); in hx509_parse_private_key()
1845 hx509_set_error_string(context, 0, HX509_UNIMPLEMENTED_OPERATION, in hx509_private_key2SPKI()
1860 hx509_set_error_string(context, 0, EINVAL, in _hx509_generate_private_key_init()
1867 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in _hx509_generate_private_key_init()
1918 hx509_set_error_string(context, 0, ret, "out of memory"); in _hx509_generate_private_key()
2095 hx509_set_error_string(context, 0, ret, "malloc out of memory"); in _hx509_private_key_oid()
2429 hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP, in hx509_crypto_init()
2913 hx509_set_error_string(context, 0, HX509_ALG_NOT_SUPP, in _hx509_pbe_decrypt()
3146 hx509_set_error_string(context, 0, EINVAL, in hx509_crypto_select()
3217 hx509_set_error_string(context, 0, EINVAL, in hx509_crypto_available()
3277 hx509_set_error_string(context, 0, ENOMEM, "out of memory"); in hx509_crypto_available()