1 /*********************************************************************
2 * Copyright (c) 2016 Pieter Wuille *
3 * Distributed under the MIT software license, see the accompanying *
4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5 **********************************************************************/
29 void AES128_init(AES128_ctx
* ctx
, const unsigned char* key16
);
30 void AES128_encrypt(const AES128_ctx
* ctx
, size_t blocks
, unsigned char* cipher16
, const unsigned char* plain16
);
31 void AES128_decrypt(const AES128_ctx
* ctx
, size_t blocks
, unsigned char* plain16
, const unsigned char* cipher16
);
33 void AES192_init(AES192_ctx
* ctx
, const unsigned char* key24
);
34 void AES192_encrypt(const AES192_ctx
* ctx
, size_t blocks
, unsigned char* cipher16
, const unsigned char* plain16
);
35 void AES192_decrypt(const AES192_ctx
* ctx
, size_t blocks
, unsigned char* plain16
, const unsigned char* cipher16
);
37 void AES256_init(AES256_ctx
* ctx
, const unsigned char* key32
);
38 void AES256_encrypt(const AES256_ctx
* ctx
, size_t blocks
, unsigned char* cipher16
, const unsigned char* plain16
);
39 void AES256_decrypt(const AES256_ctx
* ctx
, size_t blocks
, unsigned char* plain16
, const unsigned char* cipher16
);