Home
last modified time | relevance | path

Searched refs:g_size (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/crypto/
Ddh_helper.c31 return p->key_size + p->p_size + p->g_size; in dh_data_size()
56 ptr = dh_pack_data(ptr, end, &params->g_size, sizeof(params->g_size)); in crypto_dh_encode_key()
59 ptr = dh_pack_data(ptr, end, params->g, params->g_size); in crypto_dh_encode_key()
80 ptr = dh_unpack_data(&params->g_size, ptr, sizeof(params->g_size)); in __crypto_dh_decode_key()
107 params->g_size > params->p_size) in crypto_dh_decode_key()
Ddh.c64 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params()
468 if (params.p_size || params.g_size) in dh_safe_prime_set_secret()
475 params.g_size = sizeof(safe_prime_g); in dh_safe_prime_set_secret()
/linux-6.1.9/include/crypto/
Ddh.h38 unsigned int g_size; member
/linux-6.1.9/security/keys/
Ddh.c207 dh_inputs.g_size = dlen; in __keyctl_dh_compute()
/linux-6.1.9/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c412 if (params->g_size == 1 && *(char *)params->g == 0x02) { in qat_dh_set_params()
420 memcpy(ctx->g + (ctx->p_size - params->g_size), params->g, in qat_dh_set_params()
421 params->g_size); in qat_dh_set_params()
/linux-6.1.9/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.c154 (void __iomem *)&regs->g_size); in overlay_set_win()
Dmmp_ctrl.h75 u32 g_size; /* Graphic Source Size */ member
/linux-6.1.9/drivers/crypto/hisilicon/hpre/
Dhpre_crypto.c664 if (params->g_size == 1 && *(char *)params->g == HPRE_DH_G_FLAG) { in hpre_dh_set_params()
677 memcpy(ctx->dh.g + (sz - params->g_size), params->g, params->g_size); in hpre_dh_set_params()