libressl_d.openssl.des

Undocumented in source.

Public Imports

libressl_d.openssl.opensslconf
public import libressl_d.openssl.opensslconf;
Undocumented in source.

Members

Aliases

DES_cblock
alias DES_cblock = ubyte[8]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_fixup_key_parity
alias DES_fixup_key_parity = .DES_set_odd_parity
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_key_schedule
alias DES_key_schedule = .DES_ks
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
const_DES_cblock
alias const_DES_cblock = ubyte[8]
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

DES_cbc_cksum
libressl_d.openssl.opensslconf.DES_LONG DES_cbc_cksum(const(ubyte)* input, .DES_cblock* output, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .const_DES_cblock* ivec)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_cbc_encrypt
void DES_cbc_encrypt(const(ubyte)* input, ubyte* output, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_cfb64_encrypt
void DES_cfb64_encrypt(const(ubyte)* in_, ubyte* out_, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int* num, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_cfb_encrypt
void DES_cfb_encrypt(const(ubyte)* in_, ubyte* out_, int numbits, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_check_key_parity
int DES_check_key_parity(.const_DES_cblock* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_crypt
char* DES_crypt(const(char)* buf, const(char)* salt)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_decrypt3
void DES_decrypt3(libressl_d.openssl.opensslconf.DES_LONG* data, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ecb2_encrypt
void DES_ecb2_encrypt(.const_DES_cblock* i, .DES_cblock* o, .DES_key_schedule* k1, .DES_key_schedule* k2, int e)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ecb3_encrypt
void DES_ecb3_encrypt(.const_DES_cblock* input, .DES_cblock* output, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ecb_encrypt
void DES_ecb_encrypt(.const_DES_cblock* input, .DES_cblock* output, .DES_key_schedule* ks, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede2_cbc_encrypt
void DES_ede2_cbc_encrypt(const(ubyte)* i, ubyte* o, core.stdc.config.c_long l, .DES_key_schedule* k1, .DES_key_schedule* k2, .DES_cblock* iv, int e)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede2_cfb64_encrypt
void DES_ede2_cfb64_encrypt(const(ubyte)* i, ubyte* o, core.stdc.config.c_long l, .DES_key_schedule* k1, .DES_key_schedule* k2, .DES_cblock* iv, int* n, int e)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede2_ofb64_encrypt
void DES_ede2_ofb64_encrypt(const(ubyte)* i, ubyte* o, core.stdc.config.c_long l, .DES_key_schedule* k1, .DES_key_schedule* k2, .DES_cblock* iv, int* n)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede3_cbc_encrypt
void DES_ede3_cbc_encrypt(const(ubyte)* input, ubyte* output, core.stdc.config.c_long length_, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede3_cbcm_encrypt
void DES_ede3_cbcm_encrypt(const(ubyte)* in_, ubyte* out_, core.stdc.config.c_long length_, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, .DES_cblock* ivec1, .DES_cblock* ivec2, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede3_cfb64_encrypt
void DES_ede3_cfb64_encrypt(const(ubyte)* in_, ubyte* out_, core.stdc.config.c_long length_, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, .DES_cblock* ivec, int* num, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede3_cfb_encrypt
void DES_ede3_cfb_encrypt(const(ubyte)* in_, ubyte* out_, int numbits, core.stdc.config.c_long length_, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ede3_ofb64_encrypt
void DES_ede3_ofb64_encrypt(const(ubyte)* in_, ubyte* out_, core.stdc.config.c_long length_, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3, .DES_cblock* ivec, int* num)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_enc_read
int DES_enc_read(int fd, void* buf, int len, .DES_key_schedule* sched, .DES_cblock* iv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_enc_write
int DES_enc_write(int fd, const(void)* buf, int len, .DES_key_schedule* sched, .DES_cblock* iv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_encrypt1
void DES_encrypt1(libressl_d.openssl.opensslconf.DES_LONG* data, .DES_key_schedule* ks, int enc)

This is the DES encryption function that gets called by just about every other DES routine in the library. You should not use this function except to implement 'modes' of DES. I say this because the functions that call this routine do the conversion from 'char *' to core.stdc.config.c_long, and this needs to be done to make sure 'non-aligned' memory access do not occur. The characters are loaded 'little endian'. Data is a pointer to 2 core.stdc.config.c_ulong's and ks is the DES_key_schedule to use. enc, is non zero specifies encryption, zero if decryption.

DES_encrypt2
void DES_encrypt2(libressl_d.openssl.opensslconf.DES_LONG* data, .DES_key_schedule* ks, int enc)

This functions is the same as DES_encrypt1() except that the DES initial permutation (IP) and final permutation (FP) have been left out. As for DES_encrypt1(), you should not use this function. It is used by the routines in the library that implement triple DES. IP() DES_encrypt2() DES_encrypt2() DES_encrypt2() FP() is the same as DES_encrypt1() DES_encrypt1() DES_encrypt1() except faster :-\).

DES_encrypt3
void DES_encrypt3(libressl_d.openssl.opensslconf.DES_LONG* data, .DES_key_schedule* ks1, .DES_key_schedule* ks2, .DES_key_schedule* ks3)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_fcrypt
char* DES_fcrypt(const(char)* buf, const(char)* salt, char* ret)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_is_weak_key
int DES_is_weak_key(.const_DES_cblock* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_key_sched
int DES_key_sched(.const_DES_cblock* key, .DES_key_schedule* schedule)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ncbc_encrypt
void DES_ncbc_encrypt(const(ubyte)* input, ubyte* output, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ofb64_encrypt
void DES_ofb64_encrypt(const(ubyte)* in_, ubyte* out_, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int* num)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ofb_encrypt
void DES_ofb_encrypt(const(ubyte)* in_, ubyte* out_, int numbits, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_options
const(char)* DES_options()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_pcbc_encrypt
void DES_pcbc_encrypt(const(ubyte)* input, ubyte* output, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_quad_cksum
libressl_d.openssl.opensslconf.DES_LONG DES_quad_cksum(const(ubyte)* input, .DES_cblock* output, core.stdc.config.c_long length_, int out_count, .DES_cblock* seed)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_random_key
int DES_random_key(.DES_cblock* ret)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_set_key
int DES_set_key(.const_DES_cblock* key, .DES_key_schedule* schedule)

DES_set_key (= set_key = DES_key_sched = key_sched) calls DES_set_key_checked if global variable DES_check_key is set, DES_set_key_unchecked otherwise.

DES_set_key_checked
int DES_set_key_checked(.const_DES_cblock* key, .DES_key_schedule* schedule)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_set_key_unchecked
void DES_set_key_unchecked(.const_DES_cblock* key, .DES_key_schedule* schedule)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_set_odd_parity
void DES_set_odd_parity(.DES_cblock* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_string_to_2keys
void DES_string_to_2keys(const(char)* str, .DES_cblock* key1, .DES_cblock* key2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_string_to_key
void DES_string_to_key(const(char)* str, .DES_cblock* key)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_xcbc_encrypt
void DES_xcbc_encrypt(const(ubyte)* input, ubyte* output, core.stdc.config.c_long length_, .DES_key_schedule* schedule, .DES_cblock* ivec, .const_DES_cblock* inw, .const_DES_cblock* outw, int enc)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Manifest constants

DES_CBC_MODE
enum DES_CBC_MODE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_DECRYPT
enum DES_DECRYPT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_ENCRYPT
enum DES_ENCRYPT;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_KEY_SZ
enum DES_KEY_SZ;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_PCBC_MODE
enum DES_PCBC_MODE;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
DES_SCHEDULE_SZ
enum DES_SCHEDULE_SZ;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
HEADER_NEW_DES_H
enum HEADER_NEW_DES_H;
Undocumented in source.

Static variables

DES_check_key
int DES_check_key;

defaults to false

DES_rw_mode
int DES_rw_mode;

defaults to DES_PCBC_MODE

Structs

DES_ks
struct DES_ks
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Unions

ks_
union ks_
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta