Lines Matching refs:crypto_akcipher
47 struct crypto_akcipher { struct
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 int (*max_size)(struct crypto_akcipher *tfm);
102 int (*init)(struct crypto_akcipher *tfm);
103 void (*exit)(struct crypto_akcipher *tfm);
130 struct crypto_akcipher *crypto_alloc_akcipher(const char *alg_name, u32 type,
134 struct crypto_akcipher *tfm) in crypto_akcipher_tfm()
144 static inline struct crypto_akcipher *__crypto_akcipher_tfm( in __crypto_akcipher_tfm()
147 return container_of(tfm, struct crypto_akcipher, base); in __crypto_akcipher_tfm()
151 struct crypto_akcipher *tfm) in crypto_akcipher_alg()
156 static inline unsigned int crypto_akcipher_reqsize(struct crypto_akcipher *tfm) in crypto_akcipher_reqsize()
162 struct crypto_akcipher *tfm) in akcipher_request_set_tfm()
167 static inline struct crypto_akcipher *crypto_akcipher_reqtfm( in crypto_akcipher_reqtfm()
178 static inline void crypto_free_akcipher(struct crypto_akcipher *tfm) in crypto_free_akcipher()
192 struct crypto_akcipher *tfm, gfp_t gfp) in akcipher_request_alloc()
266 static inline int crypto_akcipher_maxsize(struct crypto_akcipher *tfm) in crypto_akcipher_maxsize()
285 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_encrypt()
303 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_decrypt()
321 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_sign()
339 struct crypto_akcipher *tfm = crypto_akcipher_reqtfm(req); in crypto_akcipher_verify()
357 static inline int crypto_akcipher_set_pub_key(struct crypto_akcipher *tfm, in crypto_akcipher_set_pub_key()
378 static inline int crypto_akcipher_set_priv_key(struct crypto_akcipher *tfm, in crypto_akcipher_set_priv_key()