From 32a90334bb366b4ef14b96055b6b91bcc1d5aafe Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 17 Jul 2019 20:58:46 -0700 Subject: [PATCH] spl: rsa service does not need a dispatch table --- stratosphere/spl/source/spl_rsa_service.hpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/stratosphere/spl/source/spl_rsa_service.hpp b/stratosphere/spl/source/spl_rsa_service.hpp index aba63d509..a41bf7f79 100644 --- a/stratosphere/spl/source/spl_rsa_service.hpp +++ b/stratosphere/spl/source/spl_rsa_service.hpp @@ -31,27 +31,6 @@ namespace sts::spl { /* Actual commands. */ virtual Result DecryptRsaPrivateKeyDeprecated(OutPointerWithClientSize dst, InPointer src, AccessKey access_key, KeySource key_source, u32 option); virtual Result DecryptRsaPrivateKey(OutPointerWithClientSize dst, InPointer src, AccessKey access_key, KeySource key_source); - public: - DEFINE_SERVICE_DISPATCH_TABLE { - MAKE_SERVICE_COMMAND_META(RsaService, GetConfig), - MAKE_SERVICE_COMMAND_META(RsaService, ExpMod), - MAKE_SERVICE_COMMAND_META(RsaService, SetConfig), - MAKE_SERVICE_COMMAND_META(RsaService, GenerateRandomBytes), - MAKE_SERVICE_COMMAND_META(RsaService, IsDevelopment), - MAKE_SERVICE_COMMAND_META(RsaService, SetBootReason, FirmwareVersion_300), - MAKE_SERVICE_COMMAND_META(RsaService, GetBootReason, FirmwareVersion_300), - MAKE_SERVICE_COMMAND_META(RsaService, GenerateAesKek), - MAKE_SERVICE_COMMAND_META(RsaService, LoadAesKey), - MAKE_SERVICE_COMMAND_META(RsaService, GenerateAesKey), - MAKE_SERVICE_COMMAND_META(RsaService, DecryptAesKey), - MAKE_SERVICE_COMMAND_META(RsaService, CryptAesCtr), - MAKE_SERVICE_COMMAND_META(RsaService, ComputeCmac), - MAKE_SERVICE_COMMAND_META(RsaService, AllocateAesKeyslot, FirmwareVersion_200), - MAKE_SERVICE_COMMAND_META(RsaService, FreeAesKeyslot, FirmwareVersion_200), - MAKE_SERVICE_COMMAND_META(RsaService, GetAesKeyslotAvailableEvent, FirmwareVersion_200), - MAKE_SERVICE_COMMAND_META(RsaService, DecryptRsaPrivateKeyDeprecated, FirmwareVersion_400, FirmwareVersion_400), - MAKE_SERVICE_COMMAND_META(RsaService, DecryptRsaPrivateKey, FirmwareVersion_500), - }; }; }