Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0fee1eb

Browse files
committed
Create credentials
Signed-off-by: Arthur Gautier <arthur.gautier@arista.com>
1 parent 429bee2 commit 0fee1eb

File tree

8 files changed

+900
-3
lines changed

8 files changed

+900
-3
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
@@ -10,3 +10,5 @@ sm2 = { git = "https://github.com/RustCrypto/elliptic-curves.git" }
1010
der_derive = { git = "https://github.com/RustCrypto/formats.git" }
1111
der = { git = "https://github.com/RustCrypto/formats.git" }
1212
x509-cert = { git = "https://github.com/RustCrypto/formats.git" }
13+
14+
concat-kdf = { git = "https://github.com/RustCrypto/KDFs.git" }

‎tss-esapi/Cargo.toml‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ 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.0", 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 = ["der", "hazmat", "arithmetic", "verifying"], optional = true }
3941
elliptic-curve = { version = "0.14.0-rc.5", optional = true, features = ["alloc", "pkcs8"] }
42+
hmac = { version = "0.13.0-rc.0", optional = true }
4043
p192 = { version = "0.14.0-pre", optional = true }
4144
p224 = { version = "0.14.0-pre", optional = true }
4245
p256 = { version = "0.14.0-pre.10", optional = true }
@@ -51,14 +54,20 @@ sm2 = { version = "0.14.0-pre", optional = true }
5154
sm3 = { version = "0.5.0-pre.5", optional = true }
5255
digest = { version = "0.11.0-rc.0", optional = true }
5356
signature = { version = "3.0.0-rc.0", features = ["alloc", "digest"], optional = true}
57+
kbkdf = { version = "0.0.1", optional = true }
58+
concat-kdf = { version = "0.2.0-pre", optional = true }
5459
cfg-if = "1.0.0"
5560
strum = { version = "0.26.3", optional = true }
5661
strum_macros = { version = "0.26.4", optional = true }
5762
paste = "1.0.14"
5863
getrandom = "0.3"
64+
rand = "0.9"
5965

6066
[dev-dependencies]
67+
aes = "0.9.0-pre.2"
6168
env_logger = "0.11.5"
69+
hex-literal = "1"
70+
rsa = { version = "0.10.0-pre.3" }
6271
serde_json = "^1.0.108"
6372
sha2 = { version = "0.11.0-pre.5", features = ["oid"] }
6473
tss-esapi = { path = ".", features = [
@@ -79,8 +88,9 @@ generate-bindings = ["tss-esapi-sys/generate-bindings"]
7988
abstraction = ["rustcrypto"]
8089
integration-tests = ["strum", "strum_macros"]
8190

82-
rustcrypto = ["digest", "ecdsa", "elliptic-curve", "pkcs8", "signature", "x509-cert"]
83-
rustcrypto-full = ["rustcrypto", "p192", "p224", "p256", "p384", "p521", "rsa", "sha1", "sha2", "sha3", "sm2", "sm3"]
84-
91+
rustcrypto = ["cfb-mode", "concat-kdf", "digest", "ecdsa", "elliptic-curve/ecdh", "hmac", "kbkdf", "pkcs8", "signature", "x509-cert"]
92+
rustcrypto-full = ["rustcrypto", "aes", "p192", "p224", "p256", "p384", "p521", "rsa", "sha1", "sha2", "sha3", "sm2", "sm3"]
93+
94+
rsa = ["dep:rsa", "kbkdf"]
8595
sha1 = ["dep:sha1", "rsa?/sha1"]
8696
sha2 = ["dep:sha2", "rsa?/sha2"]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /