Skip to content

Commit 511518d

Browse files
committed
Add a tiny bit of README on the PKCS7 benchmarks.
1 parent 812414d commit 511518d

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

pkcs7/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ Q31HIqX6H6JYdgtwHB1ZHaq+XS0lfLEGtsCqKKqTfNC9Q62RUBx7TfPk1w==
685685
-----END CERTIFICATE-----
686686
```
687687

688+
688689
### Creating an SMIME bundle and verifying it
689690

690691
In these example cases the content will be overridden by the content found in the
@@ -705,6 +706,24 @@ Creating ECC signed bundles:
705706
./smime-verify detached-smime-created.p7s ../certs/client-ecc-cert.der content.txt
706707
```
707708

709+
710+
## PKCS7 Benchmarking
711+
712+
```
713+
./benchmark-streaming-envelop
714+
Benchmarking with content size of 10000 bytes
715+
Reading and writing files in chuncks of 1000 bytes
716+
Using AES-256 CBC encryption
717+
Using RSA-2048 key
718+
719+
Creating an encoded bundle ... 27.33 MB/s : ret = 10576
720+
Created file [test-stream-dec.p7b] with size of 10576 bytes
721+
722+
Decoding bundle [test-stream-dec.p7b], size of 10576 bytes ... 9.14 MB/s : ret = 0
723+
Processed 10576 bytes
724+
```
725+
726+
708727
## Support
709728

710729
Please email wolfSSL support at support@wolfssl.com with any questions about

0 commit comments

Comments
 (0)