Skip to content

Commit 7e4b63d

Browse files
committed
Create credentials
Signed-off-by: Arthur Gautier <[email protected]>
1 parent d139e74 commit 7e4b63d

File tree

8 files changed

+920
-1
lines changed

8 files changed

+920
-1
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ members = ["tss-esapi", "tss-esapi-sys"]
66
p192 = { git = "https://github.com/RustCrypto/elliptic-curves.git" }
77
p224 = { git = "https://github.com/RustCrypto/elliptic-curves.git" }
88
sm2 = { git = "https://github.com/RustCrypto/elliptic-curves.git" }
9+
10+
concat-kdf = { git = "https://github.com/RustCrypto/KDFs.git" }

tss-esapi/Cargo.toml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ regex = "1.3.9"
3535
zeroize = { version = "1.5.7", features = ["zeroize_derive"] }
3636
tss-esapi-sys = { path = "../tss-esapi-sys", version = "0.5.0" }
3737
x509-cert = { version = "0.3.0-rc.1", optional = true }
38+
aes = { version = "0.9.0-rc.0", optional = true }
39+
cfb-mode = { version = "0.9.0-rc.0", optional = true }
3840
ecdsa = { version = "0.17.0-rc.0", features = [
3941
"der",
4042
"hazmat",
@@ -45,6 +47,7 @@ elliptic-curve = { version = "0.14.0-rc.5", optional = true, features = [
4547
"alloc",
4648
"pkcs8",
4749
] }
50+
hmac = { version = "0.13.0-rc.0", optional = true }
4851
p192 = { version = "0.14.0-pre", optional = true }
4952
p224 = { version = "0.14.0-pre", optional = true }
5053
p256 = { version = "0.14.0-pre.11", optional = true }
@@ -62,14 +65,20 @@ signature = { version = "3.0.0-rc.0", features = [
6265
"alloc",
6366
"digest",
6467
], optional = true }
68+
kbkdf = { version = "0.0.1", optional = true }
69+
concat-kdf = { version = "0.2.0-pre", optional = true }
6570
cfg-if = "1.0.0"
6671
strum = { version = "0.26.3", optional = true }
6772
strum_macros = { version = "0.26.4", optional = true }
6873
paste = "1.0.14"
6974
getrandom = "0.3"
75+
rand = "0.9"
7076

7177
[dev-dependencies]
78+
aes = "0.9.0-pre.2"
7279
env_logger = "0.11.5"
80+
hex-literal = "1"
81+
rsa = { version = "0.10.0-pre.3" }
7382
serde_json = "^1.0.108"
7483
sha2 = { version = "0.11.0-rc.2", features = ["oid"] }
7584
tss-esapi = { path = ".", features = [
@@ -89,16 +98,22 @@ default = ["abstraction"]
8998
generate-bindings = ["tss-esapi-sys/generate-bindings"]
9099
abstraction = ["rustcrypto"]
91100
integration-tests = ["strum", "strum_macros"]
101+
92102
rustcrypto = [
103+
"cfb-mode",
104+
"concat-kdf",
93105
"digest",
94106
"ecdsa",
95-
"elliptic-curve",
107+
"elliptic-curve/ecdh",
108+
"hmac",
109+
"kbkdf",
96110
"pkcs8",
97111
"signature",
98112
"x509-cert",
99113
]
100114
rustcrypto-full = [
101115
"rustcrypto",
116+
"aes",
102117
"p192",
103118
"p224",
104119
"p256",
@@ -111,6 +126,8 @@ rustcrypto-full = [
111126
"sm2",
112127
"sm3",
113128
]
129+
130+
rsa = ["dep:rsa", "kbkdf"]
114131
sha1 = ["dep:sha1", "rsa?/sha1"]
115132
sha2 = ["dep:sha2", "rsa?/sha2"]
116133
bundled = ["tss-esapi-sys/bundled"]

0 commit comments

Comments
 (0)