Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
thomwiggers committed Oct 16, 2023
1 parent f3c7530 commit 12edfcb
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pqcrypto-template/pqcrypto/examples/keygen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::File;
use std::io::prelude::*;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;


fn main() -> std::io::Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion pqcrypto-template/pqcrypto/examples/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::{self, File};
use std::io::prelude::*;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;

fn parseargs() -> (String, String, String) {
let args: Vec<String> = std::env::args().collect();
Expand Down
2 changes: 1 addition & 1 deletion pqcrypto-template/pqcrypto/examples/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fs;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;

fn parseargs() -> (String, String, String) {
let args: Vec<String> = std::env::args().collect();
Expand Down
2 changes: 1 addition & 1 deletion pqcrypto/examples/keygen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::File;
use std::io::prelude::*;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;

fn main() -> std::io::Result<()> {
let mut pubfile = File::create("publickey.bin")?;
Expand Down
2 changes: 1 addition & 1 deletion pqcrypto/examples/signer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::fs::{self, File};
use std::io::prelude::*;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;

fn parseargs() -> (String, String, String) {
let args: Vec<String> = std::env::args().collect();
Expand Down
2 changes: 1 addition & 1 deletion pqcrypto/examples/verifier.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::fs;

use pqcrypto::prelude::*;
use pqcrypto::sign::sphincsharaka128frobust::*;
use pqcrypto::sign::dilithium2::*;

fn parseargs() -> (String, String, String) {
let args: Vec<String> = std::env::args().collect();
Expand Down

0 comments on commit 12edfcb

Please sign in to comment.