// Decrypted EAP partition key and print it into klog
// key for /eap_user, /User, /Update
void getEAPPartitionKey(){
void(*bzero)(void *buf, size_t len) = (void *)0xFFFFFFFF82613B00;
void(*icc_nvs_read)(size_t id, size_t no, size_t offset, size_t len, unsigned char *buff) = (void *)0xFFFFFFFF82639CD0;
void(*sceSblGetEAPInternalPartitionKey)(unsigned char *encBuffer, unsigned char *decBzffer) = (void*)0xFFFFFFFF827B1B00;
// Allocate needed space
struct malloc_type *mt = ps4KernelDlSym("M_TEMP");
unsigned char *encNVSKeyBuffer = (unsigned char*)malloc(0x70, mt, M_ZERO | M_WAITOK);
unsigned char *decryptedKey = malloc(0x20, mt, M_ZERO | M_WAITOK);
bzero(encNVSKeyBuffer, 0x70);
bzero(decryptedKey, 0x20);
// Read encrypted...