Commit 099292d
Use OQS_SIG_supports_ctx_str for context support detection and fix CI build (#111)
* Add PEP 561 type stubs for oqs package
The following files have been added:
- oqs/py.typed: Marker file for PEP 561 compliance.
- oqs/__init__.pyi: Stub for the main package entry point.
- oqs/oqs.pyi: Stubs for core OQS functionalities (KeyEncapsulation,
Signature, related functions, and exceptions).
- oqs/rand.pyi: Stubs for random number generation functions.
Signed-off-by: M-AlNoaimi <[email protected]>
* Improved oqs stub to use @Final for classes and TypedDict for details attributes & Removed init stub to be more flexible (when making edits directly down the line).
Signed-off-by: M-AlNoaimi <[email protected]>
* Use new C API for context string support detection
Signed-off-by: M-AlNoaimi <[email protected]>
---------
Signed-off-by: M-AlNoaimi <[email protected]>
Signed-off-by: Vlad Gheorghiu <[email protected]>
Co-authored-by: Vlad Gheorghiu <[email protected]>1 parent a663807 commit 099292d
2 files changed
+32
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
570 | 575 | | |
571 | 576 | | |
572 | 577 | | |
| |||
788 | 793 | | |
789 | 794 | | |
790 | 795 | | |
791 | | - | |
| 796 | + | |
792 | 797 | | |
793 | 798 | | |
794 | 799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
47 | 72 | | |
48 | 73 | | |
49 | 74 | | |
| |||
0 commit comments