Home
last modified time | relevance | path

Searched full:kpp (Results 1 – 25 of 28) sorted by relevance

12

/linux/include/crypto/internal/
H A Dkpp.h3 * Key-agreement Protocol Primitives (KPP)
10 #include <crypto/kpp.h>
14 * struct kpp_instance - KPP template instance
32 * struct crypto_kpp_spawn - KPP algorithm spawn
35 * Template instances can get a hold on some inner KPP algorithm by
63 static inline void kpp_set_reqsize(struct crypto_kpp *kpp, in kpp_set_reqsize() argument
66 kpp->reqsize = reqsize; in kpp_set_reqsize()
69 static inline void kpp_set_reqsize_dma(struct crypto_kpp *kpp, in kpp_set_reqsize_dma() argument
73 kpp->reqsize = reqsize; in kpp_set_reqsize_dma()
123 * kpp_alg_instance() - Get the &struct kpp_instance a given KPP transform has
[all …]
/linux/include/crypto/
H A Dkpp.h3 * Key-agreement Protocol Primitives (KPP)
94 * The KPP API is used with the algorithm type
95 * CRYPTO_ALG_TYPE_KPP (listed as type "kpp" in /proc/crypto)
99 * crypto_alloc_kpp() - allocate KPP tfm handle
100 * @alg_name: is the name of the kpp algorithm (e.g. "dh", "ecdh")
104 * Allocate a handle for kpp algorithm. The returned struct crypto_kpp
161 * crypto_free_kpp() - free KPP tfm handle
163 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp()
173 * kpp_request_alloc() - allocates kpp request
175 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp()
[all …]
H A Decdh.h3 * ECDH params to be used with kpp API
14 * To use ECDH with the KPP cipher API, the following data structure and
20 * To use ECDH with KPP, the following functions should be used to operate on
22 * the KPP API function call of crypto_kpp_set_secret.
H A Ddh.h3 * Diffie-Hellman secret to be used with kpp API along with helper functions
14 * To use DH with the KPP cipher API, the following data structure and
17 * To use DH with KPP, the following functions should be used to operate on
19 * the KPP API function call of crypto_kpp_set_secret.
/linux/include/linux/
H A Dkfence.h212 * @kpp: kmem_obj_info to be filled
218 * * true - a KFENCE object, filled @kpp
220 * Copies information to @kpp for KFENCE objects.
222 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab);
246 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info() argument
H A Dnvme-auth.h9 #include <crypto/kpp.h>
/linux/drivers/nvme/common/
H A Dauth.c40 char kpp[16]; member
43 .name = "null", .kpp = "null" },
45 .name = "ffdhe2048", .kpp = "ffdhe2048(dh)" },
47 .name = "ffdhe3072", .kpp = "ffdhe3072(dh)" },
49 .name = "ffdhe4096", .kpp = "ffdhe4096(dh)" },
51 .name = "ffdhe6144", .kpp = "ffdhe6144(dh)" },
53 .name = "ffdhe8192", .kpp = "ffdhe8192(dh)" },
68 return dhgroup_map[dhgroup_id].kpp; in nvme_auth_dhgroup_kpp()
/linux/drivers/char/tpm/
H A Dtpm2-sessions.c70 #include <crypto/kpp.h>
488 struct crypto_kpp *kpp; in tpm_buf_append_salt() local
515 kpp = crypto_alloc_kpp("ecdh-nist-p256", CRYPTO_ALG_INTERNAL, 0); in tpm_buf_append_salt()
516 if (IS_ERR(kpp)) { in tpm_buf_append_salt()
518 return PTR_ERR(kpp); in tpm_buf_append_salt()
530 crypto_kpp_set_secret(kpp, encoded_key, buf_len); in tpm_buf_append_salt()
533 req = kpp_request_alloc(kpp, GFP_KERNEL); in tpm_buf_append_salt()
569 crypto_free_kpp(kpp); in tpm_buf_append_salt()
576 crypto_free_kpp(kpp); in tpm_buf_append_salt()
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-tx6dl-comtft.dts28 &kpp {
H A Dimx6q-tx6q-1010-comtft.dts28 &kpp {
H A Dimx6q-tx6q-1020-comtft.dts36 &kpp {
H A Dimx51.dtsi370 kpp: kpp@73f94000 { label
371 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
H A Dimx53.dtsi422 kpp: kpp@53f94000 { label
423 compatible = "fsl,imx53-kpp", "fsl,imx21-kpp";
H A Dimx6ul-tx6ul-mainboard.dts92 &kpp {
H A Dimx6qdl-tx6-lvds.dtsi74 &kpp {
/linux/crypto/
H A Decdh_helper.c11 #include <crypto/kpp.h>
H A Ddh_helper.c11 #include <crypto/kpp.h>
/linux/drivers/nvme/target/
H A Dfabrics-cmd-auth.c11 #include <crypto/kpp.h>
115 const char *kpp = nvme_auth_dhgroup_kpp(tmp_dhgid); in nvmet_auth_negotiate() local
117 if (crypto_has_kpp(kpp, 0, 0)) in nvmet_auth_negotiate()
H A Dconfigfs.c20 #include <crypto/kpp.h>
2233 const char *kpp = nvme_auth_dhgroup_kpp(dhgroup_id); in nvmet_host_dhchap_dhgroup_store()
2235 if (!crypto_has_kpp(kpp, 0, 0)) in nvmet_host_dhchap_dhgroup_store()
2230 const char *kpp = nvme_auth_dhgroup_kpp(dhgroup_id); nvmet_host_dhchap_dhgroup_store() local
/linux/security/keys/
H A Ddh.c12 #include <crypto/kpp.h>
/linux/tools/testing/crypto/chacha20-s390/
H A Dtest-cipher.c14 #include <crypto/kpp.h>
/linux/Documentation/ABI/stable/
H A Dconfigfs-nvmet340 Non-null groups require the corresponding KPP crypto
/linux/drivers/clk/imx/
H A Dclk-imx25.c182 /* CCM_CGCR1(28): reserved in datasheet, used as kpp in FSL kernel */ in __mx25_clocks_init()
/linux/mm/
H A Dslab_common.c623 static void kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in kmem_obj_info() argument
625 if (__kfence_obj_info(kpp, object, slab)) in kmem_obj_info()
627 __kmem_obj_info(kpp, object, slab); in kmem_obj_info()
H A Dslab.h943 void __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab);

12