988 Commits

Author SHA1 Message Date
Download-Fritz
eedf63f106 OcInputLib: Initial import 2019-09-28 15:33:57 +02:00
Download-Fritz
4740f35ff9 OcBootManagementLib: Install AppleKeyMap if not already existant for consistency 2019-09-28 15:27:45 +02:00
Nikolai SAOUKH
39d1e2f9c7 OcSupportPkg: make explicit UINTN to UINT32 conversion
discovered by vs2019ce v16.3.1
2019-09-27 09:08:26 +03:00
Download-Fritz
f4254b50b6 OcGuardLib: Add missing UefiLib reference (required for AsciiPrint) 2019-09-26 11:40:48 +02:00
Download-Fritz
c5786afe33 OcAppleSecureBootLib: Return correct status from AppleSbVerifyWindows()
Closes https://github.com/acidanthera/bugtracker/issues/492
2019-09-26 11:40:10 +02:00
vit9696
2e5eaea326 OcConfigurationLib: Fix ordering in tools entry 2019-09-25 19:44:00 +03:00
vit9696
5c59effb9f OcBootManagementLib: Added Arguments to Tools and Entries sections 2019-09-25 18:22:22 +03:00
vit9696
c1119818ce OcConfigurationLib: Use MinKerne/MaxKernel instead of MatchKernel 2019-09-25 13:49:30 +03:00
mrmiller
6d104f5927 OcCpuLib: Move our read of the TSC Adjust MSR to only happen for CPUs that support the CPUID_TIME_STAMP_COUNTER leaf. (#14) 2019-09-11 19:53:25 +03:00
mrmiller
2a21f53c2d OcCpuLib: Calculate ARTFrequency based on the measured TSC frequency for CPUs that don't report it directly and are unknown models. Fixes issues with Skylake-SP chips and spread spectrum which causes the ART to deviate approximately 0.25% from its nominal 25 MHz core crystal clock frequency. (#13) 2019-09-10 11:46:49 +03:00
Download-Fritz
d1c565a246 OcCryptoLib: Import secure memory comparison and password verification APIs 2019-09-10 08:30:57 +02:00
Download-Fritz
357142b6e9 OcAppleSecureBootLib: Fix policy data types 2019-09-09 21:24:44 +02:00
Download-Fritz
ebd185aff8 Merge branch 'ProxyTest' 2019-09-07 17:51:34 +02:00
Download-Fritz
6c882e1cbc OcMachoLib/OcAppleKernelLib: Support Kernel Resource KEXTs 2019-09-07 17:28:36 +02:00
Download-Fritz
cd0cbc8140 OcCryptoLib: Mark Data as CONST for SHA256 2019-09-07 14:36:14 +02:00
Download-Fritz
0c6cae416d AppleSecureBootLib: Use caller-provided policy settings 2019-09-07 14:35:42 +02:00
Download-Fritz
af56e9fd28 OcAppleKernelLib: Correct status code mismatches 2019-09-07 12:21:56 +02:00
vit9696
515afb8765 OcCryptoLib: Drop suspicious cast in Sha2
closes acidanthera/bugtracker#477
2019-09-07 00:10:22 +03:00
vit9696
6e7fb0b0fa OcCryptoLib: Reformat Sha2 2019-09-07 00:08:35 +03:00
vit9696
1fbb3471d4 OcCryptoLib: Ensure no information leak in hash functions 2019-09-07 00:02:39 +03:00
vit9696
72faecb453
OcBootManagementLib: Avoid assertion on NULL free 2019-09-06 23:45:19 +03:00
vit9696
06b3ee2641
OcBootManagementLib: Do not let BootNext override arguments
Change this after security model analysis.
2019-09-06 23:43:11 +03:00
Michael Belyaev
f8f3212432 Fix comment 2019-09-06 12:40:14 +03:00
yourmother
49f2784676 OcCryptoLib: Sha2. Fix build errors
Fix negative shift count in ROT macros. Fix field name mismatch in context sha512 struct. Fix input var name mismatch in Sha512 procedure: Digest->Hash
2019-09-04 23:43:10 +03:00
yourmother
aed0074aa2 OcCryptoLib: Sha2. Fix parameter declarator in function prototype 2019-09-04 23:27:45 +03:00
yourmother
a6e53b3a63 OcCryptoLib: Sha2
Clean up
2019-09-04 21:55:39 +03:00
yourmother
ffa5f7603d OcCryptoLib: Sha2
Clean up
2019-09-04 21:54:27 +03:00
yourmother
1744d9600d OcCryptoLib: Sha2
Solve problem with big memory blocks
2019-09-04 21:46:13 +03:00
yourmother
887aed4928 OcCryptoLib: Sha2
Add note regarding int overflow and mem limit
2019-09-04 20:28:43 +03:00
yourmother
0b16565c18 OcCryptoLib: Sha2
Add Sha384 implementation
2019-09-04 20:21:58 +03:00
yourmother
3022cf4fa5 OcCryptoLib: Sha2
Use safe macro defines
2019-09-04 19:46:58 +03:00
yourmother
71e07f14c6 Switch from single sha-256 implementation to sha-2 family of hashing algorithms
Add Sha512 implementation
2019-09-04 19:40:39 +03:00
Download-Fritz
05e886b1c9 AppleBootPolicy and AppleDiskImage: Align API names with Apple's 2019-09-04 09:46:10 +02:00
vit9696
da6b7d47db OcBootManagementLib: Add Esc in addition to OPT to show picker 2019-09-04 07:45:27 +03:00
Download-Fritz
b7f0f60701 OcBootManagementLib: Support system boot entries for "Reset NVRAM" 2019-09-03 19:10:11 +02:00
Download-Fritz
3032429925 OcAppleSecureBootLib: Consume IMG4 object types 2019-09-03 19:10:11 +02:00
Download-Fritz
78df9e496d OcAppleDerLib: Strip DER encoding functionality 2019-09-03 19:10:11 +02:00
vit9696
652954ee45 OcConfigurationLib: DisableSingleUser was enabling wrong preference 2019-09-03 18:24:58 +03:00
Download-Fritz
aa5bb56640 OcBootManagementLib: Add missing type-cast
Fixes https://github.com/acidanthera/bugtracker/issues/474
2019-09-03 16:01:15 +02:00
vit9696
6e17338bc6 OcAppleBootCompatLib: More proper resolution to RT restoration 2019-09-02 11:40:27 +03:00
vit9696
896a6cc575 OcBootManagementLib: Permit CMD+S in any mode 2019-09-02 11:21:59 +03:00
vit9696
be2300f445 OcAppleBootCompatLib: Add support for DisableSingleUser quirk 2019-09-02 11:21:37 +03:00
vit9696
baa64133ee
OcBootManagementLib: Fix R key detection 2019-09-02 03:46:10 +03:00
vit9696
95a0166f58 OcBootManagementLib: Add support for more combinations 2019-09-02 02:57:08 +03:00
vit9696
7e9967181e OcConfigurationLib: Add entries for AllowNvramReset and PollAppleHotKeys 2019-09-02 02:55:21 +03:00
vit9696
96e02f4007 OcDebugLogLib: Update WaitForIndex contract 2019-09-02 02:50:16 +03:00
vit9696
7ee178c049 OcAppleBootCompatLib: Quick fix to protection restoration issues found with Sniki 2019-09-02 02:48:59 +03:00
vit9696
7432875e62 OcTimerLib: Implement delay functions 2019-09-02 02:47:19 +03:00
vit9696
8fe7bef825 OcBootManagement: Support OPT and CMD+R with picker 2019-09-01 22:33:14 +03:00
vit9696
a1fbe0757b OcAppleKeyMapLib: Fix modififer matching in ContainsKeyStrokes 2019-09-01 20:41:46 +03:00