23 #ifndef LW_INTERNAL_PYJAMASK_H
24 #define LW_INTERNAL_PYJAMASK_H
26 #include "internal-util.h"
40 #define PYJAMASK_ROUNDS 14
92 const unsigned char *input);
108 const unsigned char *input);
124 const unsigned char *input);
140 const unsigned char *input);
void pyjamask_128_setup_key(pyjamask_128_key_schedule_t *ks, const unsigned char *key)
Sets up the key schedule for the Pyjamask-128 block cipher.
Definition: internal-pyjamask.c:200
Structure of the key schedule for the Pyjamask-128 block cipher.
Definition: internal-pyjamask.h:45
void pyjamask_128_decrypt(const pyjamask_128_key_schedule_t *ks, unsigned char *output, const unsigned char *input)
Decrypts a 128-bit block with Pyjamask-128.
Definition: internal-pyjamask.c:304
#define PYJAMASK_ROUNDS
Number of rounds in the Pyjamask block cipher.
Definition: internal-pyjamask.h:40
void pyjamask_96_setup_key(pyjamask_96_key_schedule_t *ks, const unsigned char *key)
Sets up the key schedule for the Pyjamask-96 block cipher.
Definition: internal-pyjamask.c:364
Structure of the key schedule for the Pyjamask-96 block cipher.
Definition: internal-pyjamask.h:54
void pyjamask_96_encrypt(const pyjamask_96_key_schedule_t *ks, unsigned char *output, const unsigned char *input)
Encrypts a 96-bit block with Pyjamask-96.
Definition: internal-pyjamask.c:411
void pyjamask_128_encrypt(const pyjamask_128_key_schedule_t *ks, unsigned char *output, const unsigned char *input)
Encrypts a 128-bit block with Pyjamask-128.
Definition: internal-pyjamask.c:249
void pyjamask_96_decrypt(const pyjamask_96_key_schedule_t *ks, unsigned char *output, const unsigned char *input)
Decrypts a 96-bit block with Pyjamask-96.
Definition: internal-pyjamask.c:459