Avatar for the CodSpeedHQ user
CodSpeedHQ
cryptography
BlogDocsChangelog

Add support for decrypting S/MIME messages

#243
Comparing
fork-11555-nitneuqr/smime-decryption
(
e6cb8ed
) with
main
(
6ebb092
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
20
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

test_object_identifier_constructor
tests/bench/test_x509.py::test_object_identifier_constructor
CodSpeed Performance Gauge
+1%
19.9 µs
19.6 µs
test_aesocb3_decrypt
tests/bench/test_aead.py::test_aesocb3_decrypt
CodSpeed Performance Gauge
+1%
42.9 µs
42.4 µs
test_fernet_encrypt
tests/bench/test_fernet.py::test_fernet_encrypt
CodSpeed Performance Gauge
+1%
199.3 µs
198.2 µs
test_aesocb3_encrypt
tests/bench/test_aead.py::test_aesocb3_encrypt
CodSpeed Performance Gauge
+1%
42.7 µs
42.5 µs
test_chacha20poly1305_decrypt
tests/bench/test_aead.py::test_chacha20poly1305_decrypt
CodSpeed Performance Gauge
+1%
53 µs
52.7 µs
test_aessiv_encrypt
tests/bench/test_aead.py::test_aessiv_encrypt
CodSpeed Performance Gauge
0%
45.2 µs
45.1 µs
test_chacha20poly1305_encrypt
tests/bench/test_aead.py::test_chacha20poly1305_encrypt
CodSpeed Performance Gauge
0%
58.3 µs
58.2 µs
test_verify_docs_python_org
tests/bench/test_x509.py::test_verify_docs_python_org
CodSpeed Performance Gauge
0%
891.1 µs
889.5 µs
test_aessiv_decrypt
tests/bench/test_aead.py::test_aessiv_decrypt
CodSpeed Performance Gauge
0%
44.6 µs
44.5 µs
test_load_der_certificate
tests/bench/test_x509.py::test_load_der_certificate
CodSpeed Performance Gauge
0%
44.6 µs
44.5 µs
test_aesgcm_decrypt
tests/bench/test_aead.py::test_aesgcm_decrypt
CodSpeed Performance Gauge
0%
50.2 µs
50.2 µs
test_load_ec_public_numbers
tests/bench/test_ec_load.py::test_load_ec_public_numbers
CodSpeed Performance Gauge
0%
116.7 µs
116.7 µs
test_load_pem_certificate
tests/bench/test_x509.py::test_load_pem_certificate
CodSpeed Performance Gauge
0%
114.2 µs
114.4 µs
test_load_ec_private_numbers
tests/bench/test_ec_load.py::test_load_ec_private_numbers
CodSpeed Performance Gauge
0%
236.6 µs
237.1 µs
test_aki_public_bytes
tests/bench/test_x509.py::test_aki_public_bytes
CodSpeed Performance Gauge
0%
29.6 µs
29.7 µs
test_aesccm_decrypt
tests/bench/test_aead.py::test_aesccm_decrypt
CodSpeed Performance Gauge
0%
48.2 µs
48.4 µs
test_sha256
tests/bench/test_hashes.py::test_sha256
CodSpeed Performance Gauge
0%
62.3 µs
62.5 µs
test_aesccm_encrypt
tests/bench/test_aead.py::test_aesccm_encrypt
CodSpeed Performance Gauge
0%
49.7 µs
49.9 µs
test_aesgcm_encrypt
tests/bench/test_aead.py::test_aesgcm_encrypt
CodSpeed Performance Gauge
-1%
50.6 µs
50.9 µs
test_hmac_sha256
tests/bench/test_hmac.py::test_hmac_sha256
CodSpeed Performance Gauge
-2%
68.2 µs
69.4 µs

Commits

Click on a commit to change the comparison range
Base
main
6ebb092
0%
first python API proposition first round-trip tests feat: made asn1 structures readable refacto: adapted existing functions accordingly feat/pkcs12: added symmetric_decrypt feat: deserialize 3 possible encodings feat: handling AES-128 & AES-256 CBC feat: raise error when no recipient is found feat/pkcs7: added decanonicalize function feat/asn1: added decode_der_data feat/pkcs7: added smime_enveloped_decode tests are the round-trip (encrypt & decrypt)
e6cb8ed
6 months ago
by nitneuqr
Home Terms PrivacyDocs