php-src/ext/standard/crypt_freesec.h
Peter Kokot 8d3f8ca12a Remove unused Git attributes ident
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00

35 lines
653 B
C

#ifndef _CRYPT_FREESEC_H
#define _CRYPT_FREESEC_H
#ifdef PHP_WIN32
# ifndef inline
# define inline __inline
# endif
#endif
#include "php_stdint.h"
#define MD5_HASH_MAX_LEN 120
struct php_crypt_extended_data {
int initialized;
uint32_t saltbits;
uint32_t old_salt;
uint32_t en_keysl[16], en_keysr[16];
uint32_t de_keysl[16], de_keysr[16];
uint32_t old_rawkey0, old_rawkey1;
char output[21];
};
/*
* _crypt_extended_init() must be called explicitly before first use of
* _crypt_extended_r().
*/
void _crypt_extended_init(void);
char *_crypt_extended_r(const char *key, const char *setting,
struct php_crypt_extended_data *data);
#endif