---
name: "crypto_skcipher_decrypt"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crypto_skcipher_decrypt"
---

# crypto\_skcipher\_decrypt(9)

decrypt ciphertext

## NAME

crypto\_skcipher\_decrypt - decrypt ciphertext

## SYNOPSIS

**int crypto\_skcipher\_decrypt(struct skcipher\_request \*** *req***);**

## ARGUMENTS

*req*

reference to the skcipher\_request handle that holds all information needed to perform the cipher operation

## DESCRIPTION

Decrypt ciphertext data using the skcipher\_request handle. That data structure and how it is filled with data is discussed with the skcipher\_request\_\* functions.

## RETURN

0 if the cipher operation was successful; \< 0 if an error occurred

## AUTHORS

**Stephan Mueller** \<smueller@chronox.de\>

Author.

**Marek Vasut** \<marek@denx.de\>

Author.

## COPYRIGHT
