Searched refs:count (Results 1 – 7 of 7) sorted by relevance
57 unsigned int count; member64 unsigned int count; member71 unsigned int count; member77 unsigned int count; member916 desc->suite.aead.enc.count); in alg_test_aead()923 desc->suite.aead.dec.count); in alg_test_aead()945 desc->suite.cipher.enc.count); in alg_test_cipher()952 desc->suite.cipher.dec.count); in alg_test_cipher()974 desc->suite.cipher.enc.count); in alg_test_skcipher()981 desc->suite.cipher.dec.count); in alg_test_skcipher()[all …]
40 int count; member506 tctx->count = 0; in tgr192_init()519 if (tctx->count == 64) { /* flush the buffer */ in tgr192_update()521 tctx->count = 0; in tgr192_update()527 if (tctx->count) { in tgr192_update()528 for (; len && tctx->count < 64; len--) { in tgr192_update()529 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update()540 tctx->count = 0; in tgr192_update()545 for (; len && tctx->count < 64; len--) { in tgr192_update()546 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update()[all …]
26 u32 count[4]; member153 sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; in sha512_init()170 sctx->count[0] = sctx->count[1] = sctx->count[2] = sctx->count[3] = 0; in sha384_init()183 index = (unsigned int)((sctx->count[0] >> 3) & 0x7F); in sha512_update()186 if ((sctx->count[0] += (len << 3)) < (len << 3)) { in sha512_update()187 if ((sctx->count[1] += 1) < 1) in sha512_update()188 if ((sctx->count[2] += 1) < 1) in sha512_update()189 sctx->count[3]++; in sha512_update()190 sctx->count[1] += (len >> 29); in sha512_update()225 bits[3] = cpu_to_be32(sctx->count[0]); in sha512_final()[all …]
406 short i, j, count; in bf_setkey() local410 for (i = 0, count = 0; i < 256; i++) in bf_setkey()411 for (j = 0; j < 4; j++, count++) in bf_setkey()412 S[count] = bf_sbox[count]; in bf_setkey()440 for (j = 0, count = i * 256; j < 256; j += 2, count += 2) { in bf_setkey()443 S[count] = data[0]; in bf_setkey()444 S[count + 1] = data[1]; in bf_setkey()
29 u64 count; member56 partial = sctx->count & 0x3f; in sha1_update()57 sctx->count += len; in sha1_update()94 bits = cpu_to_be64(sctx->count << 3); in sha1_final()97 index = sctx->count & 0x3f; in sha1_final()
66 int i, count, max; in do_xor_speed() local79 count = 0; in do_xor_speed()84 count++; in do_xor_speed()87 if (count > max) in do_xor_speed()88 max = count; in do_xor_speed()
29 u32 count[2]; member234 sctx->count[0] = 0; in sha224_init()235 sctx->count[1] = 0; in sha224_init()251 sctx->count[0] = sctx->count[1] = 0; in sha256_init()263 index = (unsigned int)((sctx->count[0] >> 3) & 0x3f); in sha256_update()266 if ((sctx->count[0] += (len << 3)) < (len << 3)) { in sha256_update()267 sctx->count[1]++; in sha256_update()268 sctx->count[1] += (len >> 29); in sha256_update()301 bits[1] = cpu_to_be32(sctx->count[0]); in sha256_final()302 bits[0] = cpu_to_be32(sctx->count[1]); in sha256_final()[all …]