romulus/Romulus-M/decrypt.c

26 lines
719 B
C
Raw Permalink Normal View History

/*
* Date: 21 April 2021
* Contact: Romulus Team (Mustafa Khairallah - mustafa.khairallah@ntu.edu.sg)
* Romulus-N as compliant with the Romulus v1.3 specifications.
* This file icludes crypto_aead_decrypt()
* It superseeds earlier versions developed by Mustafa Khairallah and maintained
* by Mustafa Khairallah, Thomas Peyrin and Kazuhiko Minematsu
*/
#include "crypto_aead.h"
#include "romulus_m.h"
int crypto_aead_decrypt(
unsigned char *m,unsigned long long *mlen,
unsigned char *nsec,
const unsigned char *c,unsigned long long clen,
const unsigned char *ad,unsigned long long adlen,
const unsigned char *npub,
const unsigned char *k
)
{
return romulus_m_decrypt(m,mlen,nsec,c,clen,ad,adlen,npub,k);
}