Home
last modified time | relevance | path

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

123

/Linux-v6.1/Documentation/devicetree/bindings/input/
Dimx-keypad.yaml7 title: Freescale i.MX Keypad Port(KPP)
16 The KPP is designed to interface with a keypad matrix with 2-point contact
17 or 3-point contact keys. The KPP is designed to simplify the software task
18 of scanning a keypad matrix. The KPP is capable of detecting, debouncing,
24 - const: fsl,imx21-kpp
27 - fsl,imx25-kpp
28 - fsl,imx27-kpp
29 - fsl,imx31-kpp
30 - fsl,imx35-kpp
31 - fsl,imx51-kpp
[all …]
/Linux-v6.1/include/crypto/internal/
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
95 * kpp_alg_instance() - Get the &struct kpp_instance a given KPP transform has
97 * @kpp: The KPP transform instantiated from some &struct kpp_instance.
98 * Return: The &struct kpp_instance associated with @kpp.
100 static inline struct kpp_instance *kpp_alg_instance(struct crypto_kpp *kpp) in kpp_alg_instance() argument
102 return kpp_instance(crypto_tfm_alg_instance(&kpp->base)); in kpp_alg_instance()
[all …]
/Linux-v6.1/include/crypto/
Dkpp.h3 * Key-agreement Protocol Primitives (KPP)
89 * The KPP API is used with the algorithm type
90 * CRYPTO_ALG_TYPE_KPP (listed as type "kpp" in /proc/crypto)
94 * crypto_alloc_kpp() - allocate KPP tfm handle
95 * @alg_name: is the name of the kpp algorithm (e.g. "dh", "ecdh")
99 * Allocate a handle for kpp algorithm. The returned struct crypto_kpp
156 * crypto_free_kpp() - free KPP tfm handle
158 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp()
168 * kpp_request_alloc() - allocates kpp request
170 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp()
[all …]
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.
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-v6.1/crypto/
Dkpp.c3 * Key-agreement Protocol Primitives (KPP)
19 #include <crypto/kpp.h>
20 #include <crypto/internal/kpp.h>
30 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_kpp_report()
46 seq_puts(m, "type : kpp\n"); in crypto_kpp_show()
51 struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm); in crypto_kpp_exit_tfm() local
52 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_exit_tfm()
54 alg->exit(kpp); in crypto_kpp_exit_tfm()
59 struct crypto_kpp *kpp = __crypto_kpp_tfm(tfm); in crypto_kpp_init_tfm() local
60 struct kpp_alg *alg = crypto_kpp_alg(kpp); in crypto_kpp_init_tfm()
[all …]
Dcrypto_user_stat.c17 #include <crypto/kpp.h>
122 strscpy(rkpp.type, "kpp", sizeof(rkpp.type)); in crypto_report_kpp()
124 rkpp.stat_setsecret_cnt = atomic64_read(&alg->stats.kpp.setsecret_cnt); in crypto_report_kpp()
125 rkpp.stat_generate_public_key_cnt = atomic64_read(&alg->stats.kpp.generate_public_key_cnt); in crypto_report_kpp()
126 rkpp.stat_compute_shared_secret_cnt = atomic64_read(&alg->stats.kpp.compute_shared_secret_cnt); in crypto_report_kpp()
127 rkpp.stat_err_cnt = atomic64_read(&alg->stats.kpp.err_cnt); in crypto_report_kpp()
Dcurve25519-generic.c4 #include <crypto/internal/kpp.h>
5 #include <crypto/kpp.h>
Decdh.c10 #include <crypto/internal/kpp.h>
11 #include <crypto/kpp.h>
Dalgapi.c1158 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_set_secret()
1160 atomic64_inc(&alg->stats.kpp.setsecret_cnt); in crypto_stats_kpp_set_secret()
1168 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_generate_public_key()
1170 atomic64_inc(&alg->stats.kpp.generate_public_key_cnt); in crypto_stats_kpp_generate_public_key()
1178 atomic64_inc(&alg->stats.kpp.err_cnt); in crypto_stats_kpp_compute_shared_secret()
1180 atomic64_inc(&alg->stats.kpp.compute_shared_secret_cnt); in crypto_stats_kpp_compute_shared_secret()
/Linux-v6.1/Documentation/crypto/
Dapi-kpp.rst1 Key-agreement Protocol Primitives (KPP) Cipher Algorithm Definitions
4 .. kernel-doc:: include/crypto/kpp.h
7 Key-agreement Protocol Primitives (KPP) Cipher API
10 .. kernel-doc:: include/crypto/kpp.h
13 .. kernel-doc:: include/crypto/kpp.h
16 Key-agreement Protocol Primitives (KPP) Cipher Request Handle
19 .. kernel-doc:: include/crypto/kpp.h
Dapi.rst16 api-kpp
Darchitecture.rst160 - kpp for a Key-agreement Protocol Primitive (KPP) cipher such as
204 - CRYPTO_ALG_TYPE_KPP Key-agreement Protocol Primitive (KPP) such as
/Linux-v6.1/mm/kfence/
Dreport.c295 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info() argument
307 kpp->kp_ptr = object; in __kfence_obj_info()
315 kpp->kp_slab = slab; in __kfence_obj_info()
316 kpp->kp_slab_cache = meta->cache; in __kfence_obj_info()
317 kpp->kp_objp = (void *)meta->addr; in __kfence_obj_info()
318 kfence_to_kp_stack(&meta->alloc_track, kpp->kp_stack); in __kfence_obj_info()
320 kfence_to_kp_stack(&meta->free_track, kpp->kp_free_stack); in __kfence_obj_info()
322 kpp->kp_ret = kpp->kp_stack[0]; in __kfence_obj_info()
/Linux-v6.1/drivers/nvme/common/
Dauth.c40 const 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-v6.1/net/bluetooth/
Decdh_helper.c2 * ECDH helper functions - KPP wrappings
54 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp().
116 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp().
161 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp().
214 * @tfm: KPP tfm handle allocated with crypto_alloc_kpp().
Decdh_helper.h2 * ECDH helper functions - KPP wrappings
23 #include <crypto/kpp.h>
/Linux-v6.1/include/linux/
Dkfence.h211 * @kpp: kmem_obj_info to be filled
216 * * true - a KFENCE object, filled @kpp
218 * Copies information to @kpp for KFENCE objects.
220 bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab);
242 static inline bool __kfence_obj_info(struct kmem_obj_info *kpp, void *object, struct slab *slab) in __kfence_obj_info() argument
Dnvme-auth.h9 #include <crypto/kpp.h>
Dcrypto.h360 * struct crypto_istat_kpp - statistics for KPP algorithm
364 * @err_cnt: number of error for KPP requests
472 * @stats.kpp: statistics for KPP algorithm
514 struct crypto_istat_kpp kpp; member
/Linux-v6.1/arch/arm/boot/dts/
Dimx31.dtsi142 kpp: kpp@43fa8000 { label
143 compatible = "fsl,imx31-kpp", "fsl,imx21-kpp";
Dimx35.dtsi151 kpp: kpp@43fa8000 { label
152 compatible = "fsl,imx35-kpp", "fsl,imx21-kpp";
Dimx27.dtsi155 kpp: kpp@10008000 { label
156 compatible = "fsl,imx27-kpp", "fsl,imx21-kpp";
Dimx51.dtsi367 kpp: kpp@73f94000 { label
368 compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
Dimx25.dtsi180 kpp: kpp@43fa8000 { label
183 compatible = "fsl,imx25-kpp", "fsl,imx21-kpp";

123