We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ce1680 commit 30facf2Copy full SHA for 30facf2
cryptoki/tests/basic.rs
@@ -1682,7 +1682,7 @@ fn sha256_digest_multipart_with_key() -> TestResult {
1682
let key_template = vec![
1683
Attribute::Token(true),
1684
Attribute::Private(false),
1685
- Attribute::ValueLen((256 / 8).into()),
+ Attribute::ValueLen((AES128_BLOCK_SIZE as u64).into()),
1686
// Key must be non-sensitive and extractable to get its bytes and digest them directly, for comparison
1687
Attribute::Sensitive(false),
1688
Attribute::Extractable(true),
0 commit comments