mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 00:39:04 +00:00
makerom v0.6
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _CTR_CRYPTO_H_
|
||||
#define _CTR_CRYPTO_H_
|
||||
#pragma once
|
||||
|
||||
#include "polarssl/config.h"
|
||||
#include "polarssl/aes.h"
|
||||
@@ -74,7 +73,7 @@ extern "C" {
|
||||
// SHA
|
||||
void ctr_sha(void *data, u64 size, u8 *hash, int mode);
|
||||
// AES
|
||||
u8* AesKeyScrambler(u8 *KeyX, u8 *KeyY);
|
||||
u8* AesKeyScrambler(u8 *Key, u8 *KeyX, u8 *KeyY);
|
||||
void ctr_add_counter(ctr_aes_context* ctx, u32 carry);
|
||||
void ctr_init_counter(ctr_aes_context* ctx, u8 key[16],u8 ctr[16]);
|
||||
void ctr_crypt_counter_block(ctr_aes_context* ctx, u8 input[16], u8 output[16]);
|
||||
@@ -97,6 +96,4 @@ int ctr_sig(void *data, u64 size, u8 *signature, u8 *modulus, u8 *private_exp, u
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user