OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keybytes
(Results
1 - 7
of
7
) sorted by relevancy
/src/sys/crypto/aes/
aes_keysched.c
47
* aes_keysched_enc(rk, key,
keybytes
)
55
aes_keysched_enc(uint32_t *rk, const void *key, size_t
keybytes
)
59
return br_aes_ct64_keysched_stdenc(rk, key,
keybytes
);
61
return br_aes_ct_keysched_stdenc(rk, key,
keybytes
);
66
* aes_keysched_dec(rk, key,
keybytes
)
74
aes_keysched_dec(uint32_t *rk, const void *key, size_t
keybytes
)
78
return br_aes_ct64_keysched_stddec(rk, key,
keybytes
);
80
return br_aes_ct_keysched_stddec(rk, key,
keybytes
);
/src/sys/crypto/cast128/
cast128.h
19
void cast128_setkey(cast128_key *key, const u_int8_t *rawkey, int
keybytes
);
cast128.c
139
void cast128_setkey(cast128_key* key, const u_int8_t* rawkey, int
keybytes
)
145
key->rounds = (
keybytes
<= 10 ? 12 : 16);
151
if ((i*4+0) <
keybytes
) x[i] = (u_int32_t)rawkey[i*4+0] << 24;
152
if ((i*4+1) <
keybytes
) x[i] |= (u_int32_t)rawkey[i*4+1] << 16;
153
if ((i*4+2) <
keybytes
) x[i] |= (u_int32_t)rawkey[i*4+2] << 8;
154
if ((i*4+3) <
keybytes
) x[i] |= (u_int32_t)rawkey[i*4+3];
/src/lib/libcrypt/
blowfish.c
404
Blowfish_expand0state(blf_ctx *c, const u_int8_t *key, u_int16_t
keybytes
)
416
temp = Blowfish_stream2word(key,
keybytes
, &j);
443
const u_int8_t *key, u_int16_t
keybytes
)
455
temp = Blowfish_stream2word(key,
keybytes
, &j);
/src/sys/arch/arm/sunxi/
sun8i_crypto.c
1481
const size_t
keybytes
= sizeof selftest_key;
local
1500
error = sun8i_crypto_allocbuf(sc,
keybytes
, &selftest->cs_key,
1521
memcpy(selftest->cs_key.cb_kva, selftest_key,
keybytes
);
1525
selftest->cs_key.cb_kva,
keybytes
, NULL, BUS_DMA_WAITOK);
1574
fail2: sun8i_crypto_freebuf(sc,
keybytes
, &selftest->cs_key);
1609
const size_t
keybytes
= sizeof selftest_key;
local
1628
ok &= sun8i_crypto_selftest_check(sc, "key clobbered",
keybytes
,
1642
sun8i_crypto_freebuf(sc,
keybytes
, &selftest->cs_key);
/src/tests/dev/cgd/
t_cgd_adiantum.c
297
const char *ivmethod, const void *key, size_t
keybytes
)
305
ci.ci_keylen = 8*
keybytes
;
/src/sys/dev/
cgd.c
1236
size_t
keybytes
; /* key length in bytes */
local
1283
keybytes
= ci->ci_keylen / 8 + 1;
1284
if (
keybytes
> MAX_KEYSIZE) {
1290
ret = copyin(ci->ci_key, inbuf,
keybytes
);
Completed in 23 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026