Searched refs:keybytes (Results 1 – 4 of 4) sorted by relevance
| /dragonfly/sys/opencrypto/ |
| HD | cast.c | 130 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()
|
| HD | cast.h | 19 void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes);
|
| /dragonfly/lib/libssh/openbsd-compat/ |
| HD | blowfish.c | 421 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/ |
| HD | blowfish.c | 424 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()
|