Commit 7563a04f by Sebastian Renner

Fixed forkae variable name

parent ff91180d
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_192_aead_encrypt return forkae_paef_128_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_192_aead_encrypt return forkae_paef_128_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_256_aead_encrypt return forkae_paef_128_256_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_256_aead_encrypt return forkae_paef_128_256_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_288_aead_encrypt return forkae_paef_128_288_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_128_288_aead_encrypt return forkae_paef_128_288_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_64_192_aead_encrypt return forkae_paef_64_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_paef_64_192_aead_encrypt return forkae_paef_64_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_saef_128_192_aead_encrypt return forkae_saef_128_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_saef_128_192_aead_encrypt return forkae_saef_128_192_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_saef_128_256_aead_encrypt return forkae_saef_128_256_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
...@@ -10,7 +10,7 @@ int crypto_aead_encrypt ...@@ -10,7 +10,7 @@ int crypto_aead_encrypt
const unsigned char *k) const unsigned char *k)
{ {
return forkae_saef_128_256_aead_encrypt return forkae_saef_128_256_aead_encrypt
(c, clen, m, mlen, a, adlen, nsec, npub, k); (c, clen, m, mlen, ad, adlen, nsec, npub, k);
} }
int crypto_aead_decrypt int crypto_aead_decrypt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment