Lines Matching refs:crypto_akcipher

45  * struct crypto_akcipher - user-instantiated objects which encapsulate
51 struct crypto_akcipher {
101 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
103 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
105 unsigned int (*max_size)(struct crypto_akcipher *tfm);
106 int (*init)(struct crypto_akcipher *tfm);
107 void (*exit)(struct crypto_akcipher *tfm);
127 * crypto_akcipher is the handle that is required for any subsequent
133 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
137 struct crypto_akcipher *tfm)
147 static inline struct crypto_akcipher *__crypto_akcipher_tfm(
150 return container_of(tfm, struct crypto_akcipher, base);
154 struct crypto_akcipher *tfm)
159 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm)
165 struct crypto_akcipher *tfm)
170 static inline struct crypto_akcipher *crypto_akcipher_reqtfm(
183 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm)
197 struct crypto_akcipher *tfm, gfp_t gfp)
273 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm)
292 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
309 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
328 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm,
346 int crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm,
362 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
383 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
401 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm,
423 static inline int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm,