Lioncash
fb13f053bb
key_manager: Correct casing of instance()
Our codebase uppercases member function names.
6 years ago
VolcaEM
2d82b7f1a1
Use better names for "Unknown"s
6 years ago
VolcaEM
bc51a9365b
Update function names
6 years ago
VolcaEM
3828aa4927
es: Update function table
This was based on Switchbrew page: https://switchbrew.org/wiki/ETicket_services
6 years ago
FearlessTobi
9f82a9a244
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
4d8a8a8033
service: Remove unused RequestParser instances
These aren't used, so they should be removed to reduce compilation
warnings.
6 years ago
Lioncash
e2d8be1ca2
General: Resolve warnings related to missing declarations
6 years ago
Lioncash
e21b6ff79d
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
FreddyFunk
7b93c4646a
Services::ES fix casting warnings
6 years ago
Zach Hilman
50d5414075
key_manager: Convert Ticket union to std::variant
7 years ago
Zach Hilman
d9ef20e5a5
es: Populate/synthesize tickets on construction
7 years ago
Zach Hilman
f8718ae779
key_manager: Add structure for Ticket parsing
7 years ago
Zach Hilman
b294b13584
es: Implement ETicket GetPersonalizedTicketData (17)
Copies the raw personal ticket data into the buffer provided.
7 years ago
Zach Hilman
c6a32dc077
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
44b0c19f6a
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
35b617b57f
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
669a21babb
es: Implement ETicket ListPersonalizedTicket (12)
Returns an application-specific number of entries of personal tickets, starting at offset 0.
7 years ago
Zach Hilman
5d6bf75296
es: Implement ETicket ListCommonTicket (11)
Returns an application specified count of entries of common tickets, starting at offset 0.
7 years ago
Zach Hilman
11f45e6015
es: Implement ETicket CountPersonalizedTicket (10)
Returns the number of personalized (console/user-unique) tickets in the KeyManager.
7 years ago
Zach Hilman
71bc2182c2
es: Implement ETicket CountCommonTicket (9)
Returns the number of common (non-console-unique) tickets in the KeyManager.
7 years ago
Zach Hilman
475a7a4446
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
f15f73a555
es: Implement ETicket ImportTicket (1)
Takes a ticket and certificate and installs it to the KeyManager.
7 years ago
Lioncash
1833498617
es: Update service function tables
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
4175712976
service: Add the es service
Adds the skeleton for the ETicket service based off the information on
Switch Brew
8 years ago