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

1 2 3 4

  /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/main/java/javax/crypto/spec/
RC5ParameterSpec.java 30 private final int rounds; field in class:RC5ParameterSpec
40 * @param rounds
45 public RC5ParameterSpec(int version, int rounds, int wordSize) {
47 this.rounds = rounds;
63 * @param rounds
73 public RC5ParameterSpec(int version, int rounds, int wordSize, byte[] iv) {
81 this.rounds = rounds;
98 * @param rounds
    [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/chromium_org/third_party/openssl/openssl/crypto/evp/
e_rc5.c 75 int rounds; /* number of rounds */ member in struct:__anon16379
92 data(c)->rounds = RC5_12_ROUNDS;
96 *(int *)ptr = data(c)->rounds;
105 data(c)->rounds = arg;
122 key,data(ctx)->rounds);
  /external/openssl/crypto/evp/
e_rc5.c 75 int rounds; /* number of rounds */ member in struct:__anon26954
92 data(c)->rounds = RC5_12_ROUNDS;
96 *(int *)ptr = data(c)->rounds;
105 data(c)->rounds = arg;
122 key,data(ctx)->rounds);
  /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/chromium_org/third_party/openssl/openssl/crypto/aes/asm/
aes-armv4.pl 51 $rounds="r12";
172 mov $rounds,r0 @ inp
176 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral
177 ldrb $t1,[$rounds,#2] @ manner...
178 ldrb $t2,[$rounds,#1]
179 ldrb $t3,[$rounds,#0]
181 ldrb $s1,[$rounds,#7]
183 ldrb $t1,[$rounds,#6]
185 ldrb $t2,[$rounds,#5]
186 ldrb $t3,[$rounds,#4
    [all...]
aesni-x86.pl 61 $rounds="ecx";
65 $rounds_="ebx"; # backup copy for $rounds
109 &dec ($rounds);
125 &cmp ($rounds,11);
169 &mov ($rounds,&DWP(240,$key));
185 &mov ($rounds,&DWP(240,$key));
213 &shr ($rounds,1);
224 &dec ($rounds);
253 &shr ($rounds,1);
264 &dec ($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,
184 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
192 $rnds_="%r10d"; # backup copy for $rounds
212 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
230 dec $rounds
247 mov 240($key),$rounds # key->rounds
249 &aesni_generate1("enc",$key,$rounds);
260 mov 240($key),$rounds # key->round
    [all...]
aes-parisc.pl 63 $rounds="%r29";
188 ldw 240($key),$rounds
192 _srm $rounds,1,$rounds
235 addib,= -1,$rounds,L\$enc_last
350 ldo 1024($tbl),$rounds
387 ldbx $acc0($rounds),$acc0
389 ldbx $acc1($rounds),$acc1
392 ldbx $acc2($rounds),$acc2
393 ldbx $acc3($rounds),$acc
    [all...]
aes-sparcv9.pl 70 $rounds="%i7"; # aliases with return address, which is off-loaded to stack
193 ld [$key+240],$rounds
197 srl $rounds,1,$rounds
260 subcc $rounds,1,$rounds !
263 add $tbl,2048,$rounds
437 ldub [$rounds+$acc0],$acc0
440 ldub [$rounds+$acc1],$acc1
443 ldub [$rounds+$acc2],$acc
    [all...]
  /external/openssl/crypto/aes/asm/
aes-armv4.pl 51 $rounds="r12";
172 mov $rounds,r0 @ inp
176 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral
177 ldrb $t1,[$rounds,#2] @ manner...
178 ldrb $t2,[$rounds,#1]
179 ldrb $t3,[$rounds,#0]
181 ldrb $s1,[$rounds,#7]
183 ldrb $t1,[$rounds,#6]
185 ldrb $t2,[$rounds,#5]
186 ldrb $t3,[$rounds,#4
    [all...]
aesni-x86.pl 61 $rounds="ecx";
65 $rounds_="ebx"; # backup copy for $rounds
109 &dec ($rounds);
125 &cmp ($rounds,11);
169 &mov ($rounds,&DWP(240,$key));
185 &mov ($rounds,&DWP(240,$key));
213 &shr ($rounds,1);
224 &dec ($rounds);
253 &shr ($rounds,1);
264 &dec ($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,
184 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!!
192 $rnds_="%r10d"; # backup copy for $rounds
212 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout));
230 dec $rounds
247 mov 240($key),$rounds # key->rounds
249 &aesni_generate1("enc",$key,$rounds);
260 mov 240($key),$rounds # key->round
    [all...]
aes-parisc.pl 63 $rounds="%r29";
188 ldw 240($key),$rounds
192 _srm $rounds,1,$rounds
235 addib,= -1,$rounds,L\$enc_last
350 ldo 1024($tbl),$rounds
387 ldbx $acc0($rounds),$acc0
389 ldbx $acc1($rounds),$acc1
392 ldbx $acc2($rounds),$acc2
393 ldbx $acc3($rounds),$acc
    [all...]
  /external/qemu/
aes.h 9 int rounds; member in struct:aes_key_st
  /external/dropbear/libtomcrypt/src/ciphers/safer/
saferp.c 212 @param num_rounds The number of rounds desired (0 for default)
220 static const int rounds[3] = { 8, 12, 16 }; local
230 /* Is the number of rounds valid? Either use zero for default or
231 * 8,12,16 rounds for 16,24,32 byte keys
233 if (num_rounds != 0 && num_rounds != rounds[(keylen/8)-2]) {
265 skey->saferp.rounds = 8;
292 skey->saferp.rounds = 12;
319 skey->saferp.rounds = 16;
343 /* do eight rounds */
356 if (skey->saferp.rounds > 8)
    [all...]
  /external/openssh/
auth2-jpake.c 223 long long rounds; local
237 rounds = strtonum(rounds_s, 1, 1<<31, NULL);
246 rounds = MAX(rounds, 7250);
247 rounds = MIN(rounds, (1<<24) - 1);
249 pw_encode64(rounds), pw_encode64(rounds >> 6),
250 pw_encode64(rounds >> 12), pw_encode64(rounds >> 18)
    [all...]
  /external/chromium_org/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/dropbear/libtomcrypt/src/ciphers/
rc5.c 49 @param num_rounds The number of rounds desired (0 for default)
78 skey->rc5.rounds = num_rounds;
146 if ((skey->rc5.rounds & 1) == 0) {
147 for (r = 0; r < skey->rc5.rounds; r += 2) {
155 for (r = 0; r < skey->rc5.rounds; r++) {
197 K = skey->rc5.K + (skey->rc5.rounds << 1);
199 if ((skey->rc5.rounds & 1) == 0) {
201 for (r = skey->rc5.rounds - 1; r >= 0; r -= 2) {
209 for (r = skey->rc5.rounds - 1; r >= 0; r--) {
  /external/chromium_org/third_party/openssl/openssl/crypto/sha/asm/
sha512-ia64.pl 21 # too much. I mean it's 64 32-bit rounds vs. 80 virtually identical
80 $rounds=80;
94 $rounds=64;
486 { .mii; mov ar.lc=$rounds-17
571 { .mmb; add Ktbl=-$SZ*$rounds,Ktbl
624 .size K256#,$SZ*$rounds
670 .size K512#,$SZ*$rounds
  /external/openssl/crypto/sha/asm/
sha512-ia64.pl 21 # too much. I mean it's 64 32-bit rounds vs. 80 virtually identical
80 $rounds=80;
94 $rounds=64;
486 { .mii; mov ar.lc=$rounds-17
571 { .mmb; add Ktbl=-$SZ*$rounds,Ktbl
624 .size K256#,$SZ*$rounds
670 .size K512#,$SZ*$rounds
  /bionic/libc/bionic/
pthread_key.cpp 140 for (int rounds = PTHREAD_DESTRUCTOR_ITERATIONS; rounds > 0; --rounds) {
  /external/chromium/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));
  /external/chromium_org/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));

Completed in 1241 milliseconds

1 2 3 4