Commit 5f63cc0
cms: ECC KeyAgreementRecipientInfo initial support (#1579)
* cms: ecc-kari support - add kari and utils modules
* cms: ecc-kari support - add EccCmsSharedInfo
* cms: ecc-kari support - add KeyAgreementAlgorithm
* cms: ecc-kari support - add RFC details for KeyAgreementAlgorithm
* cms: ecc-kari support - add KeyWrapAlgorithm
* cms: ecc-kari support - add aes-kw dependency
* cms: ecc-kari support - move KeyWrapAlgorithm to kw module
* cms: ecc-kari support - add EcKeyEncryptionInfo
* cms: ecc-kari support - add kdf dependency
* cms: ecc-kari support - move KeyAgreeRecipientInfoBuilder to sub-module
* cms: ecc-kari support - add elliptic-curve/pkcs8
* cms: ecc-kari support - add KDF utilities
* cms: ecc-kari support - add key wrap utilities
* cms: ecc-kari support - add p256-priv.der corresponding public key
* cms: ecc-kari support - add comments and exports
* cms: ecc-kari support - add kari test module
* cms: ecc-kari support - add test for kari builder
* cms: ecc-kari support
- Re-organize imports
- Adjust comments
- Add KeyAgreeRecipientInfoBuilder build logic
- Add tests for KeyAgreementAlgorithm and EcKeyEncryptionInfo
* cms: ecc-kari support - add From<ContentEncryptionAlgorithm> for KeyWrapAlgorithm
* cms: ecc-kari support - add From<KeyWrapAlgorithm> for WrappingKey test
* cms: ecc-kari support - bring EnvelopedData in scope for doc
* cms: use aes-kw pre-release
* cms: make KeyAgreementAlgorithm a trait
* Switch to build_with_rng
* Remove unused dependency
* Fix clippy and error message in KeyAgreementAlgorithm implementation
* cms: ecc-kari support - make KeyWrapAlgorithm a trait
---------
Co-authored-by: Arthur Gautier <arthur.gautier@arista.com>
* cms: ecc-kari support - adjust CryptoRng
* cms: ecc-kari support - adjust dependencies versions
* cms: ecc-kari support - adjust patch & cargo lock file
* cms: ecc-kari support - fix cargo fmt
* cms: ecc-kari support - remove deprecated async-signature
* cms: ecc-kari support - remove unused old tests
---------
Co-authored-by: Arthur Gautier <arthur.gautier@arista.com>1 parent d933c0d commit 5f63cc0
10 files changed
Lines changed: 795 additions & 60 deletions
File tree
- cms
- src
- builder
- utils
- tests
- builder
- examples
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
70 | 78 | | |
71 | 79 | | |
72 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
48 | 58 | | |
49 | 59 | | |
50 | 60 | | |
| |||
689 | 699 | | |
690 | 700 | | |
691 | 701 | | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
716 | | - | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | 702 | | |
751 | 703 | | |
752 | 704 | | |
| |||
0 commit comments