Lines Matching refs:private_key
526 const char *private_key, in tls_connection_private_key() argument
535 if (!private_key && !private_key_blob) in tls_connection_private_key()
570 if (!ok && private_key) { in tls_connection_private_key()
571 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
576 if (wolfSSL_use_PrivateKey_file(conn->ssl, private_key, in tls_connection_private_key()
1319 if (tls_connection_private_key(tls_ctx, conn, params->private_key, in tls_connection_set_params()
1427 static int tls_global_private_key(void *ssl_ctx, const char *private_key, in tls_global_private_key() argument
1434 if (!private_key) in tls_global_private_key()
1446 if (wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
1448 wolfSSL_CTX_use_PrivateKey_file(ctx, private_key, in tls_global_private_key()
1545 if (tls_global_private_key(tls_ctx, params->private_key, in tls_global_set_params()
1549 params->private_key); in tls_global_set_params()