other versions
CRYPTO_AKCIPHER_SET_(9) | Programming Interface | CRYPTO_AKCIPHER_SET_(9) |
NAME¶
crypto_akcipher_set_pub_key - Invoke set public key operation
SYNOPSIS¶
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
DESCRIPTION¶
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 <smueller@chronox.de>
Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.9. |