Lines Matching defs:alg
112 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg)
114 return container_of(alg, struct kpp_alg, base);
271 * Function invokes the specific kpp operation for a given alg.
286 struct kpp_alg *alg = crypto_kpp_alg(tfm);
291 ret = alg->set_secret(tfm, buffer, len);
312 struct kpp_alg *alg = crypto_kpp_alg(tfm);
317 ret = alg->generate_public_key(req);
335 struct kpp_alg *alg = crypto_kpp_alg(tfm);
340 ret = alg->compute_shared_secret(req);
357 struct kpp_alg *alg = crypto_kpp_alg(tfm);
359 return alg->max_size(tfm);