Lines Matching refs:SSL

81     OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE);  in ssl_set_pkey()
146 static bool pkey_supports_algorithm(const SSL *ssl, EVP_PKEY *pkey, in pkey_supports_algorithm()
172 static bool setup_ctx(SSL *ssl, EVP_MD_CTX *ctx, EVP_PKEY *pkey, in setup_ctx()
175 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SIGNATURE_TYPE); in setup_ctx()
203 SSL *const ssl = hs->ssl; in ssl_private_key_sign()
220 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_sign()
235 bool ssl_public_key_verify(SSL *ssl, Span<const uint8_t> signature, in ssl_public_key_verify()
249 SSL *const ssl = hs->ssl; in ssl_private_key_decrypt()
259 OPENSSL_PUT_ERROR(SSL, SSL_R_PRIVATE_KEY_OPERATION_FAILED); in ssl_private_key_decrypt()
268 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_private_key_decrypt()
283 SSL *const ssl = hs->ssl; in ssl_private_key_supports_signature_algorithm()
307 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) { in SSL_use_RSAPrivateKey()
309 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_RSAPrivateKey()
316 OPENSSL_PUT_ERROR(SSL, ERR_R_EVP_LIB); in SSL_use_RSAPrivateKey()
323 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der, size_t der_len) { in SSL_use_RSAPrivateKey_ASN1()
326 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_RSAPrivateKey_ASN1()
333 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) { in SSL_use_PrivateKey()
335 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_use_PrivateKey()
342 int SSL_use_PrivateKey_ASN1(int type, SSL *ssl, const uint8_t *der, in SSL_use_PrivateKey_ASN1()
345 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_use_PrivateKey_ASN1()
352 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_use_PrivateKey_ASN1()
361 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_CTX_use_RSAPrivateKey()
368 OPENSSL_PUT_ERROR(SSL, ERR_R_EVP_LIB); in SSL_CTX_use_RSAPrivateKey()
379 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_CTX_use_RSAPrivateKey_ASN1()
388 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_CTX_use_PrivateKey()
398 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_CTX_use_PrivateKey_ASN1()
405 OPENSSL_PUT_ERROR(SSL, ERR_R_ASN1_LIB); in SSL_CTX_use_PrivateKey_ASN1()
412 void SSL_set_private_key_method(SSL *ssl, in SSL_set_private_key_method()
493 int SSL_set_signing_algorithm_prefs(SSL *ssl, const uint16_t *prefs, in SSL_set_signing_algorithm_prefs()
545 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalg_pairs()
580 OPENSSL_PUT_ERROR(SSL, SSL_R_DUPLICATE_SIGNATURE_ALGORITHM); in sigalgs_unique()
604 int SSL_set1_sigalgs(SSL *ssl, const int *values, size_t num_values) { in SSL_set1_sigalgs()
606 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_set1_sigalgs()
662 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
667 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
681 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
694 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
714 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
728 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
745 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
757 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
766 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_SIGNATURE_ALGORITHM); in parse_sigalgs_list()
794 int SSL_set1_sigalgs_list(SSL *ssl, const char *str) { in SSL_set1_sigalgs_list()
796 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_set1_sigalgs_list()