2022-08-07 00:18:40 +00:00
|
|
|
#ifndef COSMOPOLITAN_THIRD_PARTY_MUSL_CRYPT_H_
|
|
|
|
#define COSMOPOLITAN_THIRD_PARTY_MUSL_CRYPT_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
|
|
|
struct crypt_data {
|
|
|
|
int initialized;
|
|
|
|
char __buf[256];
|
|
|
|
};
|
|
|
|
|
2022-10-11 00:52:41 +00:00
|
|
|
void encrypt(char *, int);
|
|
|
|
void setkey(const char *);
|
2022-08-07 00:18:40 +00:00
|
|
|
char *crypt(const char *, const char *);
|
|
|
|
char *crypt_r(const char *, const char *, struct crypt_data *);
|
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_MUSL_CRYPT_H_ */
|