|
Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Data Structures | |
| union | C_block |
| struct | crypt_data |
Macros | |
| #define | STATIC static |
| #define | LGCHUNKBITS 2 |
| #define | CHUNKBITS (1<<LGCHUNKBITS) |
| #define | KS_SIZE 16 |
| #define | SIZEOF_CRYPT_DATA (KS_SIZE*8+(1+4+4+11+1)) |
Functions | |
| char * | crypt (const char *key, const char *setting) |
| void | setkey (const char *key) |
| void | encrypt (char *block, int flag) |
| char * | crypt_r (const char *key, const char *setting, struct crypt_data *data) |
| void | setkey_r (const char *key, struct crypt_data *data) |
| void | encrypt_r (char *block, int flag, struct crypt_data *data) |
| #define CHUNKBITS (1<<LGCHUNKBITS) |
Definition at line 227 of file crypt.h.
Referenced by init_perm(), and permute().
| #define LGCHUNKBITS 2 |
Definition at line 226 of file crypt.h.
Referenced by init_perm().
| char* crypt_r | ( | const char * | key, |
| const char * | setting, | ||
| struct crypt_data * | data | ||
| ) |
Definition at line 396 of file crypt.c.
References C_block::b.
| void encrypt | ( | char * | block, |
| int | flag | ||
| ) |
| void encrypt_r | ( | char * | block, |
| int | flag, | ||
| struct crypt_data * | data | ||
| ) |
Definition at line 835 of file crypt.c.
References C_block::b.
| void setkey | ( | const char * | key | ) |
Referenced by init_perm().
| void setkey_r | ( | const char * | key, |
| struct crypt_data * | data | ||
| ) |
1.8.13