/crypto/ |
D | fips140-alg-registration.c | 306 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 …]
|
D | tgr192.c | 36 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 …]
|
D | blowfish_common.c | 349 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()
|
D | simd.c | 229 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 …]
|
D | acompress.c | 168 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()
|
D | rng.c | 198 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()
|
D | scompress.c | 281 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()
|
D | aead.c | 257 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()
|
D | testmgr.c | 88 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 …]
|
D | fips140-module.c | 352 u32 count; member 385 fips140_rela_text.count); in check_fips140_module_hmac() 389 fips140_rela_rodata.count); in check_fips140_module_hmac()
|
D | algapi.c | 470 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()
|
D | shash.c | 574 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()
|
D | ahash.c | 603 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()
|
D | skcipher.c | 835 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/ |
D | raid6test.c | 77 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()
|