LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Functions | Variables
xb360.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <pci/io.h>
#include <time/time.h>
#include <xenon_nand/xenon_sfcx.h>
#include <xenon_nand/xenon_config.h>
#include <xenon_soc/xenon_secotp.h>
#include <xenon_smc/xenon_smc.h>
#include <crypt/hmac_sha1.h>
#include <crypt/rc4.h>
#include "xb360.h"
Include dependency graph for xb360.c:

Go to the source code of this file.

Functions

void print_key (char *name, unsigned char *data)
 
int cpu_get_key (unsigned char *data)
 
int get_virtual_cpukey (unsigned char *data)
 
int kv_get_key (unsigned char keyid, unsigned char *keybuf, int *keybuflen, unsigned char *keyvault)
 
int kv_read (unsigned char *data, int virtualcpukey)
 
int kv_get_dvd_key (unsigned char *dvd_key)
 
void print_cpu_dvd_keys (void)
 
int updateXeLL (char *path)
 
unsigned int xenon_get_DVE ()
 
unsigned int xenon_get_PCIBridgeRevisionID ()
 
unsigned int xenon_get_CPU_PVR ()
 
unsigned int xenon_get_XenosID ()
 
int xenon_get_console_type ()
 
int xenon_logical_nand_data_ok ()
 
int xenon_get_logical_nand_data (void *buf, unsigned int offset, unsigned int len)
 
unsigned int xenon_get_kv_size ()
 
unsigned int xenon_get_kv_offset ()
 

Variables

struct XCONFIG_SECURED_SETTINGS secured_settings
 
struct sfc sfc
 

Function Documentation

◆ cpu_get_key()

int cpu_get_key ( unsigned char *  data)

Definition at line 95 of file xb360.c.

◆ get_virtual_cpukey()

int get_virtual_cpukey ( unsigned char *  data)

Definition at line 102 of file xb360.c.

◆ kv_get_dvd_key()

int kv_get_dvd_key ( unsigned char *  dvd_key)

Definition at line 206 of file xb360.c.

◆ kv_get_key()

int kv_get_key ( unsigned char  keyid,
unsigned char *  keybuf,
int *  keybuflen,
unsigned char *  keyvault 
)

Definition at line 122 of file xb360.c.

◆ kv_read()

int kv_read ( unsigned char *  data,
int  virtualcpukey 
)

Definition at line 138 of file xb360.c.

◆ print_cpu_dvd_keys()

void print_cpu_dvd_keys ( void  )

Definition at line 241 of file xb360.c.

◆ print_key()

void print_key ( char *  name,
unsigned char *  data 
)

Definition at line 86 of file xb360.c.

◆ updateXeLL()

int updateXeLL ( char *  path)

Definition at line 342 of file xb360.c.

◆ xenon_get_console_type()

int xenon_get_console_type ( void  )

Definition at line 480 of file xb360.c.

◆ xenon_get_CPU_PVR()

unsigned int xenon_get_CPU_PVR ( )

Definition at line 468 of file xb360.c.

◆ xenon_get_DVE()

unsigned int xenon_get_DVE ( )

Definition at line 454 of file xb360.c.

◆ xenon_get_kv_offset()

unsigned int xenon_get_kv_offset ( )

Definition at line 545 of file xb360.c.

◆ xenon_get_kv_size()

unsigned int xenon_get_kv_size ( )

Definition at line 537 of file xb360.c.

◆ xenon_get_logical_nand_data()

int xenon_get_logical_nand_data ( void *  buf,
unsigned int  offset,
unsigned int  len 
)

Definition at line 528 of file xb360.c.

◆ xenon_get_PCIBridgeRevisionID()

unsigned int xenon_get_PCIBridgeRevisionID ( )

Definition at line 463 of file xb360.c.

◆ xenon_get_XenosID()

unsigned int xenon_get_XenosID ( )

Definition at line 475 of file xb360.c.

◆ xenon_logical_nand_data_ok()

int xenon_logical_nand_data_ok ( )

Definition at line 519 of file xb360.c.

Variable Documentation

◆ secured_settings

struct XCONFIG_SECURED_SETTINGS secured_settings
extern

Definition at line 17 of file xenon_config.c.

◆ sfc

struct sfc sfc
extern

Definition at line 10 of file xenon_sfcx.c.