Home
last modified time | relevance | path

Searched refs:keybytes (Results 1 – 4 of 4) sorted by relevance

/dragonfly/sys/opencrypto/
HDcast.c130 void cast_setkey(cast_key* key, u_int8_t* rawkey, int keybytes) in cast_setkey() argument
136 key->rounds = (keybytes <= 10 ? 12 : 16); in cast_setkey()
141 if ((i*4+0) < keybytes) x[i] = (u_int32_t)rawkey[i*4+0] << 24; in cast_setkey()
142 if ((i*4+1) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+1] << 16; in cast_setkey()
143 if ((i*4+2) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+2] << 8; in cast_setkey()
144 if ((i*4+3) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+3]; in cast_setkey()
HDcast.h19 void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes);
/dragonfly/lib/libssh/openbsd-compat/
HDblowfish.c421 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state() argument
433 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expand0state()
460 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate() argument
472 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expandstate()
/dragonfly/lib/libcrypt/
HDblowfish.c424 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state() argument
436 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expand0state()
463 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate() argument
475 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expandstate()