Home
last modified time | relevance | path

Searched full:kpp (Results 1 – 25 of 27) 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/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>
2230 const char *kpp = nvme_auth_dhgroup_kpp(dhgroup_id); in nvmet_host_dhchap_dhgroup_store() local
2232 if (!crypto_has_kpp(kpp, 0, 0)) in nvmet_host_dhchap_dhgroup_store()
/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);
H A Dslub.c8166 void __kmem_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kmem_obj_info() argument
8176 kpp->kp_ptr = object; in __kmem_obj_info()
8177 kpp->kp_slab = slab; in __kmem_obj_info()
8178 kpp->kp_slab_cache = s; in __kmem_obj_info()
8187 kpp->kp_data_offset = (unsigned long)((char *)objp0 - (char *)objp); in __kmem_obj_info()
8189 kpp->kp_objp = objp; in __kmem_obj_info()
8197 kpp->kp_ret = (void *)trackp->addr; in __kmem_obj_info()
8208 kpp->kp_stack[i] = (void *)entries[i]; in __kmem_obj_info()
8216 kpp->kp_free_stack[i] = (void *)entries[i]; in __kmem_obj_info()

12