Skip to content

Commit ae69679

Browse files
committed
Create credentials
Signed-off-by: Arthur Gautier <arthur.gautier@arista.com>
1 parent 8440679 commit ae69679

File tree

8 files changed

+1042
-1
lines changed

8 files changed

+1042
-1
lines changed

Cargo.lock

Lines changed: 114 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tss-esapi/Cargo.toml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ regex = "1.3.9"
3535
zeroize = { version = "1.8.2", features = ["zeroize_derive"] }
3636
tss-esapi-sys = { path = "../tss-esapi-sys", version = "0.6.0-alpha.1" }
3737
x509-cert = { version = "0.3.0-rc.1", optional = true }
38+
aes = { version = "0.9.0-rc.2", optional = true }
39+
byte-strings = { version = "0.3.1", optional = true }
40+
cipher = { version = "0.5.0-rc.2", optional = true }
41+
cfb-mode = { version = "0.9.0-rc.1", optional = true }
3842
ecdsa = { version = "0.17.0-rc.8", features = [
3943
"algorithm",
4044
"der",
@@ -44,6 +48,7 @@ elliptic-curve = { version = "0.14.0-rc.16", optional = true, features = [
4448
"alloc",
4549
"pkcs8",
4650
] }
51+
hmac = { version = "0.13.0-rc.2", optional = true }
4752
p192 = { version = "0.14.0-rc.0", optional = true }
4853
p224 = { version = "0.14.0-rc.0", optional = true }
4954
p256 = { version = "0.14.0-rc.0", optional = true }
@@ -61,14 +66,20 @@ signature = { version = "3.0.0-rc.5", features = [
6166
"alloc",
6267
"digest",
6368
], optional = true }
69+
kbkdf = { version = "0.0.1", optional = true }
70+
one-step-kdf = { version = "0.1.0-rc.0", optional = true }
6471
cfg-if = "1.0.0"
6572
strum = { version = "0.26.3", optional = true }
6673
strum_macros = { version = "0.26.4", optional = true }
6774
paste = "1.0.14"
6875
getrandom = "0.3"
76+
rand = "0.10.0-rc.1"
6977

7078
[dev-dependencies]
79+
aes = "0.9.0-pre.2"
7180
env_logger = "0.11.5"
81+
hex-literal = "1"
82+
rsa = { version = "0.10.0-pre.3" }
7283
serde_json = "^1.0.108"
7384
sha2 = { version = "0.11.0-rc.2", features = ["oid"] }
7485
tss-esapi = { path = ".", features = [
@@ -88,16 +99,24 @@ default = ["abstraction"]
8899
generate-bindings = ["tss-esapi-sys/generate-bindings"]
89100
abstraction = ["rustcrypto"]
90101
integration-tests = ["strum", "strum_macros"]
102+
91103
rustcrypto = [
104+
"byte-strings",
105+
"cfb-mode",
106+
"cipher",
107+
"one-step-kdf",
92108
"digest",
93109
"ecdsa",
94-
"elliptic-curve",
110+
"elliptic-curve/ecdh",
111+
"hmac",
112+
"kbkdf",
95113
"pkcs8",
96114
"signature",
97115
"x509-cert",
98116
]
99117
rustcrypto-full = [
100118
"rustcrypto",
119+
"aes",
101120
"p192",
102121
"p224",
103122
"p256",
@@ -110,6 +129,8 @@ rustcrypto-full = [
110129
"sm2",
111130
"sm3",
112131
]
132+
133+
rsa = ["dep:rsa", "kbkdf"]
113134
sha1 = ["dep:sha1", "rsa?/sha1"]
114135
sha2 = ["dep:sha2", "rsa?/sha2"]
115136
bundled = ["tss-esapi-sys/bundled"]

0 commit comments

Comments
 (0)