mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 18:59:04 +02:00
amctrl.prx's PGD (BB) MAC and cipher functions, for kernel modules that import them: the firmware's POPS manager checks and decrypts a store PS1 game's disc image with them. libkirk's amctrl.c reimplements the module, and its MAC_KEY and CIPHER_KEY have the layout of the contexts the callers keep in their own memory, so those are used in place. 6.60 NIDs.
18 lines
662 B
C
18 lines
662 B
C
// Copyright (c) 2012- PPSSPP Project.
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, version 2.0 or later versions.
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License 2.0 for more details.
|
|
|
|
// A copy of the GPL 2.0 should have been included with the program.
|
|
// If not, see http://www.gnu.org/licenses/
|
|
|
|
#pragma once
|
|
|
|
void Register_sceAmctrl_driver();
|