Home
last modified time | relevance | path

Searched refs:kbits (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/sys/dev/cxgbe/crypto/
H A Dt4_keyctx.c144 t4_aes_getdeckey(void *dec_key, const void *enc_key, unsigned int kbits) in t4_aes_getdeckey() argument
150 rijndaelKeySetupEnc(ek, enc_key, kbits); in t4_aes_getdeckey()
152 dkey += (kbits / 8) / 4; in t4_aes_getdeckey()
154 switch (kbits) { in t4_aes_getdeckey()
H A Dt4_crypto.c2385 unsigned int ck_size, iopad_size, kctx_flits, kctx_len, kbits, mk_size; in ccr_aes_setkey() local
2389 kbits = (klen / 2) * 8; in ccr_aes_setkey()
2391 kbits = klen * 8; in ccr_aes_setkey()
2392 switch (kbits) { in ccr_aes_setkey()
2411 t4_aes_getdeckey(s->blkcipher.deckey, key, kbits); in ccr_aes_setkey()
2429 switch (kbits) { in ccr_aes_setkey()
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_as.c221 uint_t kmask, kbits, umask, ubits; in dt_as() local
241 kbits = -1u; in dt_as()
247 kbits = 0; in dt_as()
253 kbits = 0; in dt_as()
259 kbits = ubits = -1u; in dt_as()
300 if ((idp->di_flags & kmask) == kbits) in dt_as()
431 if ((idp->di_flags & kmask) == kbits) { in dt_as()
/freebsd-13.1/crypto/openssh/
H A Dcipher-aesctr.c57 aesctr_keysetup(aesctr_ctx *x,const u8 *k,u32 kbits,u32 ivbits) in aesctr_keysetup() argument
59 x->rounds = rijndaelKeySetupEnc(x->ek, k, kbits); in aesctr_keysetup()
H A Dcipher-aesctr.h31 void aesctr_keysetup(aesctr_ctx *x,const u8 *k,u32 kbits,u32 ivbits);
H A Dchacha.h25 void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits)
H A Dchacha.c56 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() argument
64 if (kbits == 256) { /* recommended */ in chacha_keysetup()
H A Dhostfile.c755 u_int kbits; in hostkeys_foreach_file() local
863 if (!hostfile_read_key(&cp, &kbits, lineinfo.key)) { in hostkeys_foreach_file()
H A Dsshkey.c489 int kbits = sshkey_curve_nid_to_bits(nid); in sshkey_ec_nid_to_hash_alg() local
491 if (kbits <= 0) in sshkey_ec_nid_to_hash_alg()
495 if (kbits <= 256) in sshkey_ec_nid_to_hash_alg()
497 else if (kbits <= 384) in sshkey_ec_nid_to_hash_alg()
/freebsd-13.1/sys/crypto/chacha20/
H A Dchacha.h35 LOCAL void chacha_keysetup(struct chacha_ctx *x, const u_char *k, u_int kbits);
H A Dchacha.c60 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits) in chacha_keysetup() argument
68 if (kbits == 256) { /* recommended */ in chacha_keysetup()
/freebsd-13.1/sys/crypto/ccp/
H A Dccp.c288 unsigned kbits; in ccp_aes_setkey() local
291 kbits = (klen / 2) * 8; in ccp_aes_setkey()
293 kbits = klen * 8; in ccp_aes_setkey()
295 switch (kbits) { in ccp_aes_setkey()
/freebsd-13.1/contrib/unbound/compat/
H A Dchacha_private.h55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ATTR_UNUSED(ivbits)) in chacha_keysetup() argument
63 if (kbits == 256) { /* recommended */ in chacha_keysetup()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dchacha_private.h55 chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits) in chacha_keysetup() argument
63 if (kbits == 256) { /* recommended */ in chacha_keysetup()
/freebsd-13.1/tools/tools/netmap/
H A Dnmreplay.c1472 k/K kbits/s (10^3 bits/s)
/freebsd-13.1/contrib/file/magic/Magdir/
H A Danimation613 # GRR the original test are too common for many DOS files, so test 32 <= kbits <= 448