Lines Matching refs:openssl_err
378 static int openssl_err(const char *msg) in openssl_err() function
408 openssl_err("Failure reading private key"); in kwb_load_rsa_key()
470 return openssl_err("EVP context creation failed"); in kwb_compute_pubkey_hash()
474 ret = openssl_err("Digest setup failed"); in kwb_compute_pubkey_hash()
479 ret = openssl_err("Hashing data failed"); in kwb_compute_pubkey_hash()
484 ret = openssl_err("Could not obtain hash"); in kwb_compute_pubkey_hash()
506 openssl_err("error decoding public key"); in kwb_import_pubkey()
613 return openssl_err("EVP_PKEY object creation failed"); in kwb_sign()
616 ret = openssl_err("EVP key setup failed"); in kwb_sign()
630 ret = openssl_err("EVP context creation failed"); in kwb_sign()
635 ret = openssl_err("Signer setup failed"); in kwb_sign()
640 ret = openssl_err("Signing data failed"); in kwb_sign()
645 ret = openssl_err("Could not obtain signature"); in kwb_sign()
673 return openssl_err("EVP_PKEY object creation failed"); in kwb_verify()
676 ret = openssl_err("EVP key setup failed"); in kwb_verify()
690 ret = openssl_err("EVP context creation failed"); in kwb_verify()
695 ret = openssl_err("Verifier setup failed"); in kwb_verify()
700 ret = openssl_err("Hashing data failed"); in kwb_verify()
705 ret = openssl_err("Could not verify signature"); in kwb_verify()