b’589772f610dcdc20e6b95b7539ee6a941ac1df’
blob 983�#include
#include
#include
#include
#include
#include “err.h”
using namespace std;
/// Run the AES symmetric encryption/decryption algorithm on a buffer of bytes.
/// Note that this will do either encryption or decryption, depending on how the
/// provided CTX has been configured. After calling, the CTX cannot be used
/// again until it is reset.
///
/// @param ctx The pre-configured AES context to use for this operation
/// @param msg A buffer of bytes to encrypt/decrypt
///
/// @return A vector with the encrypted or decrypted result, or an empty
/// vector if there was an error
vector
int count) {
cout << "my_crypto.cc::aes_crypt_msg() is not implemented\n";
// These asserts are just for preventing compiler warnings:
assert(ctx);
assert(start);
assert(count != -100);
return {};
}