Closed tarcieri closed 3 months ago
Adds support for detecting Data Independent Timing (DIT) support which is available on Apple silicon (e.g. M1/M2/M3).
This uses the hw.optional.arm.FEAT_DIT sysctl for detection.
hw.optional.arm.FEAT_DIT
For more information, see:
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Enable-DIT-for-constant-time-cryptographic-operations
Note: I locally verified this was able to detect DIT on an M1
Adds support for detecting Data Independent Timing (DIT) support which is available on Apple silicon (e.g. M1/M2/M3).
This uses the
hw.optional.arm.FEAT_DIT
sysctl for detection.For more information, see:
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms#Enable-DIT-for-constant-time-cryptographic-operations