Home
last modified time | relevance | path

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

/freebsd-12.1/secure/lib/libcrypt/
H A Dblowfish.c394 Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t keybytes) in Blowfish_expand0state() argument
406 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expand0state()
432 const u_int8_t *key, u_int16_t keybytes) in Blowfish_expandstate() argument
444 temp = Blowfish_stream2word(key, keybytes, &j); in Blowfish_expandstate()
/freebsd-12.1/sys/opencrypto/
H A Dcast.c132 void cast_setkey(cast_key* key, u_int8_t* rawkey, int keybytes) in cast_setkey() argument
138 key->rounds = (keybytes <= 10 ? 12 : 16); in cast_setkey()
143 if ((i*4+0) < keybytes) x[i] = (u_int32_t)rawkey[i*4+0] << 24; in cast_setkey()
144 if ((i*4+1) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+1] << 16; in cast_setkey()
145 if ((i*4+2) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+2] << 8; in cast_setkey()
146 if ((i*4+3) < keybytes) x[i] |= (u_int32_t)rawkey[i*4+3]; in cast_setkey()
H A Dcast.h19 void cast_setkey(cast_key * key, u_int8_t * rawkey, int keybytes);
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dblowfish.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()
/freebsd-12.1/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c3060 unsigned char *keybytes = NULL; in tls_construct_cke_dhe() local
3092 &keybytes)) { in tls_construct_cke_dhe()
3098 BN_bn2bin(pub_key, keybytes); in tls_construct_cke_dhe()