/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/whirl/ |
A D | whirltab.c | 12 CONST64(0x18186018c07830d8), CONST64(0x23238c2305af4626), CONST64(0xc6c63fc67ef991b8), CONST64(0xe8… 13 CONST64(0x878726874ca113cb), CONST64(0xb8b8dab8a9626d11), CONST64(0x0101040108050209), CONST64(0x4f… 14 CONST64(0x3636d836adee6c9b), CONST64(0xa6a6a2a6590451ff), CONST64(0xd2d26fd2debdb90c), CONST64(0xf5… 15 CONST64(0x7979f979ef80f296), CONST64(0x6f6fa16f5fcede30), CONST64(0x91917e91fcef3f6d), CONST64(0x52… 16 CONST64(0x60609d6027fdc047), CONST64(0xbcbccabc89766535), CONST64(0x9b9b569baccd2b37), CONST64(0x8e… 17 CONST64(0xa3a3b6a371155bd2), CONST64(0x0c0c300c603c186c), CONST64(0x7b7bf17bff8af684), CONST64(0x35… 18 CONST64(0x1d1d741de8693af5), CONST64(0xe0e0a7e05347ddb3), CONST64(0xd7d77bd7f6acb321), CONST64(0xc2… 19 CONST64(0x2e2eb82e6d965c43), CONST64(0x4b4b314b627a9629), CONST64(0xfefedffea321e15d), CONST64(0x57… 20 CONST64(0x15155415a8412abd), CONST64(0x7777c1779fb6eee8), CONST64(0x3737dc37a5eb6e92), CONST64(0xe5… 21 CONST64(0x9f9f469f8cd92313), CONST64(0xf0f0e7f0d317fd23), CONST64(0x4a4a354a6a7f9420), CONST64(0xda… [all …]
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/ciphers/ |
A D | des.c | 246 { CONST64(0x0000000000000000), CONST64(0x0000001000000000), CONST64(0x0000000000000010), CONST64(0x… 247 …CONST64(0x0000100000000000), CONST64(0x0000101000000000), CONST64(0x0000100000000010), CONST64(0x0… 248 …CONST64(0x0000000000001000), CONST64(0x0000001000001000), CONST64(0x0000000000001010), CONST64(0x0… 249 …CONST64(0x0000100000001000), CONST64(0x0000101000001000), CONST64(0x0000100000001010), CONST64(0x0… 250 …CONST64(0x0010000000000000), CONST64(0x0010001000000000), CONST64(0x0010000000000010), CONST64(0x0… 251 …CONST64(0x0010100000000000), CONST64(0x0010101000000000), CONST64(0x0010100000000010), CONST64(0x0… 252 …CONST64(0x0010000000001000), CONST64(0x0010001000001000), CONST64(0x0010000000001010), CONST64(0x0… 253 …CONST64(0x0010100000001000), CONST64(0x0010101000001000), CONST64(0x0010100000001010), CONST64(0x0… 254 …CONST64(0x0000000000100000), CONST64(0x0000001000100000), CONST64(0x0000000000100010), CONST64(0x0… 255 …CONST64(0x0000100000100000), CONST64(0x0000101000100000), CONST64(0x0000100000100010), CONST64(0x0… [all …]
|
A D | khazad.c | 29 …CONST64(0xbad3d268bbb96a01), CONST64(0x54fc4d19e59a66b1), CONST64(0x2f71bc93e26514cd), CONST64(0x7… 30 …CONST64(0x53f55102f7a257a4), CONST64(0xd3686bb8d0d6be03), CONST64(0xd26b6fbdd6deb504), CONST64(0x4… 31 …CONST64(0x50f05d0dfdba4aad), CONST64(0xace98a26cf09e063), CONST64(0x8d8a0e83091c9684), CONST64(0xb… 32 …CONST64(0x7090ddad3da7374d), CONST64(0x52f65507f1aa5ca3), CONST64(0x9ab352c87ba417e1), CONST64(0x4… 33 …CONST64(0xea238f65460320ac), CONST64(0xd56273a6c4e68411), CONST64(0x97a466f155cc68c2), CONST64(0xd… 34 …CONST64(0x3355ccffaa85d099), CONST64(0x51f35908fbb241aa), CONST64(0x5bed712ac7e20f9c), CONST64(0xa… 35 …CONST64(0xde7f5f81febec120), CONST64(0x48d83d75ad7aa2e5), CONST64(0xa8e59a32d729cc7f), CONST64(0x9… 36 …CONST64(0xdb704b90e096e63b), CONST64(0x3256c8faac8ddb9e), CONST64(0xb7c4e65195d11522), CONST64(0xf… 37 …CONST64(0xe338ab48704b7393), CONST64(0x9ebf42dc63843bfd), CONST64(0x91ae7eef41fc52d0), CONST64(0x9… 38 …CONST64(0xe23baf4d76437894), CONST64(0xbbd0d66dbdb16106), CONST64(0x41c319589b32f1da), CONST64(0x6… [all …]
|
A D | camellia.c | 167 CONST64(0xA09E667F3BCC908B), 168 CONST64(0xB67AE8584CAA73B2), 169 CONST64(0xC6EF372FE94F82BE), 170 CONST64(0x54FF53A5F1D36F1C), 171 CONST64(0x10E527FADE682D1D), 172 CONST64(0xB05688C2B3E6C1FD) 187 return ((ulong64)U) | (((ulong64)D) << CONST64(32)); in F()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/ |
A D | tiger.c | 37 CONST64(0x02AAB17CF7E90C5E) /* 0 */, CONST64(0xAC424B03E243A8EC) /* 1 */, 38 CONST64(0x72CD5BE30DD5FCD3) /* 2 */, CONST64(0x6D019B93F6F97F3A) /* 3 */, 39 CONST64(0xCD9978FFD21F9193) /* 4 */, CONST64(0x7573A1C9708029E2) /* 5 */, 40 CONST64(0xB164326B922A83C3) /* 6 */, CONST64(0x46883EEE04915870) /* 7 */, 41 CONST64(0xEAACE3057103ECE6) /* 8 */, CONST64(0xC54169B808A3535C) /* 9 */, 42 CONST64(0x4CE754918DDEC47C) /* 10 */, CONST64(0x0AA2F4DFDC0DF40C) /* 11 */, 43 CONST64(0x10B76F18A74DBEFA) /* 12 */, CONST64(0xC6CCB6235AD1AB6A) /* 13 */, 44 CONST64(0x13726121572FE2FF) /* 14 */, CONST64(0x1A488C6F199D921E) /* 15 */, 45 CONST64(0x4BC9F9F4DA0007CA) /* 16 */, CONST64(0x26F5E6F6E85241C7) /* 17 */, 46 CONST64(0x859079DBEA5947B6) /* 18 */, CONST64(0x4F1885C5C99E8C92) /* 19 */, [all …]
|
A D | sha3.c | 135 CONST64(0x0000000000000001), CONST64(0x0000000000008082), 136 CONST64(0x800000000000808a), CONST64(0x8000000080008000), 137 CONST64(0x000000000000808b), CONST64(0x0000000080000001), 138 CONST64(0x8000000080008081), CONST64(0x8000000000008009), 139 CONST64(0x000000000000008a), CONST64(0x0000000000000088), 140 CONST64(0x0000000080008009), CONST64(0x000000008000000a), 141 CONST64(0x000000008000808b), CONST64(0x800000000000008b), 142 CONST64(0x8000000000008089), CONST64(0x8000000000008003), 143 CONST64(0x8000000000008002), CONST64(0x8000000000000080), 144 CONST64(0x000000000000800a), CONST64(0x800000008000000a), [all …]
|
A D | blake2b.c | 128 CONST64(0x6a09e667f3bcc908), CONST64(0xbb67ae8584caa73b), 129 CONST64(0x3c6ef372fe94f82b), CONST64(0xa54ff53a5f1d36f1), 130 CONST64(0x510e527fade682d1), CONST64(0x9b05688c2b3e6c1f), 131 CONST64(0x1f83d9abfb41bd6b), CONST64(0x5be0cd19137e2179) 150 static void s_blake2b_set_lastnode(hash_state *md) { md->blake2b.f[1] = CONST64(0xffffffffffffffff)… in s_blake2b_set_lastnode() 160 md->blake2b.f[0] = CONST64(0xffffffffffffffff); in s_blake2b_set_lastblock()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/hashes/sha2/ |
A D | sha512.c | 32 CONST64(0x428a2f98d728ae22), CONST64(0x7137449123ef65cd), 33 CONST64(0xb5c0fbcfec4d3b2f), CONST64(0xe9b5dba58189dbbc), 34 CONST64(0x3956c25bf348b538), CONST64(0x59f111f1b605d019), 35 CONST64(0x923f82a4af194f9b), CONST64(0xab1c5ed5da6d8118), 36 CONST64(0xd807aa98a3030242), CONST64(0x12835b0145706fbe), 37 CONST64(0x243185be4ee4b28c), CONST64(0x550c7dc3d5ffb4e2), 38 CONST64(0x72be5d74f27b896f), CONST64(0x80deb1fe3b1696b1), 39 CONST64(0x9bdc06a725c71235), CONST64(0xc19bf174cf692694), 40 CONST64(0xe49b69c19ef14ad2), CONST64(0xefbe4786384f25e3), 41 CONST64(0x0fc19dc68b8cd5b5), CONST64(0x240ca1cc77ac9c65), [all …]
|
A D | sha512_224.c | 41 md->sha512.state[0] = CONST64(0x8C3D37C819544DA2); in sha512_224_init() 42 md->sha512.state[1] = CONST64(0x73E1996689DCD4D6); in sha512_224_init() 43 md->sha512.state[2] = CONST64(0x1DFAB7AE32FF9C82); in sha512_224_init() 44 md->sha512.state[3] = CONST64(0x679DD514582F9FCF); in sha512_224_init() 45 md->sha512.state[4] = CONST64(0x0F6D2B697BD44DA8); in sha512_224_init() 46 md->sha512.state[5] = CONST64(0x77E36F7304C48942); in sha512_224_init() 47 md->sha512.state[6] = CONST64(0x3F9D85A86A1D36C8); in sha512_224_init() 48 md->sha512.state[7] = CONST64(0x1112E6AD91D692A1); in sha512_224_init()
|
A D | sha384.c | 41 md->sha512.state[0] = CONST64(0xcbbb9d5dc1059ed8); in sha384_init() 42 md->sha512.state[1] = CONST64(0x629a292a367cd507); in sha384_init() 43 md->sha512.state[2] = CONST64(0x9159015a3070dd17); in sha384_init() 44 md->sha512.state[3] = CONST64(0x152fecd8f70e5939); in sha384_init() 45 md->sha512.state[4] = CONST64(0x67332667ffc00b31); in sha384_init() 46 md->sha512.state[5] = CONST64(0x8eb44a8768581511); in sha384_init() 47 md->sha512.state[6] = CONST64(0xdb0c2e0d64f98fa7); in sha384_init() 48 md->sha512.state[7] = CONST64(0x47b5481dbefa4fa4); in sha384_init()
|
A D | sha512_256.c | 41 md->sha512.state[0] = CONST64(0x22312194FC2BF72C); in sha512_256_init() 42 md->sha512.state[1] = CONST64(0x9F555FA3C84C64C2); in sha512_256_init() 43 md->sha512.state[2] = CONST64(0x2393B86B6F53B151); in sha512_256_init() 44 md->sha512.state[3] = CONST64(0x963877195940EABD); in sha512_256_init() 45 md->sha512.state[4] = CONST64(0x96283EE2A88EFFE3); in sha512_256_init() 46 md->sha512.state[5] = CONST64(0xBE5E1E2553863992); in sha512_256_init() 47 md->sha512.state[6] = CONST64(0x2B0199FC2C85B8AA); in sha512_256_init() 48 md->sha512.state[7] = CONST64(0x0EB72DDC81C52CA2); in sha512_256_init()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | sha512_accel.c | 63 md->sha512.state[0] = CONST64(0x6a09e667f3bcc908); in sha512_init() 64 md->sha512.state[1] = CONST64(0xbb67ae8584caa73b); in sha512_init() 65 md->sha512.state[2] = CONST64(0x3c6ef372fe94f82b); in sha512_init() 66 md->sha512.state[3] = CONST64(0xa54ff53a5f1d36f1); in sha512_init() 67 md->sha512.state[4] = CONST64(0x510e527fade682d1); in sha512_init() 68 md->sha512.state[5] = CONST64(0x9b05688c2b3e6c1f); in sha512_init() 69 md->sha512.state[6] = CONST64(0x1f83d9abfb41bd6b); in sha512_init() 70 md->sha512.state[7] = CONST64(0x5be0cd19137e2179); in sha512_init() 94 md->sha512.length += md->sha512.curlen * CONST64(8); in sha512_done()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/modes/xts/ |
A D | xts_test.c | 99 CONST64(0x3333333333), in xts_test() 110 CONST64(0x123456789a), in xts_test() 166 CONST64(0x123456789a), in xts_test() 177 CONST64(0x123456789a), in xts_test() 188 CONST64(0x123456789a), in xts_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/ |
A D | tomcrypt_macros.h | 423 … (((x)&CONST64(0xFFFFFFFFFFFFFFFF))>>(((ulong64)64-((y)&63))&63))) & CONST64(0xFFFFFFFFFFFFFFFF)) 426 ( ((((x)&CONST64(0xFFFFFFFFFFFFFFFF))>>((ulong64)(y)&CONST64(63))) | \ 427 ((x)<<(((ulong64)64-((y)&63))&63))) & CONST64(0xFFFFFFFFFFFFFFFF)) 431 … (((x)&CONST64(0xFFFFFFFFFFFFFFFF))>>(((ulong64)64-((y)&63))&63))) & CONST64(0xFFFFFFFFFFFFFFFF)) 434 ( ((((x)&CONST64(0xFFFFFFFFFFFFFFFF))>>((ulong64)(y)&CONST64(63))) | \ 435 ((x)<<(((ulong64)64-((y)&63))&63))) & CONST64(0xFFFFFFFFFFFFFFFF))
|
A D | tomcrypt_cfg.h | 202 #define CONST64(n) n ## ui64 macro 206 #define CONST64(n) n ## ULL macro
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/gcm/ |
A D | gcm_process.c | 45 if (gcm->pttotlen / 8 + (ulong64)gcm->buflen + (ulong64)ptlen >= CONST64(0xFFFFFFFE0)) { in gcm_process() 58 gcm->totlen += gcm->buflen * CONST64(8); in gcm_process()
|
A D | gcm_done.c | 53 gcm->pttotlen += gcm->buflen * CONST64(8); in gcm_done()
|
A D | gcm_add_aad.c | 51 gcm->totlen += gcm->buflen * CONST64(8); in gcm_add_aad()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/encauth/chachapoly/ |
A D | chacha20poly1305_test.c | 81 …if ((err = chacha20poly1305_setiv_rfc7905(&st1, i12, sizeof(i12), CONST64(0x1122334455667788))) !=… in chacha20poly1305_test() 92 …if ((err = chacha20poly1305_setiv_rfc7905(&st1, i12, sizeof(i12), CONST64(0x1122334455667788))) !=… in chacha20poly1305_test()
|
/optee_os-3.20.0/core/lib/libtomcrypt/src/prngs/ |
A D | fortuna.c | 80 cur_time -= CONST64(116444736000000000); /* subtract 100ns intervals between 1601-1970 */ in s_fortuna_current_time()
|