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
811 B
25 lines
811 B
/**
|
|
*--------------------------------------------------------------------\n
|
|
* HSLU T&A Hochschule Luzern Technik+Architektur \n
|
|
*--------------------------------------------------------------------\n
|
|
*
|
|
* \brief model solution for ASYD assignment crypto 02
|
|
* \file
|
|
* \author Stefano Nicora, stefano.nicora@hslu.ch
|
|
* \date 20.10.22
|
|
*
|
|
*--------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef DHKE_H_
|
|
#define DHKE_H_
|
|
#define _CRT_SECURE_NO_WARININGS
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include "DHKE.h"
|
|
#include "encryptionArithmetic.h"
|
|
|
|
void squareAndMultiply(t_encryptionArithmetic* base, t_encryptionArithmetic* exponent, t_encryptionArithmetic* modulo, t_encryptionArithmetic* result, uint32_t keyLength);
|
|
|
|
#endif // !DHKE_H_
|
|
|