| /optee_os/core/lib/libtomcrypt/src/stream/salsa20/ |
| H A D | xsalsa20_setup.c | 72 LOAD32L(x[ 0], constants + 0); in xsalsa20_setup() 73 LOAD32L(x[ 5], constants + 4); in xsalsa20_setup() 74 LOAD32L(x[10], constants + 8); in xsalsa20_setup() 75 LOAD32L(x[15], constants + 12); in xsalsa20_setup() 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() [all …]
|
| H 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 …]
|
| H 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/core/lib/libtomcrypt/src/stream/chacha/ |
| H 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 …]
|
| H 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()
|
| H 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/core/lib/libtomcrypt/src/mac/poly1305/ |
| H 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() 92 LOAD32L(st->r[2], key + 6); st->r[2] = (st->r[2] >> 4) & 0x3ffc0ff; in poly1305_init() 93 LOAD32L(st->r[3], key + 9); st->r[3] = (st->r[3] >> 6) & 0x3f03fff; in poly1305_init() 94 LOAD32L(st->r[4], key + 12); st->r[4] = (st->r[4] >> 8) & 0x00fffff; in poly1305_init() [all …]
|
| /optee_os/core/lib/libtomcrypt/src/ciphers/aes/ |
| H A D | aesni.c | 71 LOAD32L(rk[0], key); in aesni_setup() 72 LOAD32L(rk[1], key + 4); in aesni_setup() 73 LOAD32L(rk[2], key + 8); in aesni_setup() 74 LOAD32L(rk[3], key + 12); in aesni_setup() 89 LOAD32L(rk[4], key + 16); in aesni_setup() 90 LOAD32L(rk[5], key + 20); in aesni_setup() 106 LOAD32L(rk[4], key + 16); in aesni_setup() 107 LOAD32L(rk[5], key + 20); in aesni_setup() 108 LOAD32L(rk[6], key + 24); in aesni_setup() 109 LOAD32L(rk[7], key + 28); in aesni_setup()
|
| /optee_os/core/lib/libtomcrypt/src/ciphers/ |
| H 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()
|
| H 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()
|
| H 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/core/lib/libtomcrypt/src/stream/sosemanuk/ |
| H 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/core/lib/libtomcrypt/src/ciphers/twofish/ |
| H 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/core/lib/libtomcrypt/src/stream/rabbit/ |
| H 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/core/lib/libtomcrypt/src/headers/ |
| H A D | tomcrypt_macros.h | 16 #define LOAD32L(x, y) \ macro 145 #define LOAD32L(x, y) \ macro 165 #define LOAD32L(x, y) \ macro 182 #define LOAD32L(x, y) \ macro
|
| /optee_os/core/lib/libtomcrypt/src/stream/sober128/ |
| H A D | sober128_stream.c | 25 LOAD32L(t, b); in BYTE2WORD() 32 LOAD32L(t, in); in XORWORD()
|
| /optee_os/core/lib/libtomcrypt/src/hashes/ |
| H 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()
|
| H A D | md4.c | 84 LOAD32L(x[i], buf + (4*i)); in ss_md4_compress()
|
| H A D | md5.c | 105 LOAD32L(W[i], buf + (4*i)); in ss_md5_compress()
|
| H A D | rmd128.c | 86 LOAD32L(X[i], buf + (4 * i)); in ss_rmd128_compress()
|
| H A D | rmd256.c | 80 LOAD32L(X[i], buf + (4 * i)); in ss_rmd256_compress()
|
| H A D | rmd160.c | 106 LOAD32L(X[i], buf + (4 * i)); in ss_rmd160_compress()
|
| H A D | rmd320.c | 101 LOAD32L(X[i], buf + (4 * i)); in ss_rmd320_compress()
|
| /optee_os/core/lib/libtomcrypt/src/encauth/gcm/ |
| H A D | gcm_gf_mult.c | 122 LOAD32L(pB[i], b + (i<<2)); in gcm_gf_mult()
|