Home
last modified time | relevance | path

Searched refs:blf_ctx (Results 1 – 8 of 8) sorted by relevance

/mirbsd/src/include/
Dblf.h51 } blf_ctx; typedef
59 void Blowfish_encipher(blf_ctx *, u_int32_t *, u_int32_t *);
60 void Blowfish_decipher(blf_ctx *, u_int32_t *, u_int32_t *);
61 void Blowfish_initstate(blf_ctx *);
62 void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
64 (blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
68 void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
69 void blf_enc(blf_ctx *, u_int32_t *, u_int16_t);
70 void blf_dec(blf_ctx *, u_int32_t *, u_int16_t);
72 void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t);
[all …]
/mirbsd/src/sys/crypto/
Dblf.h52 } blf_ctx; typedef
60 void Blowfish_encipher(blf_ctx *, u_int32_t *);
61 void Blowfish_decipher(blf_ctx *, u_int32_t *);
62 void Blowfish_initstate(blf_ctx *);
63 void Blowfish_expand0state(blf_ctx *, const u_int8_t *, u_int16_t);
64 void Blowfish_expandstate(blf_ctx *, const u_int8_t *, u_int16_t, const u_int8_t *, u_int16_t);
68 void blf_key(blf_ctx *, const u_int8_t *, u_int16_t);
69 void blf_enc(blf_ctx *, u_int32_t *, u_int16_t);
70 void blf_dec(blf_ctx *, u_int32_t *, u_int16_t);
76 void blf_ecb_encrypt(blf_ctx *, u_int8_t *, u_int32_t);
[all …]
Dblf.c65 Blowfish_encipher(blf_ctx *c, u_int32_t *x) in Blowfish_encipher()
90 Blowfish_decipher(blf_ctx *c, u_int32_t *x) in Blowfish_decipher()
115 Blowfish_initstate(blf_ctx *c) in Blowfish_initstate()
119 static const blf_ctx initstate = in Blowfish_initstate()
416 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state()
453 Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, in Blowfish_expandstate()
495 blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len) in blf_key()
505 blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks) in blf_enc()
518 blf_dec(blf_ctx *c, u_int32_t *data, u_int16_t blocks) in blf_dec()
531 blf_ecb_encrypt(blf_ctx *c, u_int8_t *data, u_int32_t len) in blf_ecb_encrypt()
[all …]
Dxform.c359 blf_ecb_encrypt((blf_ctx *) key, blk, 8); in blf_encrypt()
365 blf_ecb_decrypt((blf_ctx *) key, blk, 8); in blf_decrypt()
371 MALLOC(*sched, u_int8_t *, sizeof(blf_ctx), M_CRYPTO_DATA, M_WAITOK); in blf_setkey()
372 bzero(*sched, sizeof(blf_ctx)); in blf_setkey()
373 blf_key((blf_ctx *)*sched, key, len); in blf_setkey()
381 bzero(*sched, sizeof(blf_ctx)); in blf_zerokey()
/mirbsd/src/lib/libc/crypt/
Dblowfish.c67 Blowfish_encipher(blf_ctx *c, u_int32_t *xl, u_int32_t *xr) in Blowfish_encipher()
92 Blowfish_decipher(blf_ctx *c, u_int32_t *xl, u_int32_t *xr) in Blowfish_decipher()
117 Blowfish_initstate(blf_ctx *c) in Blowfish_initstate()
121 static const blf_ctx initstate = in Blowfish_initstate()
417 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state()
455 Blowfish_expandstate(blf_ctx *c, const u_int8_t *data, u_int16_t databytes, in Blowfish_expandstate()
498 blf_key(blf_ctx *c, const u_int8_t *k, u_int16_t len) in blf_key()
508 blf_enc(blf_ctx *c, u_int32_t *data, u_int16_t blocks) in blf_enc()
521 blf_dec(blf_ctx *c, u_int32_t *data, u_int16_t blocks) in blf_dec()
534 blf_ecb_encrypt(blf_ctx *c, u_int8_t *data, u_int32_t len) in blf_ecb_encrypt()
[all …]
Dbcrypt.c170 blf_ctx state; in bcrypt()
/mirbsd/src/sbin/isakmpd/
Dcrypto.h84 blf_ctx blfks;
/mirbsd/src/sys/dev/
Dvnd.c140 blf_ctx *blowfish; /* key for BLF, BF_CBC */