Lines Matching refs:rsa_err
38 static int rsa_err(const char *msg) in rsa_err() function
78 rsa_err("Couldn't read certificate"); in rsa_pem_get_pub_key()
86 rsa_err("Couldn't read public key\n"); in rsa_pem_get_pub_key()
94 rsa_err("Couldn't convert to a RSA style key"); in rsa_pem_get_pub_key()
166 return rsa_err("Failure loading public key from engine"); in rsa_engine_get_pub_key()
171 rsa_err("Couldn't convert to a RSA style key"); in rsa_engine_get_pub_key()
229 rsa_err("Failure reading private key"); in rsa_pem_get_priv_key()
291 return rsa_err("Failure loading private key from engine"); in rsa_engine_get_priv_key()
296 rsa_err("Couldn't convert to a RSA style key"); in rsa_engine_get_priv_key()
434 return rsa_err("EVP_PKEY object creation failed"); in rsa_sign_with_key()
437 ret = rsa_err("EVP key setup failed"); in rsa_sign_with_key()
452 ret = rsa_err("EVP context creation failed"); in rsa_sign_with_key()
459 ret = rsa_err("EVP key context creation failed"); in rsa_sign_with_key()
466 ret = rsa_err("Signer setup failed"); in rsa_sign_with_key()
474 ret = rsa_err("Signer padding setup failed"); in rsa_sign_with_key()
483 ret = rsa_err("Signing data failed"); in rsa_sign_with_key()
489 ret = rsa_err("Could not obtain signature"); in rsa_sign_with_key()