/crypto/ |
D | gf128mul.c | 56 #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 …]
|
D | algapi.c | 223 struct crypto_alg *q; in crypto_alg_finish_registration() local 225 list_for_each_entry(q, &crypto_alg_list, cra_list) { in crypto_alg_finish_registration() 226 if (q == alg) in crypto_alg_finish_registration() 229 if (crypto_is_moribund(q)) in crypto_alg_finish_registration() 232 if (crypto_is_larval(q)) { in crypto_alg_finish_registration() 233 struct crypto_larval *larval = (void *)q; in crypto_alg_finish_registration() 240 if (strcmp(alg->cra_name, q->cra_name) && in crypto_alg_finish_registration() 241 strcmp(alg->cra_driver_name, q->cra_name)) in crypto_alg_finish_registration() 246 if ((q->cra_flags ^ alg->cra_flags) & larval->mask) in crypto_alg_finish_registration() 257 if (strcmp(alg->cra_name, q->cra_name)) in crypto_alg_finish_registration() [all …]
|
D | dh.c | 17 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()
|
D | api.c | 59 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 62 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_alg_lookup() 65 if (crypto_is_moribund(q)) in __crypto_alg_lookup() 68 if ((q->cra_flags ^ type) & mask) in __crypto_alg_lookup() 71 if (crypto_is_larval(q) && in __crypto_alg_lookup() 72 !crypto_is_test_larval((struct crypto_larval *)q) && in __crypto_alg_lookup() 73 ((struct crypto_larval *)q)->mask != mask) in __crypto_alg_lookup() 76 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup() 77 fuzzy = !strcmp(q->cra_name, name); in __crypto_alg_lookup() 78 if (!exact && !(fuzzy && q->cra_priority > best)) in __crypto_alg_lookup() [all …]
|
D | crypto_user_base.c | 38 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()
|
D | vmac.c | 287 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()
|
D | dh_helper.c | 60 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()
|
D | ecc.c | 565 u64 q[ECC_MAX_DIGITS]; in vli_mmod_special2() local 576 vli_set(q, product + ndigits, ndigits); in vli_mmod_special2() 581 for (i = 1; carry || !vli_is_zero(q, ndigits); i++) { in vli_mmod_special2() 584 vli_umult(qc, q, c2, ndigits); in vli_mmod_special2() 587 vli_set(q, qc + ndigits, ndigits); in vli_mmod_special2() 663 u64 q[ECC_MAX_DIGITS * 2]; in vli_mmod_barrett() local 667 vli_mult(q, product + ndigits, mu, ndigits); in vli_mmod_barrett() 669 vli_add(q + ndigits, q + ndigits, product + ndigits, ndigits); in vli_mmod_barrett() 670 vli_mult(r, mod, q + ndigits, ndigits); in vli_mmod_barrett() 1337 const struct ecc_point *p, const struct ecc_point *q, in ecc_point_add() argument [all …]
|
D | essiv.c | 391 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()
|
D | ecc.h | 243 const u64 *y, const struct ecc_point *q,
|
D | rsa_helper.c | 100 key->q = value; in rsa_get_q()
|
D | testmgr.c | 2605 char *q; in test_cipher() local 2668 q = data; in test_cipher() 2669 if (memcmp(q, result, template[i].len)) { in test_cipher() 2672 hexdump(q, template[i].len); in test_cipher()
|
/crypto/async_tx/ |
D | async_raid6_recov.c | 158 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 …]
|
D | async_pq.c | 382 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/ |
D | x509_public_key.c | 164 const char *q; in x509_key_preparse() local 203 q = cert->raw_skid; in x509_key_preparse() 206 q = cert->raw_serial; in x509_key_preparse() 217 p = bin2hex(p, q, srlen); in x509_key_preparse()
|