HomeSort by relevance Sort by last modified time
    Searched refs:rounds (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /libcore/ojluni/src/main/java/javax/crypto/spec/
RC5ParameterSpec.java 35 * <p> The parameters consist of a version number, a rounds count, a word
51 private int rounds; field in class:RC5ParameterSpec
56 * rounds and word size (in bits).
59 * @param rounds the number of rounds.
62 public RC5ParameterSpec(int version, int rounds, int wordSize) {
64 this.rounds = rounds;
70 * rounds, word size (in bits), and IV.
77 * @param rounds the number of rounds
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
RC5ParameterSpecTest.java 38 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method
45 int rounds = 5; local
50 new RC5ParameterSpec(version, rounds, wordSize, null);
57 new RC5ParameterSpec(version, rounds, wordSize + 8, iv);
64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] { 1, 2, 3 });
70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds,
79 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int
86 int rounds = 5; local
92 new RC5ParameterSpec(version, rounds, wordSize, null, offset);
99 new RC5ParameterSpec(version, rounds, wordSize + 8, iv, offset)
142 int rounds = 5; local
157 int rounds = 5; local
172 int rounds = 5; local
189 int rounds = 5; local
216 int rounds = 5; local
266 int rounds = 5; local
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
RC5ParameterSpecTest.java 38 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) method
45 int rounds = 5; local
50 new RC5ParameterSpec(version, rounds, wordSize, null);
57 new RC5ParameterSpec(version, rounds, wordSize+8, iv);
64 new RC5ParameterSpec(version, rounds, wordSize, new byte[] {1, 2, 3});
70 RC5ParameterSpec ps = new RC5ParameterSpec(version, rounds,
79 * RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv, int
86 int rounds = 5; local
92 new RC5ParameterSpec(version, rounds, wordSize, null, offset);
99 new RC5ParameterSpec(version, rounds, wordSize+8, iv, offset)
142 int rounds = 5; local
157 int rounds = 5; local
172 int rounds = 5; local
189 int rounds = 5; local
216 int rounds = 5; local
266 int rounds = 5; local
280 int rounds = 5; local
    [all...]
  /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);
rijndael-alg-fst.c 36 int rijndaelKeySched(word8 k[MAXKC][4], word8 W[MAXROUNDS+1][4][4], int ROUNDS) {
46 int KC = ROUNDS - 6;
54 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
64 while (r < ROUNDS + 1) { /* while not enough round key material calculated */
89 for (j = 0; (j < KC) && (r < ROUNDS + 1); ) {
103 int rijndaelKeyEncToDec(word8 W[MAXROUNDS+1][4][4], int ROUNDS) {
107 for (r = 1; r < ROUNDS; r++) {
142 int rijndaelEncrypt(word8 in[16], word8 out[16], word8 rk[MAXROUNDS+1][4][4], int ROUNDS) {
178 for (r = 1; r < ROUNDS-1; r++) {
202 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[ROUNDS-1][0])
    [all...]
  /external/boringssl/src/crypto/aes/asm/
aes-armv4.pl 63 $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...]
aesni-x86.pl 75 $rounds="ecx";
79 $rounds_="ebx"; # backup copy for $rounds
123 &dec ($rounds);
139 &cmp ($rounds,11);
183 &mov ($rounds,&DWP(240,$key));
202 &mov ($rounds,&DWP(240,$key));
235 &shl ($rounds,4);
240 &lea ($key,&DWP(32,$key,$rounds));
241 &neg ($rounds);
242 &add ($rounds,16)
    [all...]
aesv8-armx.pl 68 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,#
    [all...]
aesni-x86_64.pl 73 # rounds for larger block sizes, i.e. 192-bit result being 10/12 times
97 # calculated as latency times number of rounds, 10 for 128-bit key,
200 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
208 $rnds_="%r10d"; # backup copy for $rounds
228 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
246 dec $rounds
263 mov 240($key),$rounds # key->rounds
265 &aesni_generate1("enc",$key,$rounds);
279 mov 240($key),$rounds # key->round
    [all...]
bsaes-armv7.pl 69 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")
    [all...]
  /external/vixl/benchmarks/
bench-branch.cc 58 int rounds = instructions / buffer_instruction_count; local
59 for (int i = 0; i < rounds; ++i) {
bench-dataop.cc 57 unsigned rounds = instructions / buffer_instruction_count; local
58 for (unsigned i = 0; i < rounds; ++i) {
  /system/extras/libfec/include/fec/
ecc.h 44 /* rounds up x to the nearest multiple of y */
51 inline uint64_t fec_ecc_interleave(uint64_t offset, int rsn, uint64_t rounds)
53 return (offset / rsn) + (offset % rsn) * rounds * FEC_BLOCKSIZE;
  /external/fio/t/
stest.c 24 unsigned int size, nr, rounds = 0; local
28 while (rounds++ < LOOPS) {
  /system/extras/verity/fec/
image.h 60 uint64_t rounds; member in struct:image
97 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds);
109 uint64_t offset = fec_ecc_interleave(i, ctx->rs_n, ctx->rounds);
image.cpp 129 ctx->rounds = fec_div_round_up(ctx->blocks, ctx->rs_n);
388 assert(ctx->rounds > 0); /* image_load should be called first */
391 ctx->fec_size = ctx->rounds * ctx->roots * FEC_BLOCKSIZE;
550 assert(ctx->rounds > 0);
552 if ((uint64_t)threads > ctx->rounds) {
553 threads = (int)ctx->rounds;
568 uint64_t end = ctx->rounds * ctx->rs_n * FEC_BLOCKSIZE;
570 fec_div_round_up(ctx->rounds * FEC_BLOCKSIZE, threads);
  /external/libchrome/crypto/third_party/nss/
rsawrapr.c 24 PRUint32 counter, rounds; local
35 rounds = (maskLen + hash->length - 1) / hash->length;
36 for (counter = 0; counter < rounds; counter++) {
49 if (counter != (rounds-1)) {
  /external/libavc/common/arm/
ih264_weighted_pred_a9q.s 50 @* 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 2
    [all...]
ih264_weighted_bi_pred_a9q.s 51 @* 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 2
    [all...]
  /bionic/libc/bionic/
pthread_key.cpp 77 for (size_t rounds = PTHREAD_DESTRUCTOR_ITERATIONS; rounds > 0; --rounds) {
  /external/libchrome/crypto/
symmetric_key_unittest.cc 72 unsigned int rounds; member in struct:PBKDF2TestVector
86 if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) {
96 test_data.rounds, test_data.key_size_in_bits));
  /system/extras/verity/fec/tests/
fec.py 37 rounds = int(math.ceil(float(blocks) / (255 - roots)))
39 max_errors = int(math.floor(rounds * roots / 2)) * blocksize
  /external/boringssl/src/include/openssl/
aes.h 65 /* AES_MAXNR is the maximum number of AES rounds. */
74 unsigned rounds; member in struct:aes_key_st
  /external/boringssl/linux-arm/crypto/aes/
bsaes-armv7.S 1096 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
    [all...]
  /external/boringssl/src/crypto/sha/asm/
sha512-x86_64.pl 140 $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
    [all...]

Completed in 1457 milliseconds

1 2 3 4