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

1 2 3 4 5 6 7 8 91011>>

  /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...]
rijndael-api-fst.c 64 key->ROUNDS = keyLen/32 + 6;
71 rijndaelKeySched(k, key->keySched, key->ROUNDS);
73 rijndaelKeyEncToDec(key->keySched, key->ROUNDS);
112 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS);
132 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
149 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
169 rijndaelEncrypt(block, block, key->keySched, key->ROUNDS);
226 rijndaelEncrypt(input, outBuffer, key->keySched, key->ROUNDS);
236 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
246 rijndaelEncrypt(block, outBuffer, key->keySched, key->ROUNDS);
    [all...]
rijndael-api-fst.h 58 int ROUNDS; /* key-length-dependent number of rounds */
102 u_int8_t *input, int inputLen, u_int8_t *outBuffer, int Rounds);
  /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...]
  /prebuilts/go/darwin-x86/src/crypto/aes/
cipher_asm.go 35 rounds := 10
38 rounds = 10
40 rounds = 12
42 rounds = 14
44 expandKeyAsm(rounds, &key[0], &enc[0], &dec[0])
  /prebuilts/go/linux-x86/src/crypto/aes/
cipher_asm.go 35 rounds := 10
38 rounds = 10
40 rounds = 12
42 rounds = 14
44 expandKeyAsm(rounds, &key[0], &enc[0], &dec[0])
  /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/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...]
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...]
  /art/test/103-string-append/src/
Main.java 18 public static final int ROUNDS = 16;
23 for (int j = 0; j < ROUNDS; j++) {
  /external/llvm/test/CodeGen/PowerPC/
frounds.ll 8 %tmp1 = call i32 @llvm.flt.rounds( ) ; <i32> [#uses=1]
19 declare i32 @llvm.flt.rounds() nounwind
  /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) {
  /external/llvm/test/CodeGen/ARM/
2012-03-05-FPSCR-bug.ll 19 %5 = call i32 @llvm.flt.rounds()
36 declare i32 @llvm.flt.rounds() nounwind
  /external/skia/gm/
clipdrawdraw.cpp 44 // 179.488 rounds the right way (i.e., 179), 179.499 rounds the wrong way (i.e., 180)
skbug_4868.cpp 11 // When SkPDF rounds large floats, this doesn't always happen.
  /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...]
  /external/libavc/common/armv8/
ih264_weighted_pred_av8.s 50 //* This function gets a ht x wd block, calculates the weighted sample, rounds
150 srshl v4.8h, v4.8h , v0.8h //rounds off the weighted samples from rows 1,2
151 srshl v6.8h, v6.8h , v0.8h //rounds off the weighted samples from rows 3,4
184 srshl v4.8h, v4.8h , v0.8h //rounds off the weighted samples from row 1
185 srshl v6.8h, v6.8h , v0.8h //rounds off the weighted samples from row 2
186 srshl v8.8h, v8.8h , v0.8h //rounds off the weighted samples from row 3
188 srshl v10.8h, v10.8h , v0.8h //rounds off the weighted samples from row 4
229 srshl v12.8h, v12.8h , v0.8h //rounds off the weighted samples from row 1L
231 srshl v14.8h, v14.8h , v0.8h //rounds off the weighted samples from row 1H
232 srshl v16.8h, v16.8h , v0.8h //rounds off the weighted samples from row 2
    [all...]
  /frameworks/base/tools/obbtool/
pbkdf2gen.cpp 34 #define ROUNDS 1024
63 ROUNDS, KEY_BITS, rawKey) != 1) {
  /external/guava/guava/src/com/google/common/hash/
SipHashFunction.java 38 // The number of compression rounds.
40 // The number of finalization rounds.
47 * @param c the number of compression rounds (must be positive)
48 * @param d the number of finalization rounds (must be positive)
97 // The number of compression rounds.
99 // The number of finalization rounds.
  /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);
  /bionic/libc/upstream-openbsd/lib/libc/net/
res_random.c 79 #define RU_ROUNDS 11 /* Number of rounds for permute (odd) */
82 /* PRF lookup table for odd rounds (7 bits input to 8 bits output) */
85 /* PRF lookup table for even rounds (8 bits input to 7 bits output) */
147 * Each round swaps the width of left and right. Even rounds have
148 * a 7-bit left, odd rounds have an 8-bit left. Since this uses an
149 * odd number of rounds, left is always 8 bits wide at the end.

Completed in 579 milliseconds

1 2 3 4 5 6 7 8 91011>>