Lines Matching defs:crypto_akcipher
45 * struct crypto_akcipher - user-instantiated objects which encapsulate
51 struct crypto_akcipher {
122 int (*set_pub_key)(struct crypto_akcipher *tfm, const void *key,
124 int (*set_priv_key)(struct crypto_akcipher *tfm, const void *key,
126 unsigned int (*max_size)(struct crypto_akcipher *tfm);
127 int (*init)(struct crypto_akcipher *tfm);
128 void (*exit)(struct crypto_akcipher *tfm);
152 * crypto_akcipher is the handle that is required for any subsequent
158 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
162 struct crypto_akcipher *tfm)
172 static inline struct crypto_akcipher *__crypto_akcipher_tfm(
175 return container_of(tfm, struct crypto_akcipher, base);
179 struct crypto_akcipher *tfm)
184 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm)
190 struct crypto_akcipher *tfm)
195 static inline struct crypto_akcipher *crypto_akcipher_reqtfm(
208 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm)
222 struct crypto_akcipher *tfm, gfp_t gfp)
298 static inline unsigned int crypto_akcipher_maxsize(struct crypto_akcipher *tfm)
338 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
363 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
390 int crypto_akcipher_sync_encrypt(struct crypto_akcipher *tfm,
408 int crypto_akcipher_sync_decrypt(struct crypto_akcipher *tfm,
424 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
449 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req);
471 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm,
493 static inline int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm,