/crypto/ |
D | algboss.c | 97 const char *p; in cryptomgr_schedule_probe() local 108 for (p = name; isalnum(*p) || *p == '-' || *p == '_'; p++) in cryptomgr_schedule_probe() 111 len = p - name; in cryptomgr_schedule_probe() 112 if (!len || *p != '(') in cryptomgr_schedule_probe() 121 name = ++p; in cryptomgr_schedule_probe() 124 for (; isalnum(*p) || *p == '-' || *p == '_'; p++) in cryptomgr_schedule_probe() 125 notnum |= !isdigit(*p); in cryptomgr_schedule_probe() 127 if (*p == '(') { in cryptomgr_schedule_probe() 131 if (!*++p) in cryptomgr_schedule_probe() 133 if (*p == '(') in cryptomgr_schedule_probe() [all …]
|
D | gf128mul.c | 100 #define xx(p, q) 0x##p##q argument 178 be128 p[8]; in gf128mul_lle() local 181 p[0] = *r; in gf128mul_lle() 183 gf128mul_x_lle(&p[i + 1], &p[i]); in gf128mul_lle() 190 be128_xor(r, r, &p[0]); in gf128mul_lle() 192 be128_xor(r, r, &p[1]); in gf128mul_lle() 194 be128_xor(r, r, &p[2]); in gf128mul_lle() 196 be128_xor(r, r, &p[3]); in gf128mul_lle() 198 be128_xor(r, r, &p[4]); in gf128mul_lle() 200 be128_xor(r, r, &p[5]); in gf128mul_lle() [all …]
|
D | xcbc.c | 132 char *p = crypto_kmap(pg, 0) + offset; in crypto_xcbc_digest_update2() local 136 memcpy(ctx->odds + ctx->len, p, len); in crypto_xcbc_digest_update2() 147 crypto_kunmap(p, 0); in crypto_xcbc_digest_update2() 153 memcpy(ctx->odds + ctx->len, p, bs - ctx->len); in crypto_xcbc_digest_update2() 155 p += bs - ctx->len; in crypto_xcbc_digest_update2() 165 ctx->xor(ctx->prev, p, bs); in crypto_xcbc_digest_update2() 168 p += bs; in crypto_xcbc_digest_update2() 174 memcpy(ctx->odds, p, len); in crypto_xcbc_digest_update2() 177 crypto_kunmap(p, 0); in crypto_xcbc_digest_update2() 226 u8 *p = ctx->odds + ctx->len; in crypto_xcbc_digest_final() local [all …]
|
D | salsa20_generic.c | 46 #define U32TO8_LITTLE(p, v) \ argument 47 { (p)[0] = (v >> 0) & 0xff; (p)[1] = (v >> 8) & 0xff; \ 48 (p)[2] = (v >> 16) & 0xff; (p)[3] = (v >> 24) & 0xff; } 49 #define U8TO32_LITTLE(p) \ argument 50 (((u32)((p)[0]) ) | ((u32)((p)[1]) << 8) | \ 51 ((u32)((p)[2]) << 16) | ((u32)((p)[3]) << 24) )
|
D | proc.c | 75 static void *c_next(struct seq_file *m, void *p, loff_t *pos) in c_next() argument 77 return seq_list_next(p, &crypto_alg_list, pos); in c_next() 80 static void c_stop(struct seq_file *m, void *p) in c_stop() argument 85 static int c_show(struct seq_file *m, void *p) in c_show() argument 87 struct crypto_alg *alg = list_entry(p, struct crypto_alg, cra_list); in c_show()
|
D | blowfish.c | 31 u32 p[18]; member 322 const u32 *P = bctx->p; in encrypt_block() 369 const u32 *P = ctx->p; in bf_decrypt() 404 u32 *P = ctx->p; in bf_setkey()
|
D | digest.c | 58 char *p = src + offset; in update2() local 64 tfm->__crt_alg->cra_digest.dia_update(tfm, p, in update2() 66 p += bytes; in update2() 70 tfm->__crt_alg->cra_digest.dia_update(tfm, p, in update2()
|
D | md4.c | 204 char *p = (char *)mctx->block + offset; in md4_final() local 207 *p++ = 0x80; in md4_final() 209 memset(p, 0x00, padding + sizeof (u64)); in md4_final() 211 p = (char *)mctx->block; in md4_final() 215 memset(p, 0, padding); in md4_final()
|
D | lrw.c | 117 __be32 *p = (__be32 *) block; in get_index128() local 119 for (p += 3, x = 0; x < 128; p--, x += 32) { in get_index128() 120 u32 val = be32_to_cpup(p); in get_index128()
|
D | md5.c | 199 char *p = (char *)mctx->block + offset; in md5_final() local 202 *p++ = 0x80; in md5_final() 204 memset(p, 0x00, padding + sizeof (u64)); in md5_final() 206 p = (char *)mctx->block; in md5_final() 210 memset(p, 0, padding); in md5_final()
|
D | hmac.c | 33 static inline void *align_ptr(void *p, unsigned int align) in align_ptr() argument 35 return (void *)ALIGN((unsigned long)p, align); in align_ptr()
|
D | algapi.c | 383 struct hlist_node *p, *n; in crypto_unregister_template() local 393 hlist_for_each_entry(inst, p, list, list) { in crypto_unregister_template() 402 hlist_for_each_entry_safe(inst, p, n, list, list) { in crypto_unregister_template()
|
/crypto/async_tx/ |
D | async_xor.c | 220 static int page_is_zero(struct page *p, unsigned int offset, size_t len) in page_is_zero() argument 222 char *a = page_address(p) + offset; in page_is_zero()
|