Home
last modified time | relevance | path

Searched refs:q (Results 1 – 15 of 15) sorted by relevance

/crypto/
Dgf128mul.c56 #define gf128mul_dat(q) { \ argument
57 q(0x00), q(0x01), q(0x02), q(0x03), q(0x04), q(0x05), q(0x06), q(0x07),\
58 q(0x08), q(0x09), q(0x0a), q(0x0b), q(0x0c), q(0x0d), q(0x0e), q(0x0f),\
59 q(0x10), q(0x11), q(0x12), q(0x13), q(0x14), q(0x15), q(0x16), q(0x17),\
60 q(0x18), q(0x19), q(0x1a), q(0x1b), q(0x1c), q(0x1d), q(0x1e), q(0x1f),\
61 q(0x20), q(0x21), q(0x22), q(0x23), q(0x24), q(0x25), q(0x26), q(0x27),\
62 q(0x28), q(0x29), q(0x2a), q(0x2b), q(0x2c), q(0x2d), q(0x2e), q(0x2f),\
63 q(0x30), q(0x31), q(0x32), q(0x33), q(0x34), q(0x35), q(0x36), q(0x37),\
64 q(0x38), q(0x39), q(0x3a), q(0x3b), q(0x3c), q(0x3d), q(0x3e), q(0x3f),\
65 q(0x40), q(0x41), q(0x42), q(0x43), q(0x44), q(0x45), q(0x46), q(0x47),\
[all …]
Dalgapi.c221 struct crypto_alg *q; in __crypto_register_alg() local
235 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_register_alg()
236 if (q == alg) in __crypto_register_alg()
239 if (crypto_is_moribund(q)) in __crypto_register_alg()
242 if (crypto_is_larval(q)) { in __crypto_register_alg()
243 if (!strcmp(alg->cra_driver_name, q->cra_driver_name)) in __crypto_register_alg()
248 if (!strcmp(q->cra_driver_name, alg->cra_name) || in __crypto_register_alg()
249 !strcmp(q->cra_driver_name, alg->cra_driver_name) || in __crypto_register_alg()
250 !strcmp(q->cra_name, alg->cra_driver_name)) in __crypto_register_alg()
288 struct crypto_alg *q; in crypto_alg_tested() local
[all …]
Ddh.c17 MPI q; /* Value is optional. */ member
25 mpi_free(ctx->q); in dh_clear_ctx()
62 if (params->q && params->q_size) { in dh_set_params()
63 ctx->q = mpi_read_raw_data(params->q, params->q_size); in dh_set_params()
64 if (!ctx->q) in dh_set_params()
125 if (ctx->q) { in dh_is_pubkey_valid()
132 ret = mpi_powm(val, y, ctx->q, ctx->p); in dh_is_pubkey_valid()
Dapi.c58 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local
61 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_alg_lookup()
64 if (crypto_is_moribund(q)) in __crypto_alg_lookup()
67 if ((q->cra_flags ^ type) & mask) in __crypto_alg_lookup()
70 if (crypto_is_larval(q) && in __crypto_alg_lookup()
71 !crypto_is_test_larval((struct crypto_larval *)q) && in __crypto_alg_lookup()
72 ((struct crypto_larval *)q)->mask != mask) in __crypto_alg_lookup()
75 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup()
76 fuzzy = !strcmp(q->cra_name, name); in __crypto_alg_lookup()
77 if (!exact && !(fuzzy && q->cra_priority > best)) in __crypto_alg_lookup()
[all …]
Dcrypto_user_base.c38 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local
42 list_for_each_entry(q, &crypto_alg_list, cra_list) { in crypto_alg_match()
45 if (crypto_is_larval(q)) in crypto_alg_match()
48 if ((q->cra_flags ^ p->cru_type) & p->cru_mask) in crypto_alg_match()
52 match = !strcmp(q->cra_driver_name, in crypto_alg_match()
55 match = !strcmp(q->cra_name, p->cru_name); in crypto_alg_match()
60 if (unlikely(!crypto_mod_get(q))) in crypto_alg_match()
63 alg = q; in crypto_alg_match()
Dvmac.c287 u64 p, q, t; in poly_step_func() local
306 q = MUL32(a1, k3); in poly_step_func()
307 q += MUL32(a2, k2); in poly_step_func()
308 q += MUL32(a3, k1); in poly_step_func()
309 q += q; in poly_step_func()
310 p += q; in poly_step_func()
316 q = MUL32(a2, k3); in poly_step_func()
317 q += MUL32(a3, k2); in poly_step_func()
318 q += q; in poly_step_func()
319 p += q; in poly_step_func()
Ddh_helper.c60 ptr = dh_pack_data(ptr, end, params->q, params->q_size); in crypto_dh_encode_key()
100 params->q = (void *)(ptr + params->key_size + params->p_size); in crypto_dh_decode_key()
114 params->q = NULL; in crypto_dh_decode_key()
Decc.c554 u64 q[ECC_MAX_DIGITS]; in vli_mmod_special2() local
565 vli_set(q, product + ndigits, ndigits); in vli_mmod_special2()
570 for (i = 1; carry || !vli_is_zero(q, ndigits); i++) { in vli_mmod_special2()
573 vli_umult(qc, q, c2, ndigits); in vli_mmod_special2()
576 vli_set(q, qc + ndigits, ndigits); in vli_mmod_special2()
652 u64 q[ECC_MAX_DIGITS * 2]; in vli_mmod_barrett() local
656 vli_mult(q, product + ndigits, mu, ndigits); in vli_mmod_barrett()
658 vli_add(q + ndigits, q + ndigits, product + ndigits, ndigits); in vli_mmod_barrett()
659 vli_mult(r, mod, q + ndigits, ndigits); in vli_mmod_barrett()
1207 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add() argument
[all …]
Dessiv.c391 const char *p, *q; in parse_cipher_name() local
400 q = strchr(p, ')'); in parse_cipher_name()
401 if (!q) in parse_cipher_name()
404 len = q - p; in parse_cipher_name()
Decc.h257 const u64 *y, const struct ecc_point *q,
Drsa_helper.c100 key->q = value; in rsa_get_q()
Dtestmgr.c2620 char *q; in test_cipher() local
2683 q = data; in test_cipher()
2684 if (memcmp(q, result, template[i].len)) { in test_cipher()
2687 hexdump(q, template[i].len); in test_cipher()
/crypto/async_tx/
Dasync_raid6_recov.c158 struct page *p, *q, *a, *b; in __2data_recov_4() local
170 q = blocks[disks-1]; in __2data_recov_4()
182 srcs[1] = q; in __2data_recov_4()
208 struct page *p, *q, *g, *dp, *dq; in __2data_recov_5() local
233 q = blocks[disks-1]; in __2data_recov_5()
265 srcs[1] = q; in __2data_recov_5()
299 struct page *p, *q, *dp, *dq; in __2data_recov_n() local
311 q = blocks[disks-1]; in __2data_recov_n()
339 blocks[disks-1] = q; in __2data_recov_n()
354 srcs[1] = q; in __2data_recov_n()
[all …]
Dasync_pq.c382 void *p, *q, *s; in async_syndrome_val() local
419 q = page_address(q_src) + q_off; in async_syndrome_val()
421 *pqres |= !!memcmp(q, s, len) << SUM_CHECK_Q; in async_syndrome_val()
/crypto/asymmetric_keys/
Dx509_public_key.c168 const char *q; in x509_key_preparse() local
207 q = cert->raw_skid; in x509_key_preparse()
210 q = cert->raw_serial; in x509_key_preparse()
221 p = bin2hex(p, q, srlen); in x509_key_preparse()