⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 encrypt.h

📁 psp开发用的所有头文件。包含所有系统API。需要psp-gcc编译器。在www.psp-dev.com上有
💻 H
字号:
/* * PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * encrypt.h - Declarations for functions in encrypt.c * * Copyright (c) 2005 Jim Paris <jim@jtan.com> * Coypright (c) 2005 psp123 * * $Id: encrypt.h 1559 2005-12-10 01:10:11Z jim $ */#include <pspchnnlsv.h>/* Encrypt the given plaintext file, and update the message   authentication hashes in the param.sfo.  The data_filename is   usually the final component of encrypted_filename, e.g. "DATA.BIN".   See main.c for an example of usage. */int encrypt_file(const char *plaintext_filename,		 const char *encrypted_filename,		 const char *data_filename,		 const char *paramsfo_filename,		 const unsigned char *gamekey);/* Do the actual hardware encryption.     mode is 3 for saves with a cryptkey, or 1 otherwise.   data, alignedLen, cryptkey, and hash must be multiples of 0x10.   cryptkey is NULL if mode == 1.*/int encrypt_data(unsigned int mode, 		 unsigned char *data,		 int *dataLen,		 int *alignedLen,		 unsigned char *hash,		 unsigned char *cryptkey);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -