Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BouncyCastle-JCA/src/SecretKeySpec.crysl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ CONSTRAINTS
neverTypeOf[keyMaterial, java.lang.String];

REQUIRES
preparedKeyMaterial[keyMaterial];
preparedKeyMaterial[keyMaterial] || randomized[keyMaterial];

ENSURES
speccedKey[this, _];
generatedKey[this, keyAlgorithm];


2 changes: 1 addition & 1 deletion JavaCryptographicArchitecture/src/SecretKeySpec.crysl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CONSTRAINTS
neverTypeOf[keyMaterial, java.lang.String];

REQUIRES
preparedKeyMaterial[keyMaterial];
preparedKeyMaterial[keyMaterial] || randomized[keyMaterial];

ENSURES
speccedKey[this, _];
Expand Down
Loading