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

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

1.1     ! iwane       1: /* $OpenXM$ */
        !             2: /*
        !             3:  * Camellia
        !             4:  * http://info.isl.ntt.co.jp/crypt/camellia/index.html
        !             5:  */
        !             6:
        !             7: #ifndef __CAMELLIA_H__
        !             8: #define __CAMELLIA_H__
        !             9:
        !            10: #include <inttypes.h>
        !            11:
        !            12:
        !            13: typedef struct __camellia_key_t {
        !            14:        int len;
        !            15:        uint32_t key[8];
        !            16:        uint32_t k[24 * 2];
        !            17:        uint32_t kw[4 * 2];
        !            18:        uint32_t kl[6 * 2];
        !            19:
        !            20: } camellia_key;
        !            21:
        !            22:
        !            23: #ifdef __cplusplus
        !            24: extern "C" {
        !            25: #endif
        !            26:
        !            27: int    camellia_keyset(const unsigned char *, int, camellia_key *);
        !            28:
        !            29: void camellia_enc(camellia_key *ckey, const uint8_t *msg, uint8_t *e);
        !            30: void camellia_dec(camellia_key *ckey, const uint8_t *msg, uint8_t *e);
        !            31:
        !            32:
        !            33: #ifdef __cplusplus
        !            34: }
        !            35: #endif
        !            36:
        !            37: #endif /* __CAMELLIA_H__ */
        !            38:
        !            39:

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