crypto_akcipher_set_pub_key(9)

crypto_akcipher_set_pub_key9

Invoke set public key operation

Usage

int crypto_akcipher_set_pub_key(struct crypto_akcipher * tfm, const void * key, unsigned int keylen);

Arguments

tfm

tfm handle

key

BER encoded public key

keylen

length of the key

Overview

Function invokes the algorithm specific set key function, which knows how to decode and interpret the encoded key

Return

zero on success; error code in case of error

Authors

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.