Home
last modified time | relevance | path

Searched refs:rounds (Results 1 – 25 of 56) sorted by relevance

123

/external/boringssl/src/crypto/aes/asm/
Daes-armv4.pl63 $rounds="r12";
209 mov $rounds,r0 @ inp
212 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral
213 ldrb $t1,[$rounds,#2] @ manner...
214 ldrb $t2,[$rounds,#1]
215 ldrb $t3,[$rounds,#0]
217 ldrb $s1,[$rounds,#7]
219 ldrb $t1,[$rounds,#6]
221 ldrb $t2,[$rounds,#5]
222 ldrb $t3,[$rounds,#4]
[all …]
Daesni-x86.pl75 $rounds="ecx";
122 &dec ($rounds);
138 &cmp ($rounds,11);
181 &mov ($rounds,&DWP(240,$key));
200 &mov ($rounds,&DWP(240,$key));
233 &shl ($rounds,4);
238 &lea ($key,&DWP(32,$key,$rounds));
239 &neg ($rounds);
240 &add ($rounds,16);
245 &$movekey ($rndkey1,&QWP(0,$key,$rounds));
[all …]
Daesv8-armx.pl68 my ($inp,$bits,$out,$ptr,$rounds)=("x0","w1","x2","x3","w12");
165 mov $rounds,#10
199 mov $rounds,#12
207 mov $rounds,#14
242 str $rounds,[$out]
311 my $rounds="w3";
319 ldr $rounds,[$key,#240]
322 sub $rounds,$rounds,#2
329 subs $rounds,$rounds,#2
351 my ($rounds,$cnt,$key_,$step,$step1)=($enc,"w6","x7","x8","x12");
[all …]
Daesni-x86_64.pl200 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
227 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
245 dec $rounds
262 mov 240($key),$rounds # key->rounds
264 &aesni_generate1("enc",$key,$rounds);
278 mov 240($key),$rounds # key->rounds
280 &aesni_generate1("dec",$key,$rounds);
313 shl \$4,$rounds
318 lea 32($key,$rounds),$key
319 neg %rax # $rounds
[all …]
Dbsaes-armv7.pl69 my ($key,$rounds,$const)=("r4","r5","r6");
775 sub $rounds,$rounds,#1
784 subs $rounds,$rounds,#1
876 sub $rounds,$rounds,#1
885 subs $rounds,$rounds,#1
916 my ($out,$inp,$rounds,$const)=("r12","r4","r5","r6");
967 sub $rounds,$rounds,#1
994 subs $rounds,$rounds,#1
1112 my ($inp,$out,$len,$key, $ivp,$fp,$rounds)=map("r$_",(0..3,8..10));
1145 ldr $rounds, [$key, #240] @ get # of rounds
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DRC5ParameterSpecTest.java45 int rounds = 5; in testRC5ParameterSpec1() local
50 new RC5ParameterSpec(version, rounds, wordSize, null); in testRC5ParameterSpec1()
57 new RC5ParameterSpec(version, rounds, wordSize + 8, iv); in testRC5ParameterSpec1()
64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, 3 }); in testRC5ParameterSpec1()
70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds, in testRC5ParameterSpec1()
86 int rounds = 5; in testRC5ParameterSpec2() local
92 new RC5ParameterSpec(version, rounds, wordSize, null, offset); in testRC5ParameterSpec2()
99 new RC5ParameterSpec(version, rounds, wordSize + 8, iv, offset); in testRC5ParameterSpec2()
106 new RC5ParameterSpec(version, rounds, wordSize, iv, offset + 1); in testRC5ParameterSpec2()
113 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, in testRC5ParameterSpec2()
[all …]
/external/libavc/common/arm/
Dih264_weighted_pred_a9q.s50 @* This function gets a ht x wd block, calculates the weighted sample, rounds
148 vrshl.s16 q2, q2, q0 @rounds off the weighted samples from rows 1,2
149 vrshl.s16 q3, q3, q0 @rounds off the weighted samples from rows 3,4
182 vrshl.s16 q2, q2, q0 @rounds off the weighted samples from row 1
183 vrshl.s16 q3, q3, q0 @rounds off the weighted samples from row 2
184 vrshl.s16 q4, q4, q0 @rounds off the weighted samples from row 3
186 vrshl.s16 q5, q5, q0 @rounds off the weighted samples from row 4
229 vrshl.s16 q6, q6, q0 @rounds off the weighted samples from row 1L
232 vrshl.s16 q7, q7, q0 @rounds off the weighted samples from row 1H
233 vrshl.s16 q8, q8, q0 @rounds off the weighted samples from row 2L
[all …]
Dih264_weighted_bi_pred_a9q.s51 @* rounds off, adds offset and stores it in the destination block.
190 vrshl.s16 q2, q2, q0 @rounds off the weighted samples from rows 1,2
191 vrshl.s16 q4, q4, q0 @rounds off the weighted samples from rows 3,4
238 vrshl.s16 q2, q2, q0 @rounds off the weighted samples from row 1
239 vrshl.s16 q4, q4, q0 @rounds off the weighted samples from row 2
240 vrshl.s16 q6, q6, q0 @rounds off the weighted samples from row 3
242 vrshl.s16 q8, q8, q0 @rounds off the weighted samples from row 4
311 vrshl.s16 q10, q10, q0 @rounds off the weighted samples from row 1L
315 vrshl.s16 q2, q2, q0 @rounds off the weighted samples from row 1H
317 vrshl.s16 q12, q12, q0 @rounds off the weighted samples from row 2L
[all …]
/external/libchrome/crypto/third_party/nss/
Drsawrapr.c24 PRUint32 counter, rounds; in MGF1() local
35 rounds = (maskLen + hash->length - 1) / hash->length; in MGF1()
36 for (counter = 0; counter < rounds; counter++) { in MGF1()
49 if (counter != (rounds-1)) { in MGF1()
/external/boringssl/src/crypto/sha/asm/
Dsha512-x86_64.pl140 $rounds=80;
152 $rounds=64;
783 #movdqa $TABLE+`$SZ*2*$rounds`+32(%rip),$t4
784 #movdqa $TABLE+`$SZ*2*$rounds`+64(%rip),$t5
788 movdqa $TABLE+`$SZ*2*$rounds`(%rip),$t3
1138 vmovdqa $TABLE+`$SZ*2*$rounds`(%rip),$t3
1284 vmovdqa $TABLE+`$SZ*2*$rounds`(%rip),$t3
1511 vmovdqa $TABLE+`$SZ*2*$rounds`+32(%rip),$t4
1512 vmovdqa $TABLE+`$SZ*2*$rounds`+64(%rip),$t5
1516 vmovdqa $TABLE+`$SZ*2*$rounds`(%rip),$t3
[all …]
Dsha512-armv8.pl54 $rounds=80;
63 $rounds=64;
218 sub $Ktbl,$Ktbl,#`$SZ*($rounds+1)` // rewind
382 sub $Ktbl,$Ktbl,#$rounds*$SZ-16 // rewind
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-alg-fst.h26 …aelEncryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int rounds);
32 …aelDecryptRound(u_int8_t a[4][4], u_int8_t rk[RIJNDAEL_MAXROUNDS+1][4][4], int ROUNDS, int rounds);
Drijndael-alg-fst.c240 int rijndaelEncryptRound(word8 a[4][4], word8 rk[MAXROUNDS+1][4][4], int ROUNDS, int rounds) { in rijndaelEncryptRound() argument
245 if (rounds > ROUNDS) { in rijndaelEncryptRound()
246 rounds = ROUNDS; in rijndaelEncryptRound()
254 for (r = 1; (r <= rounds) && (r < ROUNDS); r++) { in rijndaelEncryptRound()
276 if (rounds == ROUNDS) { in rijndaelEncryptRound()
409 int rijndaelDecryptRound(word8 a[4][4], word8 rk[MAXROUNDS+1][4][4], int ROUNDS, int rounds) { in rijndaelDecryptRound() argument
414 if (rounds > ROUNDS) { in rijndaelDecryptRound()
415 rounds = ROUNDS; in rijndaelDecryptRound()
440 for (r = ROUNDS-1; r > rounds; r--) { in rijndaelDecryptRound()
487 if (rounds == 0) { in rijndaelDecryptRound()
Drijndael-api-fst.c461 BYTE *input, int inputLen, BYTE *outBuffer, int rounds) { in rijndael_cipherUpdateRounds() argument
476 rijndaelEncryptRound(block, key->keySched, key->ROUNDS, rounds); in rijndael_cipherUpdateRounds()
480 rijndaelDecryptRound(block, key->keySched, key->ROUNDS, rounds); in rijndael_cipherUpdateRounds()
/external/vixl/benchmarks/
Dbench-dataop.cc57 unsigned rounds = instructions / buffer_instruction_count; in main() local
58 for (unsigned i = 0; i < rounds; ++i) { in main()
Dbench-branch.cc58 int rounds = instructions / buffer_instruction_count; in main() local
59 for (int i = 0; i < rounds; ++i) { in main()
/external/boringssl/src/crypto/aes/
Daes.c548 aeskey->rounds = 10; in AES_set_encrypt_key()
551 aeskey->rounds = 12; in AES_set_encrypt_key()
554 aeskey->rounds = 14; in AES_set_encrypt_key()
646 for (i = 0, j = 4 * aeskey->rounds; i < j; i += 4, j -= 4) { in AES_set_decrypt_key()
662 for (i = 1; i < (int)aeskey->rounds; i++) { in AES_set_decrypt_key()
778 if (key->rounds > 10) { in AES_encrypt()
797 if (key->rounds > 12) { in AES_encrypt()
818 rk += key->rounds << 2; in AES_encrypt()
823 r = key->rounds >> 1; in AES_encrypt()
966 if (key->rounds > 10) { in AES_decrypt()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dfrounds.ll8 %tmp1 = call i32 @llvm.flt.rounds( ) ; <i32> [#uses=1]
19 declare i32 @llvm.flt.rounds() nounwind
/external/fio/t/
Dstest.c24 unsigned int size, nr, rounds = 0; in do_rand_allocs() local
28 while (rounds++ < LOOPS) { in do_rand_allocs()
/external/llvm/test/CodeGen/ARM/
D2012-03-05-FPSCR-bug.ll19 %5 = call i32 @llvm.flt.rounds()
36 declare i32 @llvm.flt.rounds() nounwind
/external/libchrome/crypto/
Dsymmetric_key_unittest.cc72 unsigned int rounds; member
86 if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) { in TEST_P()
96 test_data.rounds, test_data.key_size_in_bits)); in TEST_P()
/external/boringssl/linux-arm/crypto/aes/
Dbsaes-armv7.S1096 ldr r10, [r3, #240] @ get # of rounds
1104 mov r5, r10 @ pass # of rounds
1119 mov r5, r10 @ pass # of rounds
1353 ldr r10, [r3, #240] @ get # of rounds
1361 mov r5, r10 @ pass # of rounds
1383 mov r5, r10 @ pass # of rounds
1428 mov r5, r10 @ pass rounds
1596 ldr r1, [r10, #240] @ get # of rounds
1606 mov r5, r1 @ pass # of rounds
1619 mov r5, r1 @ pass # of rounds
[all …]
/external/boringssl/src/include/openssl/
Daes.h74 unsigned rounds; member
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java1868 private static void interleave2_n(long[] x, int xOff, long[] z, int zOff, int count, int rounds) in interleave2_n() argument
1872 z[zOff + i] = interleave2_n(x[xOff + i], rounds); in interleave2_n()
1876 private static long interleave2_n(long x, int rounds) in interleave2_n() argument
1878 while (rounds > 1) in interleave2_n()
1880 rounds -= 2; in interleave2_n()
1886 if (rounds > 0) in interleave2_n()
/external/boringssl/src/crypto/modes/asm/
Daesni-gcm-x86_64.pl63 ($counter,$rounds,$ret,$const,$in0,$end0)=("%ebx","%ebp","%r10","%r11","%r14","%r15");
258 cmp \$11,$rounds
430 mov 0xf0-0x80($key),$rounds
510 lea -1($rounds),%r13
638 mov 0xf0-0x80($key),$rounds

123