X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/f153e394724a6d34b1532eafed901e6648ad1b59..0cfc0f796f3128e0c375e90c901ede9dbf7d2a6c:/OneRoundIoT/OneRound/one_round_par.cpp?ds=inline diff --git a/OneRoundIoT/OneRound/one_round_par.cpp b/OneRoundIoT/OneRound/one_round_par.cpp index bd23683..8519fe2 100644 --- a/OneRoundIoT/OneRound/one_round_par.cpp +++ b/OneRoundIoT/OneRound/one_round_par.cpp @@ -144,6 +144,7 @@ void rotate(uchar *RM1, uchar *RM2, int size, int n) } + template void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, int *PboxRM, uchar *Sbox1, uchar *Sbox2, int enc, int num) { @@ -267,6 +268,7 @@ void encrypt_ctr(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, in } + template void encrypt(uchar* seq_in, uchar *seq_out, int len,uchar* RM1,int *Pbox, int *PboxRM, uchar *Sbox1, uchar *Sbox2, int debug, int num) {