Home
last modified time | relevance | path

Searched refs:rounds (Results 1 - 25 of 136) sorted by relevance

123456

/third_party/node/deps/base64/base64/lib/arch/generic/32/
H A Ddec_loop.c2 dec_loop_generic_32_inner (const uint8_t **s, uint8_t **o, size_t *rounds) in dec_loop_generic_32_inner() argument
27 *rounds -= 1; in dec_loop_generic_32_inner()
43 size_t rounds = (*slen - 4) / 4; in dec_loop_generic_32() local
45 *slen -= rounds * 4; // 4 bytes consumed per round in dec_loop_generic_32()
46 *olen += rounds * 3; // 3 bytes produced per round in dec_loop_generic_32()
49 if (rounds >= 8) { in dec_loop_generic_32()
50 if (dec_loop_generic_32_inner(s, o, &rounds) && in dec_loop_generic_32()
51 dec_loop_generic_32_inner(s, o, &rounds) && in dec_loop_generic_32()
52 dec_loop_generic_32_inner(s, o, &rounds) && in dec_loop_generic_32()
53 dec_loop_generic_32_inner(s, o, &rounds) in dec_loop_generic_32()
[all...]
H A Denc_loop.c37 size_t rounds = (*slen - 1) / 3; in enc_loop_generic_32() local
39 *slen -= rounds * 3; // 3 bytes consumed per round in enc_loop_generic_32()
40 *olen += rounds * 4; // 4 bytes produced per round in enc_loop_generic_32()
43 if (rounds >= 8) { in enc_loop_generic_32()
52 rounds -= 8; in enc_loop_generic_32()
55 if (rounds >= 4) { in enc_loop_generic_32()
60 rounds -= 4; in enc_loop_generic_32()
63 if (rounds >= 2) { in enc_loop_generic_32()
66 rounds -= 2; in enc_loop_generic_32()
72 } while (rounds > in enc_loop_generic_32()
[all...]
/third_party/node/deps/base64/base64/lib/arch/avx2/
H A Ddec_loop.c2 dec_loop_avx2_inner (const uint8_t **s, uint8_t **o, size_t *rounds) in dec_loop_avx2_inner() argument
51 *rounds -= 1; in dec_loop_avx2_inner()
67 size_t rounds = (*slen - 13) / 32; in dec_loop_avx2() local
69 *slen -= rounds * 32; // 32 bytes consumed per round in dec_loop_avx2()
70 *olen += rounds * 24; // 24 bytes produced per round in dec_loop_avx2()
73 if (rounds >= 8) { in dec_loop_avx2()
74 if (dec_loop_avx2_inner(s, o, &rounds) && in dec_loop_avx2()
75 dec_loop_avx2_inner(s, o, &rounds) && in dec_loop_avx2()
76 dec_loop_avx2_inner(s, o, &rounds) && in dec_loop_avx2()
77 dec_loop_avx2_inner(s, o, &rounds) in dec_loop_avx2()
[all...]
H A Denc_loop.c46 size_t rounds = (*slen - 4) / 24; in enc_loop_avx2() local
48 *slen -= rounds * 24; // 24 bytes consumed per round in enc_loop_avx2()
49 *olen += rounds * 32; // 32 bytes produced per round in enc_loop_avx2()
54 rounds--; in enc_loop_avx2()
56 while (rounds > 0) { in enc_loop_avx2()
57 if (rounds >= 8) { in enc_loop_avx2()
66 rounds -= 8; in enc_loop_avx2()
69 if (rounds >= 4) { in enc_loop_avx2()
74 rounds -= 4; in enc_loop_avx2()
77 if (rounds > in enc_loop_avx2()
[all...]
H A Denc_loop_asm.c137 size_t rounds = (*slen - 4) / 24; in enc_loop_avx2() local
139 *slen -= rounds * 24; // 24 bytes consumed per round in enc_loop_avx2()
140 *olen += rounds * 32; // 32 bytes produced per round in enc_loop_avx2()
142 // Pre-decrement the number of rounds to get the number of rounds in enc_loop_avx2()
144 rounds--; in enc_loop_avx2()
147 size_t loops = rounds / 36; in enc_loop_avx2()
149 // Number of rounds remaining after the 36x loop. in enc_loop_avx2()
150 rounds %= 36; in enc_loop_avx2()
185 // If there are 36 rounds o in enc_loop_avx2()
[all...]
/third_party/node/deps/base64/base64/lib/arch/ssse3/
H A Ddec_loop.c69 dec_loop_ssse3_inner (const uint8_t **s, uint8_t **o, size_t *rounds) in dec_loop_ssse3_inner() argument
114 *rounds -= 1; in dec_loop_ssse3_inner()
130 size_t rounds = (*slen - 8) / 16; in dec_loop_ssse3() local
132 *slen -= rounds * 16; // 16 bytes consumed per round in dec_loop_ssse3()
133 *olen += rounds * 12; // 12 bytes produced per round in dec_loop_ssse3()
136 if (rounds >= 8) { in dec_loop_ssse3()
137 if (dec_loop_ssse3_inner(s, o, &rounds) && in dec_loop_ssse3()
138 dec_loop_ssse3_inner(s, o, &rounds) && in dec_loop_ssse3()
139 dec_loop_ssse3_inner(s, o, &rounds) && in dec_loop_ssse3()
140 dec_loop_ssse3_inner(s, o, &rounds) in dec_loop_ssse3()
[all...]
H A Denc_loop.c31 size_t rounds = (*slen - 4) / 12; in enc_loop_ssse3() local
33 *slen -= rounds * 12; // 12 bytes consumed per round in enc_loop_ssse3()
34 *olen += rounds * 16; // 16 bytes produced per round in enc_loop_ssse3()
37 if (rounds >= 8) { in enc_loop_ssse3()
46 rounds -= 8; in enc_loop_ssse3()
49 if (rounds >= 4) { in enc_loop_ssse3()
54 rounds -= 4; in enc_loop_ssse3()
57 if (rounds >= 2) { in enc_loop_ssse3()
60 rounds -= 2; in enc_loop_ssse3()
66 } while (rounds > in enc_loop_ssse3()
[all...]
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daes-armv4.pl72 $rounds="r12";
214 mov $rounds,r0 @ inp
217 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral
218 ldrb $t1,[$rounds,#2] @ manner...
219 ldrb $t2,[$rounds,#1]
220 ldrb $t3,[$rounds,#0]
222 ldrb $s1,[$rounds,#7]
224 ldrb $t1,[$rounds,#6]
226 ldrb $t2,[$rounds,#5]
227 ldrb $t3,[$rounds,#
[all...]
H A Daesni-x86.pl90 $rounds="ecx";
94 $rounds_="ebx"; # backup copy for $rounds
138 &dec ($rounds);
154 &cmp ($rounds,11);
198 &mov ($rounds,&DWP(240,$key));
217 &mov ($rounds,&DWP(240,$key));
250 &shl ($rounds,4);
255 &lea ($key,&DWP(32,$key,$rounds));
256 &neg ($rounds);
257 &add ($rounds,1
[all...]
H A Daesv8-armx.pl104 my ($inp,$bits,$out,$ptr,$rounds)=("x0","w1","x2","x3","w12");
201 mov $rounds,#10
240 mov $rounds,#12
248 mov $rounds,#14
283 str $rounds,[$out]
354 my $rounds="w3";
362 ldr $rounds,[$key,#240]
365 sub $rounds,$rounds,#2
372 subs $rounds,
[all...]
/third_party/openssl/crypto/aes/asm/
H A Daes-armv4.pl72 $rounds="r12";
214 mov $rounds,r0 @ inp
217 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral
218 ldrb $t1,[$rounds,#2] @ manner...
219 ldrb $t2,[$rounds,#1]
220 ldrb $t3,[$rounds,#0]
222 ldrb $s1,[$rounds,#7]
224 ldrb $t1,[$rounds,#6]
226 ldrb $t2,[$rounds,#5]
227 ldrb $t3,[$rounds,#
[all...]
H A Daesni-x86.pl90 $rounds="ecx";
94 $rounds_="ebx"; # backup copy for $rounds
138 &dec ($rounds);
154 &cmp ($rounds,11);
198 &mov ($rounds,&DWP(240,$key));
217 &mov ($rounds,&DWP(240,$key));
250 &shl ($rounds,4);
255 &lea ($key,&DWP(32,$key,$rounds));
256 &neg ($rounds);
257 &add ($rounds,1
[all...]
/third_party/python/Lib/
H A Dcrypt.py36 def mksalt(method=None, *, rounds=None):
44 if rounds is not None and not isinstance(rounds, int):
45 raise TypeError(f'{rounds.__class__.__name__} object cannot be '
53 if rounds is None:
56 log_rounds = int.bit_length(rounds-1)
57 if rounds != 1 << log_rounds:
58 raise ValueError('rounds must be a power of 2')
60 raise ValueError('rounds out of the range 2**4 to 2**31')
63 if rounds i
[all...]
/third_party/node/deps/base64/base64/lib/arch/avx512/
H A Denc_loop.c26 size_t rounds = (*slen - 24) / 48; in enc_loop_avx512() local
28 *slen -= rounds * 48; // 48 bytes consumed per round in enc_loop_avx512()
29 *olen += rounds * 64; // 64 bytes produced per round in enc_loop_avx512()
31 while (rounds > 0) { in enc_loop_avx512()
32 if (rounds >= 8) { in enc_loop_avx512()
41 rounds -= 8; in enc_loop_avx512()
44 if (rounds >= 4) { in enc_loop_avx512()
49 rounds -= 4; in enc_loop_avx512()
52 if (rounds >= 2) { in enc_loop_avx512()
55 rounds in enc_loop_avx512()
[all...]
/third_party/node/deps/base64/base64/lib/arch/generic/64/
H A Denc_loop.c41 size_t rounds = (*slen - 2) / 6; in enc_loop_generic_64() local
43 *slen -= rounds * 6; // 6 bytes consumed per round in enc_loop_generic_64()
44 *olen += rounds * 8; // 8 bytes produced per round in enc_loop_generic_64()
47 if (rounds >= 8) { in enc_loop_generic_64()
56 rounds -= 8; in enc_loop_generic_64()
59 if (rounds >= 4) { in enc_loop_generic_64()
64 rounds -= 4; in enc_loop_generic_64()
67 if (rounds >= 2) { in enc_loop_generic_64()
70 rounds -= 2; in enc_loop_generic_64()
76 } while (rounds > in enc_loop_generic_64()
[all...]
/third_party/node/deps/base64/base64/lib/arch/neon64/
H A Denc_loop.c28 size_t rounds = *slen / 48; in enc_loop_neon64() local
30 *slen -= rounds * 48; // 48 bytes consumed per round in enc_loop_neon64()
31 *olen += rounds * 64; // 64 bytes produced per round in enc_loop_neon64()
36 while (rounds > 0) { in enc_loop_neon64()
37 if (rounds >= 8) { in enc_loop_neon64()
46 rounds -= 8; in enc_loop_neon64()
49 if (rounds >= 4) { in enc_loop_neon64()
54 rounds -= 4; in enc_loop_neon64()
57 if (rounds >= 2) { in enc_loop_neon64()
60 rounds in enc_loop_neon64()
[all...]
H A Denc_loop_asm.c83 size_t rounds = *slen / 48; in enc_loop_neon64() local
85 if (rounds == 0) { in enc_loop_neon64()
89 *slen -= rounds * 48; // 48 bytes consumed per round. in enc_loop_neon64()
90 *olen += rounds * 64; // 64 bytes produced per round. in enc_loop_neon64()
93 size_t loops = rounds / 8; in enc_loop_neon64()
95 // Number of rounds remaining after the 8x loop. in enc_loop_neon64()
96 rounds %= 8; in enc_loop_neon64()
106 // If there are eight rounds or more, enter an 8x unrolled loop in enc_loop_neon64()
107 // of interleaved encoding rounds. The rounds interleav in enc_loop_neon64()
[all...]
/third_party/python/Lib/test/
H A Dtest_crypt.py71 for rounds in 1000, 10_000, 100_000:
72 salt = crypt.mksalt(method, rounds=rounds)
73 self.assertIn('$rounds=%d$' % rounds, salt)
75 11 + len(str(rounds)))
86 salt = crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1 << log_rounds)
98 crypt.mksalt(method, rounds='4096')
100 crypt.mksalt(method, rounds=4096.0)
101 for rounds i
[all...]
/third_party/node/deps/base64/base64/lib/arch/neon32/
H A Denc_loop.c135 size_t rounds = *slen / 48; in enc_loop_neon32() local
137 *slen -= rounds * 48; // 48 bytes consumed per round in enc_loop_neon32()
138 *olen += rounds * 64; // 64 bytes produced per round in enc_loop_neon32()
140 while (rounds > 0) { in enc_loop_neon32()
141 if (rounds >= 8) { in enc_loop_neon32()
150 rounds -= 8; in enc_loop_neon32()
153 if (rounds >= 4) { in enc_loop_neon32()
158 rounds -= 4; in enc_loop_neon32()
161 if (rounds >= 2) { in enc_loop_neon32()
164 rounds in enc_loop_neon32()
[all...]
/third_party/node/deps/openssl/openssl/crypto/rc5/
H A Drc5_skey.c20 int rounds) in RC5_32_set_key()
28 if ((rounds != RC5_16_ROUNDS) && in RC5_32_set_key()
29 (rounds != RC5_12_ROUNDS) && (rounds != RC5_8_ROUNDS)) in RC5_32_set_key()
30 rounds = RC5_16_ROUNDS; in RC5_32_set_key()
32 key->rounds = rounds; in RC5_32_set_key()
50 t = (rounds + 1) * 2; in RC5_32_set_key()
19 RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data, int rounds) RC5_32_set_key() argument
/third_party/openssl/crypto/rc5/
H A Drc5_skey.c20 int rounds) in RC5_32_set_key()
28 if ((rounds != RC5_16_ROUNDS) && in RC5_32_set_key()
29 (rounds != RC5_12_ROUNDS) && (rounds != RC5_8_ROUNDS)) in RC5_32_set_key()
30 rounds = RC5_16_ROUNDS; in RC5_32_set_key()
32 key->rounds = rounds; in RC5_32_set_key()
50 t = (rounds + 1) * 2; in RC5_32_set_key()
19 RC5_32_set_key(RC5_32_KEY *key, int len, const unsigned char *data, int rounds) RC5_32_set_key() argument
/third_party/ffmpeg/libavutil/
H A Dtea.c32 int rounds; member
42 void av_tea_init(AVTEA *ctx, const uint8_t key[16], int rounds) in av_tea_init() argument
49 ctx->rounds = rounds; in av_tea_init()
56 int rounds = ctx->rounds; in tea_crypt_ecb() local
68 uint32_t delta = 0x9E3779B9U, sum = delta * (rounds / 2); in tea_crypt_ecb()
70 for (i = 0; i < rounds / 2; i++) { in tea_crypt_ecb()
84 for (i = 0; i < rounds / 2; i++) { in tea_crypt_ecb()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_rc5.c90 unsigned int rounds; in rc5_set_ctx_params() local
92 if (!OSSL_PARAM_get_uint(p, &rounds)) { in rc5_set_ctx_params()
96 if (rounds != RC5_8_ROUNDS in rc5_set_ctx_params()
97 && rounds != RC5_12_ROUNDS in rc5_set_ctx_params()
98 && rounds != RC5_16_ROUNDS) { in rc5_set_ctx_params()
102 ctx->rounds = rounds; in rc5_set_ctx_params()
125 if (p != NULL && !OSSL_PARAM_set_uint(p, ctx->rounds)) { in rc5_get_ctx_params()
152 ctx->rounds = RC5_12_ROUNDS; \
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_rc5.c90 unsigned int rounds; in rc5_set_ctx_params() local
92 if (!OSSL_PARAM_get_uint(p, &rounds)) { in rc5_set_ctx_params()
96 if (rounds != RC5_8_ROUNDS in rc5_set_ctx_params()
97 && rounds != RC5_12_ROUNDS in rc5_set_ctx_params()
98 && rounds != RC5_16_ROUNDS) { in rc5_set_ctx_params()
102 ctx->rounds = rounds; in rc5_set_ctx_params()
125 if (p != NULL && !OSSL_PARAM_set_uint(p, ctx->rounds)) { in rc5_get_ctx_params()
152 ctx->rounds = RC5_12_ROUNDS; \
/third_party/node/test/sequential/
H A Dtest-net-connect-econnrefused.js31 let rounds = 1;
44 console.log('pending', pending, 'rounds', rounds);
47 if (rounds === ROUNDS) return check();
48 rounds++;
63 assert.strictEqual(rounds, ROUNDS);

Completed in 8 milliseconds

123456