/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 | 197 struct crypto_alg *q; in __crypto_register_alg() local 211 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_register_alg() 212 if (q == alg) in __crypto_register_alg() 215 if (crypto_is_moribund(q)) in __crypto_register_alg() 218 if (crypto_is_larval(q)) { in __crypto_register_alg() 219 if (!strcmp(alg->cra_driver_name, q->cra_driver_name)) in __crypto_register_alg() 224 if (!strcmp(q->cra_driver_name, alg->cra_name) || in __crypto_register_alg() 225 !strcmp(q->cra_name, alg->cra_driver_name)) in __crypto_register_alg() 261 struct crypto_alg *q; in crypto_alg_tested() local 265 list_for_each_entry(q, &crypto_alg_list, cra_list) { in crypto_alg_tested() [all …]
|
D | api.c | 63 struct crypto_alg *q, *alg = NULL; in __crypto_alg_lookup() local 66 list_for_each_entry(q, &crypto_alg_list, cra_list) { in __crypto_alg_lookup() 69 if (crypto_is_moribund(q)) in __crypto_alg_lookup() 72 if ((q->cra_flags ^ type) & mask) in __crypto_alg_lookup() 75 if (crypto_is_larval(q) && in __crypto_alg_lookup() 76 !crypto_is_test_larval((struct crypto_larval *)q) && in __crypto_alg_lookup() 77 ((struct crypto_larval *)q)->mask != mask) in __crypto_alg_lookup() 80 exact = !strcmp(q->cra_driver_name, name); in __crypto_alg_lookup() 81 fuzzy = !strcmp(q->cra_name, name); in __crypto_alg_lookup() 82 if (!exact && !(fuzzy && q->cra_priority > best)) in __crypto_alg_lookup() [all …]
|
D | testmgr.c | 573 char *q; in __test_aead() local 739 q = output; in __test_aead() 740 if (memcmp(q, template[i].result, template[i].rlen)) { in __test_aead() 743 hexdump(q, template[i].rlen); in __test_aead() 814 q = xbuf[IDX[k] >> PAGE_SHIFT] + offset_in_page(IDX[k]); in __test_aead() 815 memcpy(q, template[i].input + temp, template[i].tap[k]); in __test_aead() 817 q, template[i].tap[k]); in __test_aead() 820 q = xoutbuf[IDX[k] >> PAGE_SHIFT] + in __test_aead() 823 memset(q, 0, template[i].tap[k]); in __test_aead() 826 q, template[i].tap[k]); in __test_aead() [all …]
|
D | crypto_user.c | 51 struct crypto_alg *q, *alg = NULL; in crypto_alg_match() local 55 list_for_each_entry(q, &crypto_alg_list, cra_list) { in crypto_alg_match() 58 if ((q->cra_flags ^ p->cru_type) & p->cru_mask) in crypto_alg_match() 62 match = !strcmp(q->cra_driver_name, in crypto_alg_match() 65 match = !strcmp(q->cra_name, p->cru_name); in crypto_alg_match() 70 if (unlikely(!crypto_mod_get(q))) in crypto_alg_match() 73 alg = q; in crypto_alg_match()
|
D | vmac.c | 249 u64 p, q, t; in poly_step_func() local 268 q = MUL32(a1, k3); in poly_step_func() 269 q += MUL32(a2, k2); in poly_step_func() 270 q += MUL32(a3, k1); in poly_step_func() 271 q += q; in poly_step_func() 272 p += q; in poly_step_func() 278 q = MUL32(a2, k3); in poly_step_func() 279 q += MUL32(a3, k2); in poly_step_func() 280 q += q; in poly_step_func() 281 p += q; in poly_step_func()
|
D | rsa_helper.c | 105 key->q = value; in rsa_get_q()
|
/crypto/async_tx/ |
D | async_raid6_recov.c | 164 struct page *p, *q, *a, *b; in __2data_recov_4() local 173 q = blocks[disks-1]; in __2data_recov_4() 181 srcs[1] = q; in __2data_recov_4() 203 struct page *p, *q, *g, *dp, *dq; in __2data_recov_5() local 225 q = blocks[disks-1]; in __2data_recov_5() 249 srcs[1] = q; in __2data_recov_5() 277 struct page *p, *q, *dp, *dq; in __2data_recov_n() local 286 q = blocks[disks-1]; in __2data_recov_n() 306 blocks[disks-1] = q; in __2data_recov_n() 317 srcs[1] = q; in __2data_recov_n() [all …]
|
D | async_pq.c | 377 void *p, *q, *s; in async_syndrome_val() local 411 q = page_address(q_src) + offset; in async_syndrome_val() 413 *pqres |= !!memcmp(q, s, len) << SUM_CHECK_Q; in async_syndrome_val()
|
/crypto/asymmetric_keys/ |
D | x509_public_key.c | 159 const char *q; in x509_key_preparse() local 193 q = cert->raw_skid; in x509_key_preparse() 196 q = cert->raw_serial; in x509_key_preparse() 207 p = bin2hex(p, q, srlen); in x509_key_preparse()
|