File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
main/java/org/openquantumsafe
test/java/org/openquantumsafe Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void printKeyEncapsulation() {
3535 "\n Length secret key (bytes): " + this .length_secret_key +
3636 "\n Length ciphertext (bytes): " + this .length_ciphertext +
3737 "\n Length shared secret (bytes): " + this .length_shared_secret +
38- "\n Length keypair seed (bytes): "
38+ "\n Length keypair seed (bytes): "
3939 + ((this .length_keypair_seed > 0 ) ? this .length_keypair_seed : "N/A" )
4040 );
4141 }
Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ public void testAllKEMs(String kem_name) {
6565 public void testKEMsWithDerand (String kem_name ) {
6666 StringBuilder sb = new StringBuilder ();
6767 sb .append (kem_name );
68- sb .append (String .format ("%1$" + (40 - kem_name .length ()) + "s" , "" ));
68+ sb .append (" (derand)" );
69+ sb .append (String .format ("%1$" + (40 - kem_name .length () - 9 ) + "s" , "" ));
6970
7071 // Create client and server
7172 KeyEncapsulation client = new KeyEncapsulation (kem_name );
You can’t perform that action at this time.
0 commit comments