VolcaEM
92f8bc1bf8
Use better names for "Unknown"s
6 years ago
VolcaEM
70e34fdba0
Update function names
6 years ago
VolcaEM
1824af3f63
es: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/ETicket_services
6 years ago
FearlessTobi
5e9e8073a0
crypto: Make KeyManager a singleton class
Previously, we were reading the keys everytime a KeyManager object was created, causing yuzu to reread the keys file multiple hundreds of times when loading the game list.
With this change, it is only loaded once.
On my system, this decreased game list loading times by a factor of 20.
6 years ago
Lioncash
5f25db88b1
service: Remove unused RequestParser instances
These aren't used, so they should be removed to reduce compilation
warnings.
6 years ago
Lioncash
eaeb4520f7
General: Resolve warnings related to missing declarations
6 years ago
Lioncash
0ab5dd8c7f
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
FreddyFunk
c1a8d250a4
Services::ES fix casting warnings
6 years ago
Zach Hilman
fe150ae0a4
key_manager: Convert Ticket union to std::variant
7 years ago
Zach Hilman
51374d2489
es: Populate/synthesize tickets on construction
7 years ago
Zach Hilman
7b86f1b7f8
key_manager: Add structure for Ticket parsing
7 years ago
Zach Hilman
f48746b485
es: Implement ETicket GetPersonalizedTicketData (17)
Copies the raw personal ticket data into the buffer provided.
7 years ago
Zach Hilman
1558181ac8
es: Implement ETicket GetCommonTicketData (16)
Copies the raw common ticket data for the specified rights ID into the buffer provided.
7 years ago
Zach Hilman
b5863d70bb
es: Implement ETicket GetPersonalizedTicketSize (15)
Returns the size of the buffer needed to hold the personal ticket associated with the rights ID.
7 years ago
Zach Hilman
40e9ecb944
es: Implement ETicket GetCommonTicketSize (14)
Returns the size of the buffer needed to hold the common ticket associated with the rights ID.
7 years ago
Zach Hilman
b7bc1ca0a4
es: Implement ETicket ListPersonalizedTicket (12)
Returns an application-specific number of entries of personal tickets, starting at offset 0.
7 years ago
Zach Hilman
d096722c60
es: Implement ETicket ListCommonTicket (11)
Returns an application specified count of entries of common tickets, starting at offset 0.
7 years ago
Zach Hilman
df8800b719
es: Implement ETicket CountPersonalizedTicket (10)
Returns the number of personalized (console/user-unique) tickets in the KeyManager.
7 years ago
Zach Hilman
59df34708d
es: Implement ETicket CountCommonTicket (9)
Returns the number of common (non-console-unique) tickets in the KeyManager.
7 years ago
Zach Hilman
0ec000ec39
es: Implement ETicket GetTitleKey (8)
Takes a rights ID as input and returns the associated title key, if it exists.
7 years ago
Zach Hilman
73ceeea0e4
es: Implement ETicket ImportTicket (1)
Takes a ticket and certificate and installs it to the KeyManager.
7 years ago
Lioncash
72461fb8f4
es: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
397d500e33
service: Add the es service
Adds the skeleton for the ETicket service based off the information on
Switch Brew
8 years ago