Skip to content

[RTE-458] Crl API #397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 16, 2025
Merged

[RTE-458] Crl API #397

merged 4 commits into from
May 16, 2025

Conversation

raoulstrackx
Copy link
Contributor

The mbedtls-sys crate offers ways to interact with CRLs, but mbedtls does not provide the proper APIs to access these. This PR adds some API.

Port of #390 to master

Copy link

Benchmark for e814946

Click to view benchmark
Test Base PR %
Cipher/AES CBC decrypt 291.5±9.06ns 300.0±11.70ns +2.92%
Cipher/AES CBC encrypt 219.8±7.66ns 219.7±9.09ns -0.05%
Cipher/AES CCM decrypt 409.4±11.86ns 411.1±10.03ns +0.42%
Cipher/AES CCM encrypt 373.5±14.64ns 383.5±33.17ns +2.68%
Cipher/AES GCM decrypt 671.9±21.94ns 673.7±19.01ns +0.27%
Cipher/AES GCM encrypt 587.9±28.54ns 577.1±10.66ns -1.84%
Cipher/AES KW decrypt 660.9±9.76ns 662.5±14.42ns +0.24%
Cipher/AES KW encrypt 602.6±16.98ns 597.5±14.21ns -0.85%
Cipher/AES KWP decrypt 671.0±18.54ns 685.4±30.60ns +2.15%
Cipher/AES KWP encrypt 610.5±12.24ns 606.0±8.37ns -0.74%

Copy link

Benchmark for fd1920c

Click to view benchmark
Test Base PR %
Cipher/AES CBC decrypt 297.3±10.14ns 292.6±12.29ns -1.58%
Cipher/AES CBC encrypt 222.9±5.93ns 222.9±5.21ns 0.00%
Cipher/AES CCM decrypt 405.0±11.12ns 408.6±13.87ns +0.89%
Cipher/AES CCM encrypt 362.4±12.49ns 350.9±14.16ns -3.17%
Cipher/AES GCM decrypt 588.9±18.14ns 590.6±18.99ns +0.29%
Cipher/AES GCM encrypt 672.2±15.60ns 646.6±18.46ns -3.81%
Cipher/AES KW decrypt 657.2±22.47ns 673.3±14.28ns +2.45%
Cipher/AES KW encrypt 598.7±16.72ns 596.7±19.85ns -0.33%
Cipher/AES KWP decrypt 665.9±19.86ns 698.0±18.44ns +4.82%
Cipher/AES KWP encrypt 606.0±13.44ns 625.3±19.91ns +3.18%

Copy link

Benchmark for 390df73

Click to view benchmark
Test Base PR %
Cipher/AES CBC decrypt 307.2±10.24ns 313.8±11.70ns +2.15%
Cipher/AES CBC encrypt 219.4±6.96ns 220.0±8.23ns +0.27%
Cipher/AES CCM decrypt 412.5±11.88ns 414.4±8.04ns +0.46%
Cipher/AES CCM encrypt 381.3±44.74ns 379.4±20.15ns -0.50%
Cipher/AES GCM decrypt 677.6±15.99ns 674.2±21.59ns -0.50%
Cipher/AES GCM encrypt 575.9±49.28ns 569.4±21.61ns -1.13%
Cipher/AES KW decrypt 663.9±25.16ns 655.3±15.91ns -1.30%
Cipher/AES KW encrypt 611.1±12.85ns 596.7±11.05ns -2.36%
Cipher/AES KWP decrypt 687.5±24.87ns 677.3±18.27ns -1.48%
Cipher/AES KWP encrypt 621.3±13.10ns 606.3±13.99ns -2.41%

@raoulstrackx raoulstrackx merged commit fb34177 into master May 16, 2025
11 checks passed
@raoulstrackx raoulstrackx deleted the raoul/rte-458-crl_changes branch May 16, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants