@@ -283228,6 +283228,7 @@ aegis_init(void)
283228
283228
return 0;
283229
283229
}
283230
283230
283231
+ #if 0
283231
283232
#if defined(_MSC_VER)
283232
283233
# pragma section(".CRT$XCU", read)
283233
283234
static void __cdecl _do_aegis_init(void);
@@ -283241,6 +283242,7 @@ _do_aegis_init(void)
283241
283242
{
283242
283243
(void) aegis_init();
283243
283244
}
283245
+ #endif
283244
283246
/*** End of #include "common/common.c" ***/
283245
283247
283246
283248
/* #include "common/cpu.c" */
@@ -284030,6 +284032,10 @@ softaes_block_encrypt(const SoftAesBlock block, const SoftAesBlock rk)
284030
284032
/*** End of #include "common/softaes.c" ***/
284031
284033
284032
284034
284035
+ #if defined(__GNUC__)
284036
+ # pragma GCC push_options
284037
+ #endif
284038
+
284033
284039
/* AEGIS 128 L */
284034
284040
/* #include "aegis128l/implementations.h" */
284035
284041
/*** Begin of #include "aegis128l/implementations.h" ***/
@@ -318709,6 +318715,10 @@ aegis256x4_pick_best_implementation(void)
318709
318715
}
318710
318716
/*** End of #include "aegis256x4/aegis256x4.c" ***/
318711
318717
318718
+
318719
+ #if defined(__GNUC__)
318720
+ # pragma GCC pop_options
318721
+ #endif
318712
318722
/*** End of #include "aegis/libaegis.c" ***/
318713
318723
318714
318724
/* #include "argon2/libargon2.c" */
@@ -326573,12 +326583,12 @@ sqlite3mcFreeCodecParameterTable(void* ptr)
326573
326583
326574
326584
static const CipherDescriptor mcSentinelDescriptor =
326575
326585
{
326576
- "", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
326586
+ "", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
326577
326587
};
326578
326588
326579
326589
static const CipherDescriptor mcDummyDescriptor =
326580
326590
{
326581
- "@dummy@", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
326591
+ "@dummy@", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
326582
326592
};
326583
326593
326584
326594
static CipherDescriptor globalCodecDescriptorTable[CODEC_COUNT_MAX + 1];
@@ -353762,6 +353772,7 @@ sqlite3mc_initialize(const char* arg)
353762
353772
#if HAVE_CIPHER_AEGIS
353763
353773
if (rc == SQLITE_OK)
353764
353774
{
353775
+ aegis_init();
353765
353776
rc = sqlite3mcRegisterCipher(&mcAegisDescriptor, mcAegisParams, (CODEC_TYPE_AEGIS == CODEC_TYPE));
353766
353777
}
353767
353778
#endif
0 commit comments