/external/python/cpython3/Lib/ |
crypt.py | 22 def mksalt(method=None, *, rounds=None): 30 if rounds is not None and not isinstance(rounds, int): 31 raise TypeError(f'{rounds.__class__.__name__} object cannot be ' 39 if rounds is None: 42 log_rounds = int.bit_length(rounds-1) 43 if rounds != 1 << log_rounds: 44 raise ValueError('rounds must be a power of 2') 46 raise ValueError('rounds out of the range 2**4 to 2**31') 49 if rounds is not None [all...] |
/external/python/cpython3/Lib/test/ |
test_crypt.py | 47 for rounds in 1000, 10_000, 100_000: 48 salt = crypt.mksalt(method, rounds=rounds) 49 self.assertIn('$rounds=%d$' % rounds, salt) 51 11 + len(str(rounds))) 61 salt = crypt.mksalt(crypt.METHOD_BLOWFISH, rounds=1 << log_rounds) 73 crypt.mksalt(method, rounds='4096') 75 crypt.mksalt(method, rounds=4096.0) 76 for rounds in (0, 1, -1, 1<<999) [all...] |
/external/grpc-grpc/test/core/surface/ |
init_test.cc | 25 static void test(int rounds) { 27 for (i = 0; i < rounds; i++) { 30 for (i = 0; i < rounds; i++) {
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-alg-fst.h | 19 int rijndaelKeySched(u_int8_t k[RIJNDAEL_MAXKC][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS); 21 int rijndaelKeyEncToDec(u_int8_t W[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS); 23 int rijndaelEncrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS); 26 int rijndaelEncryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int rounds); 29 int rijndaelDecrypt(u_int8_t a[16], u_int8_t b[16], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS); 32 int rijndaelDecryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int rounds);
|
/external/boringssl/src/crypto/fipsmodule/aes/asm/ |
aes-armv4.pl | 70 $rounds="r12"; 216 mov $rounds,r0 @ inp 219 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral 220 ldrb $t1,[$rounds,#2] @ manner... 221 ldrb $t2,[$rounds,#1] 222 ldrb $t3,[$rounds,#0] 224 ldrb $s1,[$rounds,#7] 226 ldrb $t1,[$rounds,#6] 228 ldrb $t2,[$rounds,#5] 229 ldrb $t3,[$rounds,#4 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
Lists.py | 7 rounds = 130000
variable in class:SimpleListManipulation 14 for i in xrange(self.rounds):
130 for i in xrange(self.rounds):
137 rounds = 800
variable in class:ListSlicing 144 for i in xrange(self.rounds):
163 for i in xrange(self.rounds):
171 rounds = 80000
variable in class:SmallLists 175 for i in xrange(self.rounds):
294 for i in xrange(self.rounds):
301 rounds = 20000 variable in class:SimpleListComprehensions 327 rounds = 20000 variable in class:NestedListComprehensions [all...] |
Imports.py | 11 rounds = 40000
variable in class:SecondImport 15 for i in xrange(self.rounds):
48 for i in xrange(self.rounds):
56 rounds = 40000
variable in class:SecondPackageImport 60 for i in xrange(self.rounds):
93 for i in xrange(self.rounds):
100 rounds = 40000
variable in class:SecondSubmoduleImport 104 for i in xrange(self.rounds):
137 for i in xrange(self.rounds):
|
Numbers.py | 7 rounds = 120000
variable in class:CompareIntegers 11 for i in xrange(self.rounds):
195 for i in xrange(self.rounds):
203 rounds = 80000
variable in class:CompareFloats 207 for i in xrange(self.rounds):
391 for i in xrange(self.rounds):
399 rounds = 60000
variable in class:CompareFloatsIntegers 403 for i in xrange(self.rounds):
587 for i in xrange(self.rounds):
595 rounds = 70000 variable in class:CompareLongs [all...] |
Dict.py | 7 rounds = 80000
variable in class:DictCreation 11 for i in xrange(self.rounds):
75 for i in xrange(self.rounds):
82 rounds = 200000
variable in class:DictWithStringKeys 88 for i in xrange(self.rounds):
164 for i in xrange(self.rounds):
171 rounds = 150000
variable in class:DictWithFloatKeys 177 for i in xrange(self.rounds):
253 for i in xrange(self.rounds):
260 rounds = 200000 variable in class:DictWithIntegerKeys 349 rounds = 100000 variable in class:SimpleDictManipulation [all...] |
Instances.py | 7 rounds = 80000
variable in class:CreateInstances 29 for i in xrange(self.rounds):
65 for i in xrange(self.rounds):
|
With.py | 8 rounds = 80000
variable in class:WithFinally 20 for i in xrange(self.rounds):
46 for i in xrange(self.rounds):
54 rounds = 80000
variable in class:TryFinally 68 for i in xrange(self.rounds):
153 for i in xrange(self.rounds):
161 rounds = 100000
variable in class:WithRaiseExcept 174 for i in xrange(self.rounds):
189 for i in xrange(self.rounds):
|
Strings.py | 8 rounds = 100000
variable in class:ConcatStrings 16 for i in xrange(self.rounds):
82 for i in xrange(self.rounds):
90 rounds = 200000
variable in class:CompareStrings 98 for i in xrange(self.rounds):
164 for i in xrange(self.rounds):
172 rounds = 300000
variable in class:CompareInternedStrings 180 for i in xrange(self.rounds):
246 for i in xrange(self.rounds):
254 rounds = 200000 variable in class:CreateStringsWithConcat 329 rounds = 160000 variable in class:StringSlicing 392 rounds = 70000 variable in class:StringSlicing.StringMappings 465 rounds = 100000 variable in class:StringSlicing.StringPredicates [all...] |
Unicode.py | 13 rounds = 60000
variable in class:ConcatUnicode 21 for i in xrange(self.rounds):
87 for i in xrange(self.rounds):
95 rounds = 150000
variable in class:CompareUnicode 103 for i in xrange(self.rounds):
169 for i in xrange(self.rounds):
177 rounds = 80000
variable in class:CreateUnicodeWithConcat 181 for i in xrange(self.rounds):
244 for i in xrange(self.rounds):
252 rounds = 140000 variable in class:UnicodeSlicing 313 rounds = 10000 variable in class:UnicodeMappings 386 rounds = 120000 variable in class:UnicodePredicates 463 rounds = 100000 variable in class:UnicodePredicates.UnicodeProperties [all...] |
/external/python/cpython2/Tools/pybench/ |
Lists.py | 7 rounds = 130000 variable in class:SimpleListManipulation 14 for i in xrange(self.rounds): 130 for i in xrange(self.rounds): 137 rounds = 800 variable in class:ListSlicing 144 for i in xrange(self.rounds): 163 for i in xrange(self.rounds): 171 rounds = 80000 variable in class:SmallLists 175 for i in xrange(self.rounds): 294 for i in xrange(self.rounds): 301 rounds = 2000 variable in class:SimpleListComprehensions 327 rounds = 20000 variable in class:NestedListComprehensions [all...] |
Imports.py | 11 rounds = 40000 variable in class:SecondImport 15 for i in xrange(self.rounds): 48 for i in xrange(self.rounds): 56 rounds = 40000 variable in class:SecondPackageImport 60 for i in xrange(self.rounds): 93 for i in xrange(self.rounds): 100 rounds = 40000 variable in class:SecondSubmoduleImport 104 for i in xrange(self.rounds): 137 for i in xrange(self.rounds):
|
Numbers.py | 7 rounds = 120000 variable in class:CompareIntegers 11 for i in xrange(self.rounds): 195 for i in xrange(self.rounds): 203 rounds = 80000 variable in class:CompareFloats 207 for i in xrange(self.rounds): 391 for i in xrange(self.rounds): 399 rounds = 60000 variable in class:CompareFloatsIntegers 403 for i in xrange(self.rounds): 587 for i in xrange(self.rounds): 595 rounds = 7000 variable in class:CompareLongs [all...] |
Dict.py | 7 rounds = 80000 variable in class:DictCreation 11 for i in xrange(self.rounds): 75 for i in xrange(self.rounds): 82 rounds = 200000 variable in class:DictWithStringKeys 88 for i in xrange(self.rounds): 164 for i in xrange(self.rounds): 171 rounds = 150000 variable in class:DictWithFloatKeys 177 for i in xrange(self.rounds): 253 for i in xrange(self.rounds): 260 rounds = 20000 variable in class:DictWithIntegerKeys 349 rounds = 100000 variable in class:SimpleDictManipulation [all...] |
Instances.py | 7 rounds = 80000 variable in class:CreateInstances 29 for i in xrange(self.rounds): 65 for i in xrange(self.rounds):
|
With.py | 8 rounds = 80000 variable in class:WithFinally 20 for i in xrange(self.rounds): 46 for i in xrange(self.rounds): 54 rounds = 80000 variable in class:TryFinally 68 for i in xrange(self.rounds): 153 for i in xrange(self.rounds): 161 rounds = 100000 variable in class:WithRaiseExcept 174 for i in xrange(self.rounds): 189 for i in xrange(self.rounds):
|
Strings.py | 8 rounds = 100000 variable in class:ConcatStrings 16 for i in xrange(self.rounds): 82 for i in xrange(self.rounds): 90 rounds = 200000 variable in class:CompareStrings 98 for i in xrange(self.rounds): 164 for i in xrange(self.rounds): 172 rounds = 300000 variable in class:CompareInternedStrings 180 for i in xrange(self.rounds): 246 for i in xrange(self.rounds): 254 rounds = 20000 variable in class:CreateStringsWithConcat 329 rounds = 160000 variable in class:StringSlicing 392 rounds = 70000 variable in class:StringSlicing.StringMappings 465 rounds = 100000 variable in class:StringSlicing.StringPredicates [all...] |
Unicode.py | 13 rounds = 60000 variable in class:ConcatUnicode 21 for i in xrange(self.rounds): 87 for i in xrange(self.rounds): 95 rounds = 150000 variable in class:CompareUnicode 103 for i in xrange(self.rounds): 169 for i in xrange(self.rounds): 177 rounds = 80000 variable in class:CreateUnicodeWithConcat 181 for i in xrange(self.rounds): 244 for i in xrange(self.rounds): 252 rounds = 14000 variable in class:UnicodeSlicing 313 rounds = 10000 variable in class:UnicodeMappings 386 rounds = 120000 variable in class:UnicodePredicates 463 rounds = 100000 variable in class:UnicodePredicates.UnicodeProperties [all...] |
/external/openssh/ |
cipher-aesctr.h | 26 int rounds; /* keylen-dependent #rounds */ member in struct:aesctr_ctx
|
cipher-aesctr.c | 59 x->rounds = rijndaelKeySetupEnc(x->ek, k, kbits); 76 rijndaelEncrypt(x->ek, x->rounds, x->ctr, buf);
|
/external/vixl/benchmarks/aarch64/ |
bench-branch.cc | 67 int rounds = instructions / buffer_instruction_count; local 68 for (int i = 0; i < rounds; ++i) {
|
bench-dataop.cc | 66 unsigned rounds = instructions / buffer_instruction_count; local 67 for (unsigned i = 0; i < rounds; ++i) {
|