Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/skein/
Dthreefish_api.c5 enum threefish_size state_size, in threefish_set_key() argument
8 int key_words = state_size / 64; in threefish_set_key()
21 key_ctx->state_size = state_size; in threefish_set_key()
30 skein_get64_lsb_first(plain, in, key_ctx->state_size / 64); in threefish_encrypt_block_bytes()
32 skein_put64_lsb_first(out, cipher, key_ctx->state_size / 8); in threefish_encrypt_block_bytes()
38 switch (key_ctx->state_size) { in threefish_encrypt_block_words()
57 skein_get64_lsb_first(cipher, in, key_ctx->state_size / 64); in threefish_decrypt_block_bytes()
59 skein_put64_lsb_first(out, plain, key_ctx->state_size / 8); in threefish_decrypt_block_bytes()
65 switch (key_ctx->state_size) { in threefish_decrypt_block_words()
Dthreefish_api.h54 u64 state_size; member
76 enum threefish_size state_size,
/linux-4.4.14/arch/x86/kernel/fpu/
Dsignal.c253 int state_size = xstate_size; in __fpu__restore_sig() local
283 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig()
286 state_size = fx_sw_user.xstate_size; in __fpu__restore_sig()
311 if (__copy_from_user(&fpu->state.xsave, buf_fx, state_size) || in __fpu__restore_sig()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dsi_dpm.c5289 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE) + in si_upload_sw_state() local
5294 memset(smc_state, 0, state_size); in si_upload_sw_state()
5301 state_size, si_pi->sram_end); in si_upload_sw_state()
5316 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE); in si_upload_ulv_state() local
5318 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5323 state_size, si_pi->sram_end); in si_upload_ulv_state()
Dni_dpm.c2689 u16 state_size = sizeof(NISLANDS_SMC_SWSTATE) + in ni_upload_sw_state() local
2692 NISLANDS_SMC_SWSTATE *smc_state = kzalloc(state_size, GFP_KERNEL); in ni_upload_sw_state()
2701 ret = rv770_copy_bytes_to_smc(rdev, address, (u8 *)smc_state, state_size, pi->sram_end); in ni_upload_sw_state()