mirror of
https://github.com/opa334/TrollStore.git
synced 2025-02-18 19:45:40 +08:00
20 lines
407 B
C
20 lines
407 B
C
#ifndef SIGN_OSSL_H
|
|
#define SIGN_OSSL_H
|
|
|
|
#ifndef DISABLE_SIGNING
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <openssl/pem.h>
|
|
#include <openssl/rsa.h>
|
|
#include <openssl/sha.h>
|
|
#include <openssl/err.h>
|
|
|
|
unsigned char *signWithRSA(unsigned char *inputData, size_t inputDataLength, unsigned char *key, size_t key_len, size_t *outputDataLength);
|
|
|
|
#endif
|
|
|
|
#endif // SIGN_OSSL_H
|
|
|
|
// 0xA422
|