levlam
|
abdc727a0f
|
Improve OpenSSL 3.0 compatibility.
|
2020-12-22 17:46:56 +03:00 |
|
levlam
|
57de0c4967
|
Fix some warnings.
|
2020-11-20 03:11:27 +03:00 |
|
levlam
|
34cf869c02
|
Don't use EVP_aes_256_ctr before OpenSSL 1.1.0.
|
2020-11-20 02:18:12 +03:00 |
|
levlam
|
16615d75e8
|
Fix integer conversion.
GitOrigin-RevId: 7ba9a274f6bff6733818596a676c5169bda24acf
|
2020-09-30 22:04:57 +03:00 |
|
levlam
|
705102cba0
|
Optimize AES CBC.
GitOrigin-RevId: f514011f11ebbea7b6198b9c905a61a990d4e4fe
|
2020-09-27 21:51:42 +03:00 |
|
levlam
|
a9a3acf135
|
Delete unused AesCtrCounterPack and XorBytes classes.
GitOrigin-RevId: 95906d3d54c16928a1250a511e1e66aa8e59c5c6
|
2020-09-27 15:47:22 +03:00 |
|
levlam
|
4d67801710
|
Use EVP_aes_256_ctr for AES CTR implementation.
GitOrigin-RevId: e9218b6eec8f5e4a11eea24324f6c8478f6f1293
|
2020-09-27 15:46:11 +03:00 |
|
levlam
|
4357a24a1c
|
Fix aes_ige_encrypt/aes_ige_decrypt.
GitOrigin-RevId: 7f4a7f86e1fbabe5bfe020fe95586a6030765977
|
2020-09-22 18:05:58 +03:00 |
|
levlam
|
8872fbf6ac
|
Fix tdutils after merge.
GitOrigin-RevId: 5b9a863e405a9e3782157570156fda71bf2bb589
|
2020-06-26 02:24:13 +03:00 |
|
Arseny Smirnov
|
fd6423dedf
|
update tdutils from another project
GitOrigin-RevId: 79b8eb2ba229d733f82dbb17b8bd7f27471c9472
|
2020-06-24 14:47:36 +03:00 |
|
Arseny Smirnov
|
7e96f93605
|
remove usage of AES_ige_encrypt
GitOrigin-RevId: cceb1d42c69724e99da4a419e5cf2c06ad94a373
|
2020-06-18 12:34:22 +03:00 |
|
levlam
|
f45d80fe16
|
Use AesIgeStateImpl in aes_ige_{en,de}ncrypt.
GitOrigin-RevId: 06a070fb116b8e56221b49adb9cc38ec7678e845
|
2020-06-18 00:01:37 +03:00 |
|
levlam
|
3464f04e57
|
Simplify AesCtrState more.
GitOrigin-RevId: 7601dc25f84a96828c333c30cab35eef5836d06c
|
2020-06-17 22:49:04 +03:00 |
|
levlam
|
cdbe6f5002
|
Simplify AesCtrState.
GitOrigin-RevId: adebb42480ac23fb48105b5c957847e0c9867612
|
2020-06-17 22:40:25 +03:00 |
|
levlam
|
225e15f618
|
Revert "use void* instead of pimpl idiom in AesCtrState and AesIgeState", because of huge struct increase in size and Ige decrypt slowdown.
This reverts commit cc1c175d078b179e7af730b8617165c6ea6193f3.
GitOrigin-RevId: 83814f455af356117a6fccd8b122d72a5d0bce28
|
2020-06-17 22:24:31 +03:00 |
|
Arseny Smirnov
|
95af3e74bd
|
use void* instead of pimpl idiom in AesCtrState and AesIgeState
GitOrigin-RevId: cc1c175d078b179e7af730b8617165c6ea6193f3
|
2020-06-17 19:05:43 +03:00 |
|
levlam
|
50ce05a34f
|
Add missing move construxtors.
GitOrigin-RevId: 10a6f44b68e7b0187a5d674c1716cf0277351103
|
2020-06-17 17:39:54 +03:00 |
|
levlam
|
7754e80572
|
Remove unneeded include.
GitOrigin-RevId: ed319647243bfd81cd95df3658566b395ce844c2
|
2020-06-17 06:49:10 +03:00 |
|
levlam
|
6fc62e47dd
|
Fix build without OpenSSL.
GitOrigin-RevId: 81efca50dca3269bec82c9fdc48135f62865290e
|
2020-06-17 06:37:37 +03:00 |
|
levlam
|
76b5981968
|
Simplify Evp.
GitOrigin-RevId: cb40344936761c730f1e97f5a76e872ace2a2cee
|
2020-06-17 04:11:57 +03:00 |
|
Arseny Smirnov
|
1a33df9d52
|
AesBlock::inc: use bswap64 for x64 and armv8
GitOrigin-RevId: 5842d5d9fd4a865bc0c786e31e3f62f1257d1d4d
|
2020-06-16 18:34:55 +03:00 |
|
Arseny Smirnov
|
4c288d9398
|
AesState::Impl -> Evp
GitOrigin-RevId: 536640cffeb4fac1cc6f5a3499554d685891f45e
|
2020-06-16 18:19:05 +03:00 |
|
Arseny Smirnov
|
005611e924
|
Refactor td::AesState::Impl
GitOrigin-RevId: 5731ddc8d85c912cbfb141bd4e5eefea22d8ab21
|
2020-06-16 17:57:19 +03:00 |
|
levlam
|
8eadeaf7b3
|
Use only AES CBC in AES IGE encrypt.
GitOrigin-RevId: 380af89f18a77afee0baf7ec739836b071f96ab5
|
2020-06-16 06:34:17 +03:00 |
|
levlam
|
f3ebae267d
|
Implement AES IGE encrypt using AES CBC.
GitOrigin-RevId: ca803ca847a9c44e70687ade0f1ea25c0ee0ebb2
|
2020-06-16 06:16:09 +03:00 |
|
levlam
|
40ee207854
|
Improve AesIgeState.
GitOrigin-RevId: b0a1d8bad4be32e4f6fa9ff36f5a5bef2c464b26
|
2020-06-16 01:32:08 +03:00 |
|
levlam
|
e1515226be
|
Simplify XorBytes.
GitOrigin-RevId: d20ae3c1d44d0a88068b42979685e5b1f9df0193
|
2020-06-16 01:13:45 +03:00 |
|
levlam
|
6a7dfc4f01
|
Minor AES improvements.
GitOrigin-RevId: 138384ad375735b9e889172cae919368c9976456
|
2020-06-15 23:20:44 +03:00 |
|
Arseny Smirnov
|
53b0a74f87
|
tdutils: revert tosimple AesBlock::inc implementation
GitOrigin-RevId: 7f894bb710e32b6573603f3500c35daf0752cf02
|
2020-06-15 22:38:31 +03:00 |
|
Arseny Smirnov
|
132caf5c8f
|
tdutils: use new aes ige for long plaintext
GitOrigin-RevId: 4bd8ddd20508e235c0fb8b40ac42b9dcabfed30c
|
2020-06-15 19:23:40 +03:00 |
|
Arseny Smirnov
|
7e06d91739
|
tdutils: optimize aes ctr
GitOrigin-RevId: b24920ac38bb3b8e94ece87e7438a8b8b1b370c4
|
2020-06-15 18:59:56 +03:00 |
|
Arseny Smirnov
|
8845e18da9
|
tdutils: simplify aes ctr
GitOrigin-RevId: 557cc787f77e2f0af494e7dd46fa99e495a16925
|
2020-06-15 16:58:58 +03:00 |
|
Arseny Smirnov
|
0c0f6a7b7b
|
tdutils: simplify aes ige
GitOrigin-RevId: bc99b8c159cc866875ef69e44cd1e88f5e5dffee
|
2020-06-15 16:43:02 +03:00 |
|
Arseny Smirnov
|
7e5a08f272
|
tdutils: new ige implementation
GitOrigin-RevId: c19b702e3cfcb1edb182839e67c410c7fc3edac5
|
2020-06-15 15:07:58 +03:00 |
|
levlam
|
8350cd2433
|
Initialize field just in case.
GitOrigin-RevId: 4707c1101a6699fe37f8c942b6b66cfdd0e7bc36
|
2020-06-13 21:04:29 +03:00 |
|
levlam
|
584a0309c5
|
Fix return code checks.
GitOrigin-RevId: a4ace29e0bf81441b207d234c2e190dcb777b0cb
|
2020-06-13 20:57:47 +03:00 |
|
levlam
|
c68481052a
|
AES CTR improvements.
GitOrigin-RevId: c4ed8fdc883fdf7cc2ed10334d3bb9487d590d41
|
2020-06-13 04:45:40 +03:00 |
|
levlam
|
7ec6c794f8
|
Use fuzzy search for PHP 7.2 on OpenBSD.
GitOrigin-RevId: d2bb7efbc201666c0e1fe455abc8c69bcf4d782d
|
2020-06-12 22:08:44 +03:00 |
|
levlam
|
f6ef851fe2
|
AES fixes.
GitOrigin-RevId: bf30c8c381edb623fec0dfac1c494559f3f3739e
|
2020-06-12 19:43:58 +03:00 |
|
Arseny Smirnov
|
e913c3126b
|
tdutils: optimize aes ctr
GitOrigin-RevId: 09c6df45c0bf2683507a0f279769471efc859ecb
|
2020-06-12 19:40:17 +03:00 |
|
Arseny Smirnov
|
c4ed5ce140
|
tdutils: aes experiments
GitOrigin-RevId: 1dd2812041778679fb1ef0462d9e8b1899181e0b
|
2020-06-12 18:06:40 +03:00 |
|
levlam
|
b1419f9de5
|
Fix some includes.
GitOrigin-RevId: f4b44d2e91ca72b6090d7f1f35673e8268723241
|
2020-06-07 18:14:52 +03:00 |
|
levlam
|
3788cd28f9
|
Clear OpenSSL errors after init.
GitOrigin-RevId: 0e74ffdada6d568645aef6496df3498e0638bbc0
|
2020-06-06 21:35:09 +03:00 |
|
levlam
|
ed615430e1
|
Move OpenSSL error hancling functions to tdutils.
GitOrigin-RevId: 6d45b5ee1077eca430802fb6258104b0371688fa
|
2020-06-06 21:31:47 +03:00 |
|
levlam
|
80c35676a2
|
Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
|
2020-01-01 04:23:48 +03:00 |
|
levlam
|
bb24ec0629
|
Fix tdutils after merge.
GitOrigin-RevId: 3eceb2e574a737a78dc5414e535e416c86d23f7a
|
2019-08-13 23:52:54 +03:00 |
|
Arseny Smirnov
|
5a032743e6
|
Fix errors from tdutils import
GitOrigin-RevId: 3709df12a3050cf05e2bb482b49490a4e874f075
|
2019-08-12 16:53:17 +03:00 |
|
Arseny Smirnov
|
f63ce74fef
|
tdutils: import changes from other project
GitOrigin-RevId: 0cfbe2418933cffdce4f0d1b8461c247a814d868
|
2019-08-12 14:45:57 +03:00 |
|
levlam
|
f432abcce4
|
Use copy_from instead of memcoy if possible.
GitOrigin-RevId: 63981da8864d16ce46bca4b9580e7d9613c837c5
|
2019-07-27 01:27:22 +03:00 |
|
levlam
|
38e4310b71
|
Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
|
2019-07-23 03:50:03 +03:00 |
|