---
name: "libssh2_crypto_engine"
section: "3"
platform: "linux"
package: "libssh2"
version: "1.11.1-7"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libssh2_crypto_engine"
---

# libssh2\_crypto\_engine(3)

retrieve used crypto engine

## NAME

libssh2\_crypto\_engine - retrieve used crypto engine

## SYNOPSIS

```
#include <libssh2.h>
libssh2_crypto_engine_t
libssh2_crypto_engine(void);
```

## DESCRIPTION

Returns currently used crypto engine, as en enum value.

## AVAILABILITY

Added in libssh2 1.11
