Home
last modified time | relevance | path

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

/crypto/
Dfips140-alg-registration.c306 int fips140_crypto_register_algs(struct crypto_alg *algs, int count) in fips140_crypto_register_algs() argument
311 for (i = 0; i < count; i++) { in fips140_crypto_register_algs()
317 return crypto_register_algs(algs, count); in fips140_crypto_register_algs()
320 int fips140_crypto_register_aeads(struct aead_alg *algs, int count) in fips140_crypto_register_aeads() argument
325 for (i = 0; i < count; i++) { in fips140_crypto_register_aeads()
331 return crypto_register_aeads(algs, count); in fips140_crypto_register_aeads()
334 int fips140_crypto_register_ahashes(struct ahash_alg *algs, int count) in fips140_crypto_register_ahashes() argument
339 for (i = 0; i < count; i++) { in fips140_crypto_register_ahashes()
345 return crypto_register_ahashes(algs, count); in fips140_crypto_register_ahashes()
348 int fips140_crypto_register_rngs(struct rng_alg *algs, int count) in fips140_crypto_register_rngs() argument
[all …]
Dtgr192.c36 int count; member
501 tctx->count = 0; in tgr192_init()
514 if (tctx->count == 64) { /* flush the buffer */ in tgr192_update()
516 tctx->count = 0; in tgr192_update()
522 if (tctx->count) { in tgr192_update()
523 for (; len && tctx->count < 64; len--) { in tgr192_update()
524 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update()
535 tctx->count = 0; in tgr192_update()
540 for (; len && tctx->count < 64; len--) { in tgr192_update()
541 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update()
[all …]
Dblowfish_common.c349 short i, j, count; in blowfish_setkey() local
353 for (i = 0, count = 0; i < 256; i++) in blowfish_setkey()
354 for (j = 0; j < 4; j++, count++) in blowfish_setkey()
355 S[count] = bf_sbox[count]; in blowfish_setkey()
383 for (j = 0, count = i * 256; j < 256; j += 2, count += 2) { in blowfish_setkey()
386 S[count] = data[0]; in blowfish_setkey()
387 S[count + 1] = data[1]; in blowfish_setkey()
Dsimd.c229 int simd_register_skciphers_compat(struct skcipher_alg *algs, int count, in simd_register_skciphers_compat() argument
239 err = crypto_register_skciphers(algs, count); in simd_register_skciphers_compat()
243 for (i = 0; i < count; i++) { in simd_register_skciphers_compat()
258 simd_unregister_skciphers(algs, count, simd_algs); in simd_register_skciphers_compat()
263 void simd_unregister_skciphers(struct skcipher_alg *algs, int count, in simd_unregister_skciphers() argument
268 crypto_unregister_skciphers(algs, count); in simd_unregister_skciphers()
270 for (i = 0; i < count; i++) { in simd_unregister_skciphers()
476 int simd_register_aeads_compat(struct aead_alg *algs, int count, in simd_register_aeads_compat() argument
486 err = crypto_register_aeads(algs, count); in simd_register_aeads_compat()
490 for (i = 0; i < count; i++) { in simd_register_aeads_compat()
[all …]
Dacompress.c168 int crypto_register_acomps(struct acomp_alg *algs, int count) in crypto_register_acomps() argument
172 for (i = 0; i < count; i++) { in crypto_register_acomps()
188 void crypto_unregister_acomps(struct acomp_alg *algs, int count) in crypto_unregister_acomps() argument
192 for (i = count - 1; i >= 0; --i) in crypto_unregister_acomps()
Drng.c198 int crypto_register_rngs(struct rng_alg *algs, int count) in crypto_register_rngs() argument
202 for (i = 0; i < count; i++) { in crypto_register_rngs()
218 void crypto_unregister_rngs(struct rng_alg *algs, int count) in crypto_unregister_rngs() argument
222 for (i = count - 1; i >= 0; --i) in crypto_unregister_rngs()
Dscompress.c281 int crypto_register_scomps(struct scomp_alg *algs, int count) in crypto_register_scomps() argument
285 for (i = 0; i < count; i++) { in crypto_register_scomps()
301 void crypto_unregister_scomps(struct scomp_alg *algs, int count) in crypto_unregister_scomps() argument
305 for (i = count - 1; i >= 0; --i) in crypto_unregister_scomps()
Daead.c257 int crypto_register_aeads(struct aead_alg *algs, int count) in crypto_register_aeads() argument
261 for (i = 0; i < count; i++) { in crypto_register_aeads()
277 void crypto_unregister_aeads(struct aead_alg *algs, int count) in crypto_unregister_aeads() argument
281 for (i = count - 1; i >= 0; --i) in crypto_unregister_aeads()
Dtestmgr.c88 unsigned int count; member
107 unsigned int count; member
113 unsigned int count; member
119 unsigned int count; member
124 unsigned int count; member
129 unsigned int count; member
134 unsigned int count; member
139 unsigned int count; member
460 unsigned int count, int *flags_ret) in valid_sg_divisions() argument
465 for (i = 0; i < count && total != TEST_SG_TOTAL; i++) { in valid_sg_divisions()
[all …]
Dfips140-module.c352 u32 count; member
385 fips140_rela_text.count); in check_fips140_module_hmac()
389 fips140_rela_rodata.count); in check_fips140_module_hmac()
Dalgapi.c470 int crypto_register_algs(struct crypto_alg *algs, int count) in crypto_register_algs() argument
474 for (i = 0; i < count; i++) { in crypto_register_algs()
490 void crypto_unregister_algs(struct crypto_alg *algs, int count) in crypto_unregister_algs() argument
494 for (i = 0; i < count; i++) in crypto_unregister_algs()
521 int crypto_register_templates(struct crypto_template *tmpls, int count) in crypto_register_templates() argument
525 for (i = 0; i < count; i++) { in crypto_register_templates()
568 void crypto_unregister_templates(struct crypto_template *tmpls, int count) in crypto_unregister_templates() argument
572 for (i = count - 1; i >= 0; --i) in crypto_unregister_templates()
Dshash.c574 int crypto_register_shashes(struct shash_alg *algs, int count) in crypto_register_shashes() argument
578 for (i = 0; i < count; i++) { in crypto_register_shashes()
594 void crypto_unregister_shashes(struct shash_alg *algs, int count) in crypto_unregister_shashes() argument
598 for (i = count - 1; i >= 0; --i) in crypto_unregister_shashes()
Dahash.c603 int crypto_register_ahashes(struct ahash_alg *algs, int count) in crypto_register_ahashes() argument
607 for (i = 0; i < count; i++) { in crypto_register_ahashes()
623 void crypto_unregister_ahashes(struct ahash_alg *algs, int count) in crypto_unregister_ahashes() argument
627 for (i = count - 1; i >= 0; --i) in crypto_unregister_ahashes()
Dskcipher.c835 int crypto_register_skciphers(struct skcipher_alg *algs, int count) in crypto_register_skciphers() argument
839 for (i = 0; i < count; i++) { in crypto_register_skciphers()
855 void crypto_unregister_skciphers(struct skcipher_alg *algs, int count) in crypto_unregister_skciphers() argument
859 for (i = count - 1; i >= 0; --i) in crypto_unregister_skciphers()
/crypto/async_tx/
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()