wolfcrypt-py icon indicating copy to clipboard operation
wolfcrypt-py copied to clipboard

A Python wrapper that encapsulates wolfSSL's wolfCrypt API.

Results 6 wolfcrypt-py issues
Sort by recently updated
recently updated
newest added

The title says it all, other AES modes and bare CHACHA20 are already supported by wolfcrypt-py, but not these (or AES-XTS either) B-) Thanks for the nice crypto lib!

enhancement

Added to build ffi and added to cipher.py. Not exactly sure what to add in cipher.py and same goes for the test.

The various interfaces that accept bytes don't accept memoryviews or bytearrays. For example, calling `MlKemPublic.decode_key()` with a memoryview or bytearray argument results in: ``` wolfcrypt.exceptions.WolfCryptError: wc_KyberKey_DecodePublicKey() error (-132) ``` As...

# Summary of Changes 1. wolfcrypt/utils.py - Updated t2b() function The t2b() function now passes through bytes, bytearray, and memoryview types unchanged, instead of only accepting bytes. This allows interfaces...

Currently there are a number of problems with linting: - Need to install the linter manually before it can be run - flake8 shows many errors - Linting is missing...

High quality Python code benefits from type hints. This enables discovering developer errors by static analysis instead of relying only on runtime tests. It also helps spotting API-breaking changes. This...