version 1.3, 2005/06/19 15:29:00 |
version 1.4, 2005/06/19 15:45:38 |
|
|
/* $OpenXM: OpenXM/src/ox_ntl/crypt/des/des.c,v 1.2 2004/09/20 00:10:24 iwane Exp $ */ |
/* $OpenXM: OpenXM/src/ox_ntl/crypt/des/des.c,v 1.3 2005/06/19 15:29:00 iwane Exp $ */ |
/* |
/* |
* FIPS PUB 46-3 |
* FIPS PUB 46-3 |
* DATA ENCRYPTION STANDARD |
* DATA ENCRYPTION STANDARD |
Line 557 des_dec_ecb(const des_key *key, int len, const unsigne |
|
Line 557 des_dec_ecb(const des_key *key, int len, const unsigne |
|
|
|
|
|
int |
int |
des_enc_cbc(const des_key *key, const unsigned char *iv, int len, |
des_enc_cbc(const des_key *key, unsigned char *iv, int len, |
const unsigned char *data, unsigned char *buf) |
const unsigned char *data, unsigned char *buf) |
{ |
{ |
int ret; |
int ret; |
Line 569 des_enc_cbc(const des_key *key, const unsigned char *i |
|
Line 569 des_enc_cbc(const des_key *key, const unsigned char *i |
|
|
|
|
|
int |
int |
des_dec_cbc(const des_key *key, const unsigned char *iv, int len, |
des_dec_cbc(const des_key *key, unsigned char *iv, int len, |
const unsigned char *data, unsigned char *buf) |
const unsigned char *data, unsigned char *buf) |
{ |
{ |
int ret; |
int ret; |