@@ -32,9 +32,13 @@ num-derive = "0.4.2"
3232num-traits = " 0.2.12"
3333hostname-validator = " 1.1.0"
3434regex = " 1.3.9"
35- zeroize = { version = " 1.5.7 " , features = [" zeroize_derive" ] }
35+ zeroize = { version = " 1.8.2 " , features = [" zeroize_derive" ] }
3636tss-esapi-sys = { path = " ../tss-esapi-sys" , version = " 0.5.0" }
3737x509-cert = { version = " 0.3.0-rc.1" , optional = true }
38+ aes = { version = " 0.9.0-rc.1" , optional = true }
39+ byte-strings = { version = " 0.3.1" , optional = true }
40+ cipher = { version = " 0.5.0-rc.1" , optional = true }
41+ cfb-mode = { version = " 0.9.0-rc.1" , optional = true }
3842ecdsa = { version = " 0.17.0-rc.0" , features = [
3943 " der" ,
4044 " hazmat" ,
@@ -45,6 +49,7 @@ elliptic-curve = { version = "0.14.0-rc.15", optional = true, features = [
4549 " alloc" ,
4650 " pkcs8" ,
4751] }
52+ hmac = { version = " 0.13.0-rc.0" , optional = true }
4853p192 = { version = " 0.14.0-pre" , optional = true }
4954p224 = { version = " 0.14.0-pre" , optional = true }
5055p256 = { version = " 0.14.0-pre.11" , optional = true }
@@ -62,14 +67,20 @@ signature = { version = "3.0.0-rc.0", features = [
6267 " alloc" ,
6368 " digest" ,
6469], optional = true }
70+ kbkdf = { version = " 0.0.1" , optional = true }
71+ concat-kdf = { version = " 0.2.0-pre" , optional = true }
6572cfg-if = " 1.0.0"
6673strum = { version = " 0.26.3" , optional = true }
6774strum_macros = { version = " 0.26.4" , optional = true }
6875paste = " 1.0.14"
6976getrandom = " 0.3"
77+ rand = " 0.9"
7078
7179[dev-dependencies ]
80+ aes = " 0.9.0-pre.2"
7281env_logger = " 0.11.5"
82+ hex-literal = " 1"
83+ rsa = { version = " 0.10.0-pre.3" }
7384serde_json = " ^1.0.108"
7485sha2 = { version = " 0.11.0-rc.2" , features = [" oid" ] }
7586tss-esapi = { path = " ." , features = [
@@ -89,16 +100,24 @@ default = ["abstraction"]
89100generate-bindings = [" tss-esapi-sys/generate-bindings" ]
90101abstraction = [" rustcrypto" ]
91102integration-tests = [" strum" , " strum_macros" ]
103+
92104rustcrypto = [
105+ " byte-strings" ,
106+ " cfb-mode" ,
107+ " cipher" ,
108+ " concat-kdf" ,
93109 " digest" ,
94110 " ecdsa" ,
95- " elliptic-curve" ,
111+ " elliptic-curve/ecdh" ,
112+ " hmac" ,
113+ " kbkdf" ,
96114 " pkcs8" ,
97115 " signature" ,
98116 " x509-cert" ,
99117]
100118rustcrypto-full = [
101119 " rustcrypto" ,
120+ " aes" ,
102121 " p192" ,
103122 " p224" ,
104123 " p256" ,
@@ -111,6 +130,8 @@ rustcrypto-full = [
111130 " sm2" ,
112131 " sm3" ,
113132]
133+
134+ rsa = [" dep:rsa" , " kbkdf" ]
114135sha1 = [" dep:sha1" , " rsa?/sha1" ]
115136sha2 = [" dep:sha2" , " rsa?/sha2" ]
116137bundled = [" tss-esapi-sys/bundled" ]
0 commit comments