You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
770 B
25 lines
770 B
/**
|
|
*--------------------------------------------------------------------\n
|
|
* HSLU T&A Hochschule Luzern Technik+Architektur \n
|
|
*--------------------------------------------------------------------\n
|
|
*
|
|
* \brief model solution for ASYD assignment crypto 01
|
|
* \file
|
|
* \author Stefano Nicora, stefano.nicora@hslu.ch
|
|
* \date 04.10.22
|
|
*
|
|
*--------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef XTEA_CBC_H_
|
|
#define XTEA_CBC_H_
|
|
#define _CRT_SECURE_NO_WARININGS
|
|
#pragma warning(disable:4996)
|
|
|
|
#include <stdint.h>
|
|
|
|
void encipher_CBC(unsigned int num_cycles, uint32_t v[2], uint32_t const k[4]);
|
|
|
|
void decipher_CBC(unsigned int num_cycles, uint32_t v[2], uint32_t const k[4]);
|
|
|
|
#endif // !XTEA_CBC_H_
|