Lines Matching defs:crypto_akcipher

43  * struct crypto_akcipher - user-instantiated objects which encapsulate
48 struct crypto_akcipher {
97 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
99 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
101 unsigned int (*max_size)(struct crypto_akcipher *tfm);
102 int (*init)(struct crypto_akcipher *tfm);
103 void (*exit)(struct crypto_akcipher *tfm);
124 * crypto_akcipher is the handle that is required for any subsequent
130 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
134 struct crypto_akcipher *tfm)
144 static inline struct crypto_akcipher *__crypto_akcipher_tfm(
147 return container_of(tfm, struct crypto_akcipher, base);
151 struct crypto_akcipher *tfm)
156 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm)
162 struct crypto_akcipher *tfm)
167 static inline struct crypto_akcipher *crypto_akcipher_reqtfm(
180 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm)
194 struct crypto_akcipher *tfm, gfp_t gfp)
270 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm)
289 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
313 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
337 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
364 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
388 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm,
410 static inline int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm,