Lines Matching defs:key
13 * struct akcipher_request - public key request
53 * struct akcipher_alg - generic public key algorithm
55 * @sign: Function performs a sign operation as defined by public key
60 * public key algorithm, returning verification status. Requires
62 * @encrypt: Function performs an encrypt operation as defined by public key
66 * @decrypt: Function performs a decrypt operation as defined by public key
70 * @set_pub_key: Function invokes the algorithm specific set public key
72 * the BER encoded public key and parameters
73 * @set_priv_key: Function invokes the algorithm specific set private key
75 * the BER encoded private key and parameters
76 * @max_size: Function returns dest buffer size required for a given key.
97 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
99 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
119 * public key algorithm e.g. "rsa"
123 * Allocate a handle for public key algorithm. The returned struct
125 * API invocation for the public key operations.
186 * akcipher_request_alloc() - allocates public key request
206 * akcipher_request_free() - zeroize and free public key request
241 * @req: public key request
263 * Function returns the dest buffer size required for a given key.
264 * Function assumes that the key is already set in the transformation. If this
278 * crypto_akcipher_encrypt() - Invoke public key encrypt operation
280 * Function invokes the specific public key encrypt operation for a given
281 * public key algorithm
283 * @req: asymmetric key request
302 * crypto_akcipher_decrypt() - Invoke public key decrypt operation
304 * Function invokes the specific public key decrypt operation for a given
305 * public key algorithm
307 * @req: asymmetric key request
326 * crypto_akcipher_sign() - Invoke public key sign operation
328 * Function invokes the specific public key sign operation for a given
329 * public key algorithm
331 * @req: asymmetric key request
349 * crypto_akcipher_verify() - Invoke public key signature verification
351 * Function invokes the specific public key signature verification operation
352 * for a given public key algorithm.
354 * @req: asymmetric key request
376 * crypto_akcipher_set_pub_key() - Invoke set public key operation
378 * Function invokes the algorithm specific set key function, which knows
379 * how to decode and interpret the encoded key and parameters
382 * @key: BER encoded public key, algo OID, paramlen, BER encoded
384 * @keylen: length of the key (not including other data)
389 const void *key,
394 return alg->set_pub_key(tfm, key, keylen);
398 * crypto_akcipher_set_priv_key() - Invoke set private key operation
400 * Function invokes the algorithm specific set key function, which knows
401 * how to decode and interpret the encoded key and parameters
404 * @key: BER encoded private key, algo OID, paramlen, BER encoded
406 * @keylen: length of the key (not including other data)
411 const void *key,
416 return alg->set_priv_key(tfm, key, keylen);