crypto: Implement BigNum/ExpMod

This commit is contained in:
Michael Scire committed 2020-02-23 06:51:32 -08:00
1 parent 981166783b
commit d675aa3414
14 files changed
+1086 -33

No files matched your search

@@ -24,10 +24,8 @@ namespace ams::svc {
/* TODO: C++ style handle? */
#ifdef ATMOSPHERE_IS_STRATOSPHERE
using Handle = ::Handle;
#elif defined ATMOSPHERE_IS_MESOSPHERE
using Handle = u32;
#else
#error "Unknown target for svc::Handle"
using Handle = u32;
#endif
static constexpr size_t MaxWaitSynchronizationHandleCount = 0x40;