Asymmetric Cipher API

struct akcipher_alg — generic public key algorithm
struct akcipher_request — public key request
crypto_alloc_akcipher — allocate AKCIPHER tfm handle
crypto_free_akcipher — free AKCIPHER tfm handle
crypto_akcipher_set_pub_key — Invoke set public key operation
crypto_akcipher_set_priv_key — Invoke set private key operation

The Public Key API is used with the algorithms of type CRYPTO_ALG_TYPE_AKCIPHER (listed as type akcipher in /proc/crypto)