crypto_akcipher_set_priv_key (9) Linux Manual Page
crypto_akcipher_set_priv_key – Invoke set private key operation
Synopsis
int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm, const void *key, unsigned int keylen);
Arguments
tfm
-
- tfm handle
key
- BER encoded private 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 [at] chronox.de>
- Author.
Marek Vasut <marek [at] denx.de>
- Author.
