Commit Graph

63 Commits

Author SHA1 Message Date
Dan
a3164a03c8
Enable GitHub Actions (#23) 2021-10-03 16:58:24 +02:00
Dan
e96b37a7c3
Update .travis.yml 2021-05-30 17:29:21 +02:00
Wirtos_new
9a9e55be72
Various fixes and improvements (#21)
* fix potential write to read only memory

* fix infinite loop

* move macros to the source file, make PUT a statement rather than a block
2021-04-07 14:16:06 +02:00
Dan
9836e93a27
Update .travis.yml 2020-11-08 16:26:48 +01:00
Dan
9253e2320c
Update README.md 2020-10-23 17:45:21 +02:00
Dan
c4bb09d1ba Update TgCrypto to v1.2.2 2020-10-23 16:53:02 +02:00
Dan
72f1891460 Set minimum requirement to Python 3.6 2020-10-23 16:52:53 +02:00
Dan
921c665680
Add support for Python 3.9 and AArch64 (#18) 2020-10-23 16:45:43 +02:00
Dan
742f0ccf0c Update TgCrypto to v1.2.1 2020-04-30 14:28:57 +02:00
Mendel E
9b5e39f4c3
Fix parens imbalance (#11)
There was a set of parens that was opened in SWAP and closed in LROTR.
2020-04-30 14:27:33 +02:00
Dan
950503f167 Update copyright year 2020-04-30 14:12:36 +02:00
Dan
e848d0aaac Fix deprecation warnings complaining about PY_SSIZE_T_CLEAN 2019-11-27 14:33:31 +01:00
Dan
79e31f0c03 Add Python 3.8 to CI builds 2019-11-27 14:11:38 +01:00
Dan
147f089d4b Update CI requirements and make them strict 2019-11-27 14:09:57 +01:00
Dan
e5ef22aba6
Update TgCrypto to v1.2.0 2019-06-19 16:55:57 +02:00
Dan
f8fc911daf
Update README.md 2019-06-17 16:07:52 +02:00
Dan
064ea755c4 Add requirements-ci.txt 2019-06-14 21:18:56 +02:00
Dan
2efd3e00ec Update beta version 2019-06-14 19:56:39 +02:00
Dan
d2dee4ae9e
Merge pull request #7 from pyrogram/tests
Tests
2019-06-14 19:41:21 +02:00
Dan
3a8677099e Add Appveyor CI: run tests and build wheels for Windows 2019-06-14 19:38:14 +02:00
Dan
b0e70b5234 Add Travis CI: run tests and build wheels for Linux and macOS 2019-06-14 19:37:52 +02:00
Dan
0fe11896d9 Fix TypeError tests for Python 3.4 2019-06-14 19:36:06 +02:00
Dan
aabb77de64
Merge pull request #8 from YoilyL/tests
Released the GIL
2019-06-14 13:18:53 +02:00
YoilyL
2290f41de9
Released the GIL
# New Document
released the GIL to make use of multiple cores when using multithreading.

as per [the docs](https://docs.python.org/3/c-api/init.html#releasing-the-gil-from-extension-code):
>Calling system I/O functions is the most common use case for releasing the GIL, but it can also be useful before calling long-running computations which don’t need access to Python objects, such as compression or **cryptographic functions operating over memory buffers**. For example, the standard zlib and hashlib modules release the GIL when compressing or hashing data.
2019-06-13 19:53:56 +03:00
Dan
690cda002b Fix list count 2019-06-13 16:57:15 +02:00
Dan
780f78c840 Add test suite to setup.py 2019-06-13 16:40:23 +02:00
Dan
f07c2ea4ab Don't use pathlib 2019-06-13 16:39:56 +02:00
Dan
bd20ae640b Add input validation tests as well as tests based on random valid inputs 2019-06-13 16:23:52 +02:00
Dan
6816f2e2ae Implement input validation checks
Closes #6
2019-06-13 15:15:31 +02:00
Dan
4491d7a65a Add Python 3.7 classifier
Closes #5
2019-06-13 00:58:18 +02:00
Dan
13df647669 Merge branch 'tests' of https://github.com/pyrogram/tgcrypto into tests 2019-06-13 00:57:37 +02:00
Dan
3beda99556
Update README.md 2019-06-13 00:52:31 +02:00
Dan
4e27767426 Update PyMethodDef docs 2019-06-13 00:44:32 +02:00
Dan
9e33d805ae Add tests for AES-CBC 256 bit 2019-06-13 00:34:00 +02:00
Dan
b4d58f4a5c Move tests for AES-CTR 256 bit into a dedicated folder 2019-06-13 00:33:31 +02:00
Dan
8a7d067062 Implement AES-CBC 256 bit 2019-06-13 00:31:25 +02:00
Dan
1a40d7df85 Reformat code 2019-06-13 00:27:11 +02:00
Dan
fd22948666 Add tests 2019-06-12 16:06:13 +02:00
Dan
807952bf5c Update email address, docs and community urls 2019-06-12 09:36:35 +02:00
Dan
3a737e00d3 Update NOTICE 2019-06-12 09:31:04 +02:00
Dan
fa10b28948 Update setup.py to use README.md instead of .rst 2019-06-12 09:29:52 +02:00
Dan
5c2c7f3b9c
Update README.md 2019-05-25 02:17:42 +02:00
Dan
5767b6a520
Update and rename README.rst to README.md 2019-05-13 15:48:15 +02:00
Dan
95ff73cb05 Update to v1.1.1 2018-09-20 11:44:56 +02:00
Dan
4209f627c5 Update to v1.0.4 2018-03-26 02:13:02 +02:00
Dan
690b77e40b Fix indentation, use spaces instead of tabs 2018-03-26 02:10:31 +02:00
Dan
8471a40b63 Go down to C89 2018-03-21 18:39:56 +01:00
Dan
bf7dc4b50b Fix compilation errors on Windows 2018-03-21 18:01:39 +01:00
Dan
5ba35e1edd Merge remote-tracking branch 'origin/master' 2018-03-13 14:28:13 +01:00
Dan
6077ae9be0 Update to v1.0.3 2018-03-12 16:33:00 +01:00