Home
last modified time | relevance | path

Searched refs:kpp_alg (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/include/crypto/
H A Dkpp.h92 struct kpp_alg { struct
138 static inline struct kpp_alg *__crypto_kpp_alg(struct crypto_alg *alg) in __crypto_kpp_alg()
140 return container_of(alg, struct kpp_alg, base); in __crypto_kpp_alg()
148 static inline struct kpp_alg *crypto_kpp_alg(struct crypto_kpp *tfm) in crypto_kpp_alg()
294 static inline struct crypto_istat_kpp *kpp_get_stat(struct kpp_alg *alg) in kpp_get_stat()
303 static inline int crypto_kpp_errstat(struct kpp_alg *alg, int err) in crypto_kpp_errstat()
332 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_set_secret()
356 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_generate_public_key()
377 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_compute_shared_secret()
397 struct kpp_alg *alg = crypto_kpp_alg(tfm); in crypto_kpp_maxsize()
H A Dengine.h45 struct kpp_alg base;
/openbmc/linux/include/crypto/internal/
H A Dkpp.h24 char head[offsetof(struct kpp_alg, base)];
27 struct kpp_alg alg;
162 int crypto_register_kpp(struct kpp_alg *alg);
173 void crypto_unregister_kpp(struct kpp_alg *alg);
221 static inline struct kpp_alg *crypto_spawn_kpp_alg( in crypto_spawn_kpp_alg()
224 return container_of(spawn->base.alg, struct kpp_alg, base); in crypto_spawn_kpp_alg()
/openbmc/linux/crypto/
H A Dkpp.c43 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm()
51 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm()
72 struct kpp_alg *kpp = __crypto_kpp_alg(alg); in crypto_kpp_report_stat()
132 static void kpp_prepare_alg(struct kpp_alg *alg) in kpp_prepare_alg()
145 int crypto_register_kpp(struct kpp_alg *alg) in crypto_register_kpp()
154 void crypto_unregister_kpp(struct kpp_alg *alg) in crypto_unregister_kpp()
H A Decdh.c138 static struct kpp_alg ecdh_nist_p192 = {
163 static struct kpp_alg ecdh_nist_p256 = {
188 static struct kpp_alg ecdh_nist_p384 = {
H A Dcurve25519-generic.c62 static struct kpp_alg curve25519_alg = {
H A Ddh.c264 static struct kpp_alg dh = {
557 struct kpp_alg *dh_alg; in __dh_safe_prime_create()
/openbmc/linux/Documentation/crypto/
H A Dapi-kpp.rst5 :functions: kpp_request crypto_kpp kpp_alg kpp_secret
/openbmc/linux/arch/arm/crypto/
H A Dcurve25519-glue.c102 static struct kpp_alg curve25519_alg = {
/openbmc/linux/drivers/crypto/
H A Datmel-ecc.c297 static struct kpp_alg atmel_ecdh_nist_p256 = {
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c2022 static struct kpp_alg dh = {
2038 static struct kpp_alg ecdh_curves[] = {
2084 static struct kpp_alg curve25519_alg = {
/openbmc/linux/arch/x86/crypto/
H A Dcurve25519-x86_64.c1687 static struct kpp_alg curve25519_alg = {
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c1266 static struct kpp_alg dh = {