Skip to content

Commit 69632a6

Browse files
Added informative comment to test
Signed-off-by: Jacob Prud'homme <[email protected]>
1 parent 50f84a5 commit 69632a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cryptoki/tests/basic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,7 @@ fn sha256_digest_multipart_with_key() -> TestResult {
13511351
let key_template = vec![
13521352
Attribute::Token(true),
13531353
Attribute::ValueLen((256 / 8).into()),
1354+
// Key must be non-sensitive and extractable to get its bytes and digest them directly, for comparison
13541355
Attribute::Sensitive(false),
13551356
Attribute::Extractable(true),
13561357
];

0 commit comments

Comments
 (0)