uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
Macros
KIRK

Macros

#define KIRK_SHA1_DIGEST_LEN   (20)
 
#define KIRK_PRN_LEN   (20)
 
#define KIRK_ECDSA_POINT_LEN   (40)
 
#define KIRK_ECDSA_PUBLIC_KEY_LEN   (KIRK_ECDSA_POINT_LEN)
 
#define KIRK_ECDSA_PRIVATE_KEY_LEN   (20)
 
#define KIRK_ECDSA_SRC_DATA_LEN   (20)
 
#define KIRK_ECDSA_SIG_LEN   (40)
 
#define KIRK_AES_BLOCK_LEN   (16)
 

Detailed Description

The hardware crypto engine responsible for almost all aspects of the PSP's security,
including decryption of EBOOTs & PRX's, savefile and adhoc encryption, and idstorage verification.

Macro Definition Documentation

◆ KIRK_SHA1_DIGEST_LEN

#define KIRK_SHA1_DIGEST_LEN   (20)

The length (160 bit) of a SHA-1 hash value.

◆ KIRK_PRN_LEN

#define KIRK_PRN_LEN   (20)

The length (160 bit) of a computed pseudo-random number.

◆ KIRK_ECDSA_POINT_LEN

#define KIRK_ECDSA_POINT_LEN   (40)

The length (320 bit) of an elliptic curve point p = (x,y), with len(x) = 160 bit = len(y).

◆ KIRK_ECDSA_PUBLIC_KEY_LEN

#define KIRK_ECDSA_PUBLIC_KEY_LEN   (KIRK_ECDSA_POINT_LEN)

The length (320 bit) of the public key for ECDSA.

◆ KIRK_ECDSA_PRIVATE_KEY_LEN

#define KIRK_ECDSA_PRIVATE_KEY_LEN   (20)

The length (256 bit) of the private key for ECDSA.

◆ KIRK_ECDSA_SRC_DATA_LEN

#define KIRK_ECDSA_SRC_DATA_LEN   (20)

The length (160 bit) of the data to compute the signature for using ECDSA.

◆ KIRK_ECDSA_SIG_LEN

#define KIRK_ECDSA_SIG_LEN   (40)

The length (320 bit) of the signature computed by ECDSA.

◆ KIRK_AES_BLOCK_LEN

#define KIRK_AES_BLOCK_LEN   (16)

The length (128 bit) of a block to encrypt using AES. The length (1472 bit) of the certificate to verify. Used for example for ID Storage keys 0x100 and 0x101.