Apply patch: ncpfs-hg-commit-431.patch
This commit is contained in:
@@ -22,20 +22,20 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
void nwencrypt(const unsigned short *cryptbuf, const char *in, char *out);
|
||||
void nwdecrypt(const unsigned short *cryptbuf, const char *in, char *out);
|
||||
void nwcryptinit(unsigned short *scryptbuf, const char *key);
|
||||
void nwencryptblock(const char *cryptkey, const char *buf, int buflen,
|
||||
char *outbuf);
|
||||
void nwdecryptblock(const char *cryptkey, const char *buf, int buflen,
|
||||
char *outbuf);
|
||||
void nwencrypt(const unsigned short *cryptbuf, const unsigned char *in, unsigned char *out);
|
||||
void nwdecrypt(const unsigned short *cryptbuf, const unsigned char *in, unsigned char *out);
|
||||
void nwcryptinit(unsigned short *scryptbuf, const unsigned char *key);
|
||||
void nwencryptblock(const unsigned char *cryptkey, const unsigned char *buf, int buflen,
|
||||
unsigned char *outbuf);
|
||||
void nwdecryptblock(const unsigned char *cryptkey, const unsigned char *buf, int buflen,
|
||||
unsigned char *outbuf);
|
||||
|
||||
#define nwhash1init(hash, hashlen) memset(hash, 0, hashlen)
|
||||
void nwhash1(char *hash, int hashlen, const char *data, int datalen);
|
||||
void nwhash1(unsigned char *hash, int hashlen, const unsigned char *data, int datalen);
|
||||
|
||||
#define nwhash2init(hashbuf) memset(hashbuf, 0, 0x42)
|
||||
void nwhash2(char *hashbuf, char c);
|
||||
void nwhash2block(char *hashbuf, const char *data, int datalen);
|
||||
void nwhash2end(char *hashbuf);
|
||||
void nwhash2(unsigned char *hashbuf, unsigned char c);
|
||||
void nwhash2block(unsigned char *hashbuf, const unsigned char *data, size_t datalen);
|
||||
void nwhash2end(unsigned char *hashbuf);
|
||||
|
||||
#endif /* _NDSCRYPT_H */
|
||||
|
||||
Reference in New Issue
Block a user