| /crypto/ |
| A D | algapi.c | 248 struct crypto_alg *q; in crypto_alg_finish_registration() local 251 if (q == alg) in crypto_alg_finish_registration() 257 if (crypto_is_larval(q)) in crypto_alg_finish_registration() 303 struct crypto_alg *q; in __crypto_register_alg() local 315 if (q == alg) in __crypto_register_alg() 361 struct crypto_alg *q; in crypto_alg_tested() local 366 if (crypto_is_moribund(q) || !crypto_is_larval(q)) in crypto_alg_tested() 549 if (q == tmpl) in crypto_register_template() 630 tmpl = q; in __crypto_lookup_template() 1068 struct crypto_alg *q; in crypto_start_tests() local [all …]
|
| A D | rsa.c | 21 MPI q; member 96 ret = mpi_powm(m2, c, key->dq, key->q); in _rsa_dec_crt() 106 mpi_mul(m12_or_qh, key->q, m_or_m1_or_h) ?: in _rsa_dec_crt() 203 mpi_free(key->q); in rsa_free_mpi_key() 211 key->q = NULL; in rsa_free_mpi_key() 338 mpi_key->q = mpi_read_raw_data(raw_key.q, raw_key.q_sz); in rsa_set_priv_key() 339 if (!mpi_key->q) in rsa_set_priv_key()
|
| A D | crypto_user.c | 37 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local 41 list_for_each_entry(q, &crypto_alg_list, cra_list) { in crypto_alg_match() 44 if (crypto_is_larval(q)) in crypto_alg_match() 47 if ((q->cra_flags ^ p->cru_type) & p->cru_mask) in crypto_alg_match() 51 match = !strcmp(q->cra_driver_name, in crypto_alg_match() 54 match = !strcmp(q->cra_name, p->cru_name); in crypto_alg_match() 59 if (unlikely(!crypto_mod_get(q))) in crypto_alg_match() 62 alg = q; in crypto_alg_match()
|
| A D | api.c | 61 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 64 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_alg_lookup() 67 if (crypto_is_moribund(q)) in __crypto_alg_lookup() 70 if ((q->cra_flags ^ type) & mask) in __crypto_alg_lookup() 73 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup() 74 fuzzy = !strcmp(q->cra_name, name); in __crypto_alg_lookup() 75 if (!exact && !(fuzzy && q->cra_priority > best)) in __crypto_alg_lookup() 78 if (unlikely(!crypto_mod_get(q))) in __crypto_alg_lookup() 81 best = q->cra_priority; in __crypto_alg_lookup() 84 alg = q; in __crypto_alg_lookup()
|
| A D | dh.c | 109 MPI val, q; in dh_is_pubkey_valid() local 138 q = mpi_alloc(mpi_get_nlimbs(ctx->p)); in dh_is_pubkey_valid() 139 if (!q) { in dh_is_pubkey_valid() 148 ret = mpi_rshift(q, ctx->p, 1) ?: in dh_is_pubkey_valid() 149 mpi_powm(val, y, q, ctx->p); in dh_is_pubkey_valid() 151 mpi_free(q); in dh_is_pubkey_valid()
|
| A D | ecc.c | 592 u64 q[ECC_MAX_DIGITS]; in vli_mmod_special2() local 603 vli_set(q, product + ndigits, ndigits); in vli_mmod_special2() 611 vli_umult(qc, q, c2, ndigits); in vli_mmod_special2() 614 vli_set(q, qc + ndigits, ndigits); in vli_mmod_special2() 690 u64 q[ECC_MAX_DIGITS * 2]; in vli_mmod_barrett() local 696 vli_add(q + ndigits, q + ndigits, product + ndigits, ndigits); in vli_mmod_barrett() 697 vli_mult(r, mod, q + ndigits, ndigits); in vli_mmod_barrett() 1401 vli_set(result->x, q->x, ndigits); in ecc_point_add() 1402 vli_set(result->y, q->y, ndigits); in ecc_point_add() 1431 ecc_point_add(&sum, p, q, curve); in ecc_point_mult_shamir() [all …]
|
| A 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()
|
| A D | rsa_helper.c | 100 key->q = value; in rsa_get_q()
|
| A D | testmgr.c | 2725 char *q; in test_cipher() local 2788 q = data; in test_cipher() 2789 if (memcmp(q, result, template[i].len)) { in test_cipher() 2792 hexdump(q, template[i].len); in test_cipher()
|
| /crypto/async_tx/ |
| A D | async_raid6_recov.c | 170 q = blocks[disks-1]; in __2data_recov_4() 182 srcs[1] = q; in __2data_recov_4() 233 q = blocks[disks-1]; in __2data_recov_5() 265 srcs[1] = q; in __2data_recov_5() 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() 476 struct page *p, *q, *dq; in async_raid6_datap_recov() local 527 q = blocks[disks-1]; in async_raid6_datap_recov() 563 blocks[disks-1] = q; in async_raid6_datap_recov() [all …]
|
| A 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/ |
| A D | x509_public_key.c | 154 const char *q; in x509_key_preparse() local 184 q = cert->raw_skid; in x509_key_preparse() 187 q = cert->raw_serial; in x509_key_preparse() 197 p = bin2hex(p, q, srlen); in x509_key_preparse()
|