MikeBeaton
7d0e3d4039
Various: Static string optimisations
2022-05-17 08:50:08 +01:00
MikeBeaton
19ef39ecf5
BootEntryProtocol: Add system action and hotkey support; implement Reset NVRAM and Toggle SIP as drivers
2022-05-16 22:23:49 +01:00
MikeBeaton
bcd2558686
OcAudio: Convert from int ids to string ids
2022-05-05 04:33:54 +01:00
PMheart
5c5056694a
Codestyle: Apply Uncrustify patch
2022-05-03 13:12:55 +02:00
PMheart
a825d000be
OcAppleKernelLib: Correct CustomPciSerialDevice patch, thanks @joevt
...
Reference: https://github.com/acidanthera/bugtracker/issues/2003
2022-05-03 13:11:01 +02:00
PMheart
11232d53f5
Codestyle: Fixed by Uncrustify
2022-04-25 21:30:42 +02:00
PMheart
56f5ec84b8
Codestyle: Apply codestyle changes with Uncrustify
2022-04-25 19:34:46 +02:00
Marvin Häuser
61e7d0c977
OcCryptoLib: Centralise dynamic scratch buffer allocation
2022-04-25 19:34:05 +02:00
Marvin Häuser
9d152dc686
OcCryptoLib: Fix potential Mont BN overflows
2022-04-25 19:32:19 +02:00
Marvin Häuser
409544921b
OcCryptoLib: Don't pack internally aligned structs
2022-04-25 19:28:47 +02:00
PMheart
f7c1a3d483
OcAppleKernelLib: Fix codestyle
2022-04-25 15:44:28 +02:00
PMheart
228f8ca1fb
Codestyle: Apply codestyle changes with Uncrustify
2022-04-25 14:51:15 +02:00
PMheart
ad16b282ea
OcAppleKernelLib: Fixed ExtendBTFeatureFlags quirk on newer macOS versions, thx @lvs1974
2022-04-22 12:27:30 +02:00
PMheart
6d0e6f5205
Docs: Add notes about ForceAquantiaEthernet compatibility
2022-04-16 23:39:36 +02:00
PMheart
097e046050
OcAppleKernelLib: Add missing CONST
2022-04-14 23:14:27 +02:00
PMheart
1ca2a9553f
OcAppleKernelLib: Added CustomPciSerialDevice quirk ( #331 )
2022-04-14 12:58:37 +02:00
PMheart
6825e9a449
OcMainLib: Read and set serial PCD values from config ( #330 )
2022-04-04 23:43:11 +02:00
PMheart
95596f336a
Docs: Fix SetApfsTrimTimeout description
2022-04-04 20:20:33 +02:00
PMheart
8f60fd29d8
OcAppleKernelLib: Fix mApfsTimeoutPatch
2022-04-04 19:11:17 +02:00
PMheart
155321ac91
OcAppleKernelLib: Cleanup ( #328 )
2022-04-02 12:11:44 +03:00
PMheart
fb28ce2cae
OcAppleKernelLib: Prefer Shikumo's Aquantia patch
2022-03-21 13:53:18 +01:00
Andrey1970AppleLife
2e4f3bbb7c
DataBase: Updated builtin firmware versions
2022-03-21 00:48:09 +03:00
PMheart
0605cdaa74
OcAppleKernelLib: Adopt Aquantia patch by Shikumo
2022-03-20 18:22:38 +01:00
PMheart
a4b0c47f13
OcAppleKernelLib: Fix version matching
2022-03-20 12:55:46 +01:00
vit9696
093dd76d59
OcCryptoLib: Trim spaces
2022-03-20 14:46:14 +03:00
PMheart
41882d980b
OcAppleKernelLib: Added ForceAquantiaEthernet quirk
2022-03-20 12:32:47 +01:00
vit9696
719507f76e
Utilities: Switch to python 3 b default
...
closes acidanthera/bugtracker#1980
2022-03-20 14:09:54 +03:00
PMheart
ae7198101c
OcDebugLibProtocol: Early log preservation support ( #327 )
2022-03-09 16:15:58 +01:00
vit9696
6fdd6dab9b
OcCryptoLib: Avoid memory allocation but in RsaVerifySigDataFromData
2022-03-06 17:19:08 +03:00
vit9696
19cefe626c
OcCryptoLib: Use caller-provided buffer for BigNumPowMod
2022-03-06 16:40:55 +03:00
vit9696
59da77c87f
OcCryptoLib: Use caller-provided scratch in BigNumCalculateMontParams
2022-03-06 16:33:34 +03:00
vit9696
1da000afab
OcCryptoLib: Use single buffer in BigNumCalculateMontParams
2022-03-06 16:10:22 +03:00
vit9696
d12c413664
OcCryptoLib: Use scratch buffer in BN words for simplicity
2022-03-06 15:58:32 +03:00
vit9696
d9e2c49b82
OcCryptoLib: Kill heap optimisation in BigNumCalculateMontParams
...
This optimisation once again gives us nothing on realistic values
due to roughly uniform distribution.
2022-03-06 15:48:26 +03:00
vit9696
8d9d387e38
OcCryptoLib: Drop BigNumMod memory allocation
...
BigNumCalculateMontParams previously did not check BigNumMod for memory
allocation failure anyway, which was thus harder to diagnose due to
the Montgomery Inverse of N still returning correctly.
2022-03-06 15:25:02 +03:00
vit9696
0f22e66dfb
OcCryptoLib: Drop pool memory usage optimisation in BigNumMod
...
Currently BigNumMod does not allocate memory for A words with leading
zeroes. For us words are 8 bytes. When doing RSA computations with
proper keys 8 zero bytes are nearly impossible and 16 zero bytes are
completely impossible. Avoiding this optimisation does not change
library behaviour for nearly all inputs but provides simpler guarantees
about memory usage and simplifies testing.
2022-03-06 15:14:58 +03:00
vit9696
8551daca79
OcCryptoLib: Improve portability
2022-03-06 11:49:16 +03:00
PMheart
c91eebf3f4
Revert "OcAppleEventLib: Silence Coverity warning"
...
This reverts commit 7c695007ae70d53a21f12f5cd62452cad9a95894.
2022-03-03 12:58:46 +01:00
Savva Mitrofanov
5ef2e07f3b
OcDebugSerialSerial: Rename to OcDebugLibSerial
...
Fix build
2022-03-03 13:16:52 +06:00
a31user
4ece428757
OcHdaDevicesLib: Add missing CX8200 and CX20724 ( #326 ), thanks @a31user
2022-03-02 21:55:04 +01:00
PMheart
4c995bb1ba
OcDebugLogLib: Split into OcLogAggregatorLib and OcDebugLibProtocol ( #325 )
2022-03-02 15:04:20 +03:00
PMheart
7c695007ae
OcAppleEventLib: Silence Coverity warning
2022-03-02 12:33:45 +01:00
PMheart
89f40f6ea8
OcAppleKernelLib: Fix variable initialisation
2022-03-01 21:55:02 +01:00
MikeBeaton
5e2d766700
OcMainLib: typo
2022-03-01 10:28:38 +00:00
MikeBeaton
83c880b4db
OpenCoreUefi: Fix code style space after cast
2022-02-27 13:25:33 +00:00
MikeBeaton
97c1f841f1
OpenLinuxBoot: Boot from standalone /boot partition
2022-02-27 09:00:41 +00:00
PMheart
5ec3ece4d7
OcDebugLogLib: Log filtering support ( #322 )
2022-02-25 23:37:05 +01:00
PMheart
43bd1d6bdd
OcMainLib: Update kext blocker logs
2022-02-16 11:33:42 +01:00
Savva Mitrofanov
0c0aa62694
OcCryptoLib: Fixed rbx overriding in TryEnableAvx
...
cpuid call writes into eax,ebx,ecx,edx registers, so it overwrites rbx which causes undefined behavior in subsequent execution
2022-02-15 15:18:03 +06:00
vit9696
ad4414cf3b
OcAppleKernelLib: Added global MSR 35h fix to ProvideCurrentCpuInfo
...
This allows `-cpu host` in KVM
2022-02-12 04:37:31 +03:00