Home
last modified time | relevance | path

Searched refs:twofish_ctx (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/crypto/twofish/
H A Dtwofish.h10 } twofish_ctx; typedef
12 void twofish_set_key(twofish_ctx *ctx, const u_int8_t in_key[], int key_len);
13 void twofish_encrypt(twofish_ctx *ctx, const u_int8_t in_blk[], u_int8_t out_blk[]);
14 void twofish_decrypt(twofish_ctx *ctx, const u_int8_t in_blk[], u_int8_t out_blk[]);
H A Dtwofish.c284 static u_int32_t h_fun(twofish_ctx *ctx, const u_int32_t x, const u_int32_t key[]) in h_fun()
326 static void gen_mk_tab(twofish_ctx *ctx, u_int32_t key[]) in gen_mk_tab()
423 void twofish_set_key(twofish_ctx *ctx, const u_int8_t in_key[], int key_len_bits) in twofish_set_key()
462 void twofish_encrypt(twofish_ctx *ctx, const u_int8_t in_blk[], in twofish_encrypt()
495 void twofish_decrypt(twofish_ctx *ctx, const u_int8_t in_blk[], u_int8_t out_blk[]) in twofish_decrypt()
/dragonfly/sys/opencrypto/
H A Dxform.c150 twofish_ctx key1;
151 twofish_ctx key2;
303 sizeof(twofish_ctx),
806 twofish_encrypt((twofish_ctx *) key, blk, blk); in twofish128_encrypt()
812 twofish_decrypt(((twofish_ctx *) key), blk, blk); in twofish128_decrypt()