Lines Matching refs:alg
139 static inline struct akcipher_alg *__crypto_akcipher_alg(struct crypto_alg *alg) in __crypto_akcipher_alg() argument
141 return container_of(alg, struct akcipher_alg, base); in __crypto_akcipher_alg()
268 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
270 return alg->max_size(tfm); in crypto_akcipher_maxsize()
286 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local
288 return alg->encrypt(req); in crypto_akcipher_encrypt()
304 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local
306 return alg->decrypt(req); in crypto_akcipher_decrypt()
322 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local
324 return alg->sign(req); in crypto_akcipher_sign()
340 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local
342 return alg->verify(req); in crypto_akcipher_verify()
361 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
363 return alg->set_pub_key(tfm, key, keylen); in crypto_akcipher_set_pub_key()
382 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
384 return alg->set_priv_key(tfm, key, keylen); in crypto_akcipher_set_priv_key()