Skip to content

Commit 3600951

Browse files
committed
[pentest] Use general cryptolib target
Use the crypto target as a dependency for the pentest framework instead of the separate targets. Signed-off-by: Siemen Dhooghe <[email protected]>
1 parent 3424e7f commit 3600951

File tree

2 files changed

+4
-26
lines changed
  • sw/device/tests/penetrationtests/firmware

2 files changed

+4
-26
lines changed

sw/device/tests/penetrationtests/firmware/fi/BUILD

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,7 @@ cc_library(
7676
"//sw/device/lib/base:math",
7777
"//sw/device/lib/base:memory",
7878
"//sw/device/lib/base:status",
79-
"//sw/device/lib/crypto/impl:ecc_p256",
80-
"//sw/device/lib/crypto/impl:ecc_p384",
81-
"//sw/device/lib/crypto/impl:integrity",
82-
"//sw/device/lib/crypto/impl:key_transport",
83-
"//sw/device/lib/crypto/impl:keyblob",
84-
"//sw/device/lib/crypto/impl:rsa",
85-
"//sw/device/lib/crypto/impl:sha2",
79+
"//sw/device/lib/crypto",
8680
"//sw/device/lib/crypto/include:crypto_hdrs",
8781
"//sw/device/lib/crypto/include:datatypes",
8882
"//sw/device/lib/runtime:log",
@@ -103,12 +97,7 @@ cc_library(
10397
deps = [
10498
"//sw/device/lib/base:memory",
10599
"//sw/device/lib/base:status",
106-
"//sw/device/lib/crypto/impl:aes",
107-
"//sw/device/lib/crypto/impl:aes_gcm",
108-
"//sw/device/lib/crypto/impl:drbg",
109-
"//sw/device/lib/crypto/impl:hmac",
110-
"//sw/device/lib/crypto/impl:integrity",
111-
"//sw/device/lib/crypto/impl:keyblob",
100+
"//sw/device/lib/crypto",
112101
"//sw/device/lib/crypto/include:crypto_hdrs",
113102
"//sw/device/lib/crypto/include:datatypes",
114103
"//sw/device/lib/runtime:log",

sw/device/tests/penetrationtests/firmware/sca/BUILD

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,7 @@ cc_library(
7373
"//sw/device/lib/base:math",
7474
"//sw/device/lib/base:memory",
7575
"//sw/device/lib/base:status",
76-
"//sw/device/lib/crypto/impl:ecc_p256",
77-
"//sw/device/lib/crypto/impl:ecc_p384",
78-
"//sw/device/lib/crypto/impl:integrity",
79-
"//sw/device/lib/crypto/impl:key_transport",
80-
"//sw/device/lib/crypto/impl:keyblob",
81-
"//sw/device/lib/crypto/impl:rsa",
82-
"//sw/device/lib/crypto/impl:sha2",
76+
"//sw/device/lib/crypto",
8377
"//sw/device/lib/crypto/include:crypto_hdrs",
8478
"//sw/device/lib/crypto/include:datatypes",
8579
"//sw/device/lib/runtime:log",
@@ -100,12 +94,7 @@ cc_library(
10094
deps = [
10195
"//sw/device/lib/base:memory",
10296
"//sw/device/lib/base:status",
103-
"//sw/device/lib/crypto/impl:aes",
104-
"//sw/device/lib/crypto/impl:aes_gcm",
105-
"//sw/device/lib/crypto/impl:drbg",
106-
"//sw/device/lib/crypto/impl:hmac",
107-
"//sw/device/lib/crypto/impl:integrity",
108-
"//sw/device/lib/crypto/impl:keyblob",
97+
"//sw/device/lib/crypto",
10998
"//sw/device/lib/crypto/include:crypto_hdrs",
11099
"//sw/device/lib/crypto/include:datatypes",
111100
"//sw/device/lib/runtime:log",

0 commit comments

Comments
 (0)