diff options
author | vnugent <public@vaughnnugent.com> | 2024-04-18 00:28:51 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-04-18 00:28:51 -0400 |
commit | d09c6c1bd5da3e2d79351daeba304ca99976a726 (patch) | |
tree | d7e0057bb8546fcbee06e0f758906b3bd3397fa5 /tests/test.c | |
parent | 54e06ada7d624ed0d28c6a6db04a149708841bf8 (diff) |
refactor!: Pushing what I have to dev
Diffstat (limited to 'tests/test.c')
-rw-r--r-- | tests/test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test.c b/tests/test.c index 8d3e115..fe7659c 100644 --- a/tests/test.c +++ b/tests/test.c @@ -15,7 +15,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License -* along with NativeHeapApi. If not, see http://www.gnu.org/licenses/. +* along with noscrypt. If not, see http://www.gnu.org/licenses/. */ #include <stdio.h> @@ -280,7 +280,7 @@ static int TestPublicApiArgumentValidation(void) uint8_t hmacKeyOut[NC_HMAC_KEY_SIZE]; uint8_t nonce[NC_ENCRYPTION_NONCE_SIZE]; - NCCryptoData cryptoData; + NCEncryptionArgs cryptoData; cryptoData.dataSize = sizeof(zero32); cryptoData.inputData = zero32; cryptoData.outputData = sig64; /*just an arbitrary writeable buffer*/ @@ -467,7 +467,7 @@ static int TestCorrectEncryption(NCContext* context) uint8_t cipherText[TEST_ENC_DATA_SIZE]; uint8_t decryptedText[TEST_ENC_DATA_SIZE]; - NCCryptoData cryptoData; + NCEncryptionArgs cryptoData; NCMacVerifyArgs macVerifyArgs; /* setup the crypto data structure */ |