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()
272 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_maxsize() local
274 return alg->max_size(tfm); in crypto_akcipher_maxsize()
290 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_encrypt() local
296 ret = alg->encrypt(req); in crypto_akcipher_encrypt()
314 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_decrypt() local
320 ret = alg->decrypt(req); in crypto_akcipher_decrypt()
338 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_sign() local
343 ret = alg->sign(req); in crypto_akcipher_sign()
365 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_verify() local
370 ret = alg->verify(req); in crypto_akcipher_verify()
392 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_pub_key() local
394 return alg->set_pub_key(tfm, key, keylen); in crypto_akcipher_set_pub_key()
414 struct akcipher_alg *alg = crypto_akcipher_alg(tfm); in crypto_akcipher_set_priv_key() local
416 return alg->set_priv_key(tfm, key, keylen); in crypto_akcipher_set_priv_key()