summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/svcs_rsa.h
blob: 5edb7b7af4566cecbe211a646dc6dde9d5396399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __SVCS_RSA_H__
#define __SVCS_RSA_H__

extern pRSA_EXPORT mir_exp;
extern RSA_IMPORT imp;
extern BOOL rsa_4096;

int __cdecl rsa_inject(HANDLE, LPCSTR);
int __cdecl rsa_check_pub(HANDLE, uint8_t*, int, uint8_t*, int);
void __cdecl rsa_notify(HANDLE, int);

void sttGenerateRSA(LPVOID);
uint8_t loadRSAkey(pUinKey);
void createRSAcntx(pUinKey);
void resetRSAcntx(pUinKey);
void deleteRSAcntx(pUinKey);

#endif