diff options
Diffstat (limited to 'internal/stupidgcm/chacha.h')
-rw-r--r-- | internal/stupidgcm/chacha.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/internal/stupidgcm/chacha.h b/internal/stupidgcm/chacha.h deleted file mode 100644 index a5eac04..0000000 --- a/internal/stupidgcm/chacha.h +++ /dev/null @@ -1,32 +0,0 @@ -enum aeadType { - aeadTypeChacha = 1, - aeadTypeGcm = 2, -}; - -int aead_seal( - const enum aeadType cipherId, - const unsigned char* const plaintext, - const int plaintextLen, - const unsigned char* const authData, - const int authDataLen, - const unsigned char* const key, - const int keyLen, - const unsigned char* const iv, - const int ivLen, - unsigned char* const ciphertext, - const int ciphertextBufLen); - -int aead_open( - const enum aeadType cipherId, - const unsigned char* const ciphertext, - const int ciphertextLen, - const unsigned char* const authData, - const int authDataLen, - unsigned char* const tag, - const int tagLen, - const unsigned char* const key, - const int keyLen, - const unsigned char* const iv, - const int ivLen, - unsigned char* const plaintext, - const int plaintextBufLen); |