Implement Nintendo's non-standard AES-GCM.

This commit is contained in:
Michael Scire 2018-02-20 09:39:50 -08:00
parent cec055a44b
commit 77c93221e9
3 changed files with 177 additions and 2 deletions

8
exosphere/gcm.h Normal file
View file

@ -0,0 +1,8 @@
#ifndef EXOSPHERE_GCM_H
#define EXOSPHERE_GCM_H
#include <stdint.h>
int gcm_decrypt_key(unsigned int keyslot, void *dst, size_t dst_size, const void *src, size_t src_size, const void *sealed_kek, size_t kek_size, const void *wrapped_key, size_t key_size, unsigned int usecase, int is_personalized);
#endif