2016-05-18 03:38:09 +08:00
|
|
|
/*
|
2020-04-23 20:55:52 +08:00
|
|
|
* Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
|
2002-01-03 00:55:35 +08:00
|
|
|
*
|
2018-12-06 20:16:23 +08:00
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
2016-05-18 03:38:09 +08:00
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
2002-01-03 00:55:35 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <openssl/opensslv.h>
|
|
|
|
#include <openssl/aes.h>
|
2019-09-28 06:45:40 +08:00
|
|
|
#include "aes_local.h"
|
2002-01-03 00:55:35 +08:00
|
|
|
|
2019-12-06 01:09:49 +08:00
|
|
|
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
2015-01-22 11:40:55 +08:00
|
|
|
const char *AES_options(void)
|
|
|
|
{
|
2019-12-06 01:09:49 +08:00
|
|
|
# ifdef FULL_UNROLL
|
2015-01-22 11:40:55 +08:00
|
|
|
return "aes(full)";
|
2019-12-06 01:09:49 +08:00
|
|
|
# else
|
2015-01-22 11:40:55 +08:00
|
|
|
return "aes(partial)";
|
2019-12-06 01:09:49 +08:00
|
|
|
# endif
|
2002-01-03 00:55:35 +08:00
|
|
|
}
|
2019-12-06 01:09:49 +08:00
|
|
|
#endif
|