Home
last modified time | relevance | path

Searched refs:count (Results 1 – 16 of 16) sorted by relevance

/crypto/
A Dblowfish_common.c350 short i, j, count; in blowfish_setkey() local
354 for (i = 0, count = 0; i < 256; i++) in blowfish_setkey()
355 for (j = 0; j < 4; j++, count++) in blowfish_setkey()
356 S[count] = bf_sbox[count]; in blowfish_setkey()
384 for (j = 0, count = i * 256; j < 256; j += 2, count += 2) { in blowfish_setkey()
387 S[count] = data[0]; in blowfish_setkey()
388 S[count + 1] = data[1]; in blowfish_setkey()
A Dsimd.c217 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
221 for (i = 0; i < count; i++) { in simd_register_skciphers_compat()
236 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
246 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
248 for (i = 0; i < count; i++) { in simd_unregister_skciphers()
440 err = crypto_register_aeads(algs, count); in simd_register_aeads_compat()
444 for (i = 0; i < count; i++) { in simd_register_aeads_compat()
459 simd_unregister_aeads(algs, count, simd_algs); in simd_register_aeads_compat()
464 void simd_unregister_aeads(struct aead_alg *algs, int count, in simd_unregister_aeads() argument
469 crypto_unregister_aeads(algs, count); in simd_unregister_aeads()
[all …]
A Dcrypto_engine.c521 int crypto_engine_register_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_register_aeads() argument
525 for (i = 0; i < count; i++) { in crypto_engine_register_aeads()
540 void crypto_engine_unregister_aeads(struct aead_engine_alg *algs, int count) in crypto_engine_unregister_aeads() argument
544 for (i = count - 1; i >= 0; --i) in crypto_engine_unregister_aeads()
567 for (i = 0; i < count; i++) { in crypto_engine_register_ahashes()
583 int count) in crypto_engine_unregister_ahashes() argument
587 for (i = count - 1; i >= 0; --i) in crypto_engine_unregister_ahashes()
635 int count) in crypto_engine_register_skciphers() argument
639 for (i = 0; i < count; i++) { in crypto_engine_register_skciphers()
655 int count) in crypto_engine_unregister_skciphers() argument
[all …]
A Drng.c192 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument
196 for (i = 0; i < count; i++) { in crypto_register_rngs()
212 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument
216 for (i = count - 1; i >= 0; --i) in crypto_unregister_rngs()
A Daead.c250 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument
254 for (i = 0; i < count; i++) { in crypto_register_aeads()
270 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument
274 for (i = count - 1; i >= 0; --i) in crypto_unregister_aeads()
A Dscompress.c380 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument
384 for (i = 0; i < count; i++) { in crypto_register_scomps()
400 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument
404 for (i = count - 1; i >= 0; --i) in crypto_unregister_scomps()
A Dalgapi.c508 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument
512 for (i = 0; i < count; i++) { in crypto_register_algs()
528 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument
532 for (i = 0; i < count; i++) in crypto_unregister_algs()
561 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates() argument
565 for (i = 0; i < count; i++) { in crypto_register_templates()
610 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates() argument
614 for (i = count - 1; i >= 0; --i) in crypto_unregister_templates()
A Dtestmgr.c86 unsigned int count; member
105 unsigned int count; member
111 unsigned int count; member
117 unsigned int count; member
122 unsigned int count; member
127 unsigned int count; member
132 unsigned int count; member
137 unsigned int count; member
142 unsigned int count; member
983 if (count == 0) in generate_random_bytes()
[all …]
A Djitterentropy-testing.c268 size_t count, loff_t *ppos) in jent_raw_hires_read() argument
270 return jent_testing_extract_user(file, to, count, ppos, in jent_raw_hires_read()
A Dshash.c539 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument
543 for (i = 0; i < count; i++) { in crypto_register_shashes()
559 void crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument
563 for (i = count - 1; i >= 0; --i) in crypto_unregister_shashes()
A Dacompress.c334 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument
338 for (i = 0; i < count; i++) { in crypto_register_acomps()
354 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument
358 for (i = count - 1; i >= 0; --i) in crypto_unregister_acomps()
A Dlskcipher.c381 int crypto_register_lskciphers(struct lskcipher_alg *algs, int count) in crypto_register_lskciphers() argument
385 for (i = 0; i < count; i++) { in crypto_register_lskciphers()
401 void crypto_unregister_lskciphers(struct lskcipher_alg *algs, int count) in crypto_unregister_lskciphers() argument
405 for (i = count - 1; i >= 0; --i) in crypto_unregister_lskciphers()
A Dskcipher.c487 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument
491 for (i = 0; i < count; i++) { in crypto_register_skciphers()
507 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument
511 for (i = count - 1; i >= 0; --i) in crypto_unregister_skciphers()
A Dahash.c1003 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument
1007 for (i = 0; i < count; i++) { in crypto_register_ahashes()
1023 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument
1027 for (i = count - 1; i >= 0; --i) in crypto_unregister_ahashes()
A Dsha1.c25 static_assert(offsetof(struct sha1_ctx, bytecount) == offsetof(struct sha1_state, count));
/crypto/async_tx/
A Draid6test.c77 int count = 0; in raid6_dual_recov() local
88 blocks[count++] = ptrs[i]; in raid6_dual_recov()
93 tx = async_xor(dest, blocks, 0, count, bytes, &submit); in raid6_dual_recov()

Completed in 37 milliseconds