/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/salsa20/ |
A D | xsalsa20_setup.c | 76 LOAD32L(x[ 1], key + 0); in xsalsa20_setup() 77 LOAD32L(x[ 2], key + 4); in xsalsa20_setup() 78 LOAD32L(x[ 3], key + 8); in xsalsa20_setup() 79 LOAD32L(x[ 4], key + 12); in xsalsa20_setup() 80 LOAD32L(x[11], key + 16); in xsalsa20_setup() 81 LOAD32L(x[12], key + 20); in xsalsa20_setup() 82 LOAD32L(x[13], key + 24); in xsalsa20_setup() 83 LOAD32L(x[14], key + 28); in xsalsa20_setup() 84 LOAD32L(x[ 6], nonce + 0); in xsalsa20_setup() 85 LOAD32L(x[ 7], nonce + 4); in xsalsa20_setup() [all …]
|
A D | salsa20_setup.c | 36 LOAD32L(st->input[1], key + 0); in salsa20_setup() 37 LOAD32L(st->input[2], key + 4); in salsa20_setup() 38 LOAD32L(st->input[3], key + 8); in salsa20_setup() 39 LOAD32L(st->input[4], key + 12); in salsa20_setup() 46 LOAD32L(st->input[11], key + 0); in salsa20_setup() 47 LOAD32L(st->input[12], key + 4); in salsa20_setup() 48 LOAD32L(st->input[13], key + 8); in salsa20_setup() 49 LOAD32L(st->input[14], key + 12); in salsa20_setup() 50 LOAD32L(st->input[ 0], constants + 0); in salsa20_setup() 51 LOAD32L(st->input[ 5], constants + 4); in salsa20_setup() [all …]
|
A D | salsa20_ivctr64.c | 29 LOAD32L(st->input[6], iv + 0); in salsa20_ivctr64() 30 LOAD32L(st->input[7], iv + 4); in salsa20_ivctr64()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/chacha/ |
A D | chacha_setup.c | 34 LOAD32L(st->input[4], key + 0); in chacha_setup() 35 LOAD32L(st->input[5], key + 4); in chacha_setup() 36 LOAD32L(st->input[6], key + 8); in chacha_setup() 37 LOAD32L(st->input[7], key + 12); in chacha_setup() 44 LOAD32L(st->input[8], key + 0); in chacha_setup() 45 LOAD32L(st->input[9], key + 4); in chacha_setup() 46 LOAD32L(st->input[10], key + 8); in chacha_setup() 47 LOAD32L(st->input[11], key + 12); in chacha_setup() 48 LOAD32L(st->input[0], constants + 0); in chacha_setup() 49 LOAD32L(st->input[1], constants + 4); in chacha_setup() [all …]
|
A D | chacha_ivctr32.c | 29 LOAD32L(st->input[13], iv + 0); in chacha_ivctr32() 30 LOAD32L(st->input[14], iv + 4); in chacha_ivctr32() 31 LOAD32L(st->input[15], iv + 8); in chacha_ivctr32()
|
A D | chacha_ivctr64.c | 30 LOAD32L(st->input[14], iv + 0); in chacha_ivctr64() 31 LOAD32L(st->input[15], iv + 4); in chacha_ivctr64()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/mac/poly1305/ |
A D | poly1305.c | 43 LOAD32L(tmp, in+ 0); h0 += (tmp ) & 0x3ffffff; in s_poly1305_block() 44 LOAD32L(tmp, in+ 3); h1 += (tmp >> 2) & 0x3ffffff; in s_poly1305_block() 45 LOAD32L(tmp, in+ 6); h2 += (tmp >> 4) & 0x3ffffff; in s_poly1305_block() 46 LOAD32L(tmp, in+ 9); h3 += (tmp >> 6) & 0x3ffffff; in s_poly1305_block() 47 LOAD32L(tmp, in+12); h4 += (tmp >> 8) | hibit; in s_poly1305_block() 90 LOAD32L(st->r[0], key + 0); st->r[0] = (st->r[0] ) & 0x3ffffff; in poly1305_init() 91 LOAD32L(st->r[1], key + 3); st->r[1] = (st->r[1] >> 2) & 0x3ffff03; in poly1305_init() 104 LOAD32L(st->pad[0], key + 16); in poly1305_init() 105 LOAD32L(st->pad[1], key + 20); in poly1305_init() 106 LOAD32L(st->pad[2], key + 24); in poly1305_init() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | rc6.c | 127 LOAD32L(a,&pt[0]);LOAD32L(b,&pt[4]);LOAD32L(c,&pt[8]);LOAD32L(d,&pt[12]); in s_rc6_ecb_encrypt() 183 LOAD32L(a,&ct[0]);LOAD32L(b,&ct[4]);LOAD32L(c,&ct[8]);LOAD32L(d,&ct[12]); in s_rc6_ecb_decrypt()
|
A D | rc5.c | 137 LOAD32L(A, &pt[0]); in s_rc5_ecb_encrypt() 138 LOAD32L(B, &pt[4]); in s_rc5_ecb_encrypt() 197 LOAD32L(A, &ct[0]); in s_rc5_ecb_decrypt() 198 LOAD32L(B, &ct[4]); in s_rc5_ecb_decrypt()
|
A D | serpent.c | 454 LOAD32L(k0[i], key + i * 4); in s_setup_key() 490 LOAD32L(a, in + 0); in s_enc_block() 491 LOAD32L(b, in + 4); in s_enc_block() 492 LOAD32L(c, in + 8); in s_enc_block() 493 LOAD32L(d, in + 12); in s_enc_block() 532 LOAD32L(a, in + 0); in s_dec_block() 533 LOAD32L(b, in + 4); in s_dec_block() 534 LOAD32L(c, in + 8); in s_dec_block() 535 LOAD32L(d, in + 12); in s_dec_block()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sosemanuk/ |
A D | sosemanuk.c | 268 LOAD32L(w0, wbuf); in sosemanuk_setup() 269 LOAD32L(w1, wbuf + 4); in sosemanuk_setup() 270 LOAD32L(w2, wbuf + 8); in sosemanuk_setup() 271 LOAD32L(w3, wbuf + 12); in sosemanuk_setup() 272 LOAD32L(w4, wbuf + 16); in sosemanuk_setup() 273 LOAD32L(w5, wbuf + 20); in sosemanuk_setup() 274 LOAD32L(w6, wbuf + 24); in sosemanuk_setup() 275 LOAD32L(w7, wbuf + 28); in sosemanuk_setup() 380 LOAD32L(r0, ivtmp); in sosemanuk_setiv() 381 LOAD32L(r1, ivtmp + 4); in sosemanuk_setiv() [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/twofish/ |
A D | twofish.c | 388 LOAD32L(A, tmp2); in s_twofish_setup() 395 LOAD32L(B, tmp2); in s_twofish_setup() 488 LOAD32L(a,&pt[0]); LOAD32L(b,&pt[4]); in s_twofish_ecb_encrypt() 489 LOAD32L(c,&pt[8]); LOAD32L(d,&pt[12]); in s_twofish_ecb_encrypt() 563 LOAD32L(ta,&ct[0]); LOAD32L(tb,&ct[4]); in s_twofish_ecb_decrypt() 564 LOAD32L(tc,&ct[8]); LOAD32L(td,&ct[12]); in s_twofish_ecb_decrypt()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/rabbit/ |
A D | rabbit.c | 163 LOAD32L(k0, tmpkey+ 0); in rabbit_setup() 164 LOAD32L(k1, tmpkey+ 4); in rabbit_setup() 165 LOAD32L(k2, tmpkey+ 8); in rabbit_setup() 166 LOAD32L(k3, tmpkey+12); in rabbit_setup() 235 LOAD32L(i0, tmpiv+0); in rabbit_setiv() 236 LOAD32L(i2, tmpiv+4); in rabbit_setiv()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_macros.h | 11 #define LOAD32L(x, y) \ macro 140 #define LOAD32L(x, y) \ macro 160 #define LOAD32L(x, y) \ macro 177 #define LOAD32L(x, y) \ macro
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/stream/sober128/ |
A D | sober128_stream.c | 25 LOAD32L(t, b); in BYTE2WORD() 32 LOAD32L(t, in); in XORWORD()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | blake2s.c | 183 LOAD32L(tmp, P + i * 4); in s_blake2s_init_param() 304 LOAD32L(m[i], buf + i * sizeof(m[i])); in ss_blake2s_compress()
|
A D | md4.c | 84 LOAD32L(x[i], buf + (4*i)); in ss_md4_compress()
|
A D | md5.c | 105 LOAD32L(W[i], buf + (4*i)); in ss_md5_compress()
|
A D | rmd128.c | 86 LOAD32L(X[i], buf + (4 * i)); in ss_rmd128_compress()
|
A D | rmd256.c | 80 LOAD32L(X[i], buf + (4 * i)); in ss_rmd256_compress()
|
A D | rmd160.c | 106 LOAD32L(X[i], buf + (4 * i)); in ss_rmd160_compress()
|
A D | rmd320.c | 101 LOAD32L(X[i], buf + (4 * i)); in ss_rmd320_compress()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/ |
A D | gcm_gf_mult.c | 122 LOAD32L(pB[i], b + (i<<2)); in gcm_gf_mult()
|