[BACK]Return to block.h CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_ntl / crypt / des

Annotation of OpenXM/src/ox_ntl/crypt/des/block.h, Revision 1.1

1.1     ! iwane       1: /* $OpenXM$ */
        !             2:
        !             3: #ifndef __BLOCK_H__
        !             4: #define __BLOCK_H__
        !             5:
        !             6: #ifdef __cplusplus
        !             7: extern "C" {
        !             8: #endif
        !             9:
        !            10: int    crypt_ecb(void *key, int block, int len, const unsigned char *data, unsigned char *buf, void *);
        !            11:
        !            12: int    crypt_enc_cbc(void *key, int, const unsigned char *, int, const unsigned char *, unsigned char *, void *);
        !            13: int    crypt_dec_cbc(void *key, int, const unsigned char *, int, const unsigned char *, unsigned char *, void *);
        !            14:
        !            15: int    crypt_cfb(void *_key, int _mode, int _bit, int _block,
        !            16:                const unsigned char *_iv, int _len,
        !            17:                const unsigned char *_data,
        !            18:                unsigned char *_buf,void *);
        !            19:
        !            20: int    crypt_ofb(void *_key, int _bit, int _block,
        !            21:                const unsigned char *_iv, int _len,
        !            22:                const unsigned char *_data,
        !            23:                unsigned char *_buf, void *);
        !            24:
        !            25:
        !            26: #ifdef __cplusplus
        !            27: }
        !            28: #endif
        !            29:
        !            30:
        !            31: #endif /* __BLOCK_H__ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>