Lines Matching defs:key
15 * struct akcipher_request - public key request
78 * struct akcipher_alg - generic public key algorithm
80 * @sign: Function performs a sign operation as defined by public key
85 * public key algorithm, returning verification status. Requires
87 * @encrypt: Function performs an encrypt operation as defined by public key
91 * @decrypt: Function performs a decrypt operation as defined by public key
95 * @set_pub_key: Function invokes the algorithm specific set public key
97 * the BER encoded public key and parameters
98 * @set_priv_key: Function invokes the algorithm specific set private key
100 * the BER encoded private key and parameters
101 * @max_size: Function returns dest buffer size required for a given key.
122 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
124 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
147 * public key algorithm e.g. "rsa"
151 * Allocate a handle for public key algorithm. The returned struct
153 * API invocation for the public key operations.
214 * akcipher_request_alloc() - allocates public key request
234 * akcipher_request_free() - zeroize and free public key request
269 * @req: public key request
291 * Function returns the dest buffer size required for a given key.
292 * Function assumes that the key is already set in the transformation. If this
327 * crypto_akcipher_encrypt() - Invoke public key encrypt operation
329 * Function invokes the specific public key encrypt operation for a given
330 * public key algorithm
332 * @req: asymmetric key request
352 * crypto_akcipher_decrypt() - Invoke public key decrypt operation
354 * Function invokes the specific public key decrypt operation for a given
355 * public key algorithm
357 * @req: asymmetric key request
377 * crypto_akcipher_sync_encrypt() - Invoke public key encrypt operation
379 * Function invokes the specific public key encrypt operation for a given
380 * public key algorithm
395 * crypto_akcipher_sync_decrypt() - Invoke public key decrypt operation
397 * Function invokes the specific public key decrypt operation for a given
398 * public key algorithm
413 * crypto_akcipher_sign() - Invoke public key sign operation
415 * Function invokes the specific public key sign operation for a given
416 * public key algorithm
418 * @req: asymmetric key request
434 * crypto_akcipher_verify() - Invoke public key signature verification
436 * Function invokes the specific public key signature verification operation
437 * for a given public key algorithm.
439 * @req: asymmetric key request
459 * crypto_akcipher_set_pub_key() - Invoke set public key operation
461 * Function invokes the algorithm specific set key function, which knows
462 * how to decode and interpret the encoded key and parameters
465 * @key: BER encoded public key, algo OID, paramlen, BER encoded
467 * @keylen: length of the key (not including other data)
472 const void *key,
477 return alg->set_pub_key(tfm, key, keylen);
481 * crypto_akcipher_set_priv_key() - Invoke set private key operation
483 * Function invokes the algorithm specific set key function, which knows
484 * how to decode and interpret the encoded key and parameters
487 * @key: BER encoded private key, algo OID, paramlen, BER encoded
489 * @keylen: length of the key (not including other data)
494 const void *key,
499 return alg->set_priv_key(tfm, key, keylen);