Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A 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()
H A Ddh.c64 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params()
471 if (params.p_size || params.g_size) in dh_safe_prime_set_secret()
478 params.g_size = sizeof(safe_prime_g); in dh_safe_prime_set_secret()
/openbmc/linux/include/crypto/
H A Ddh.h38 unsigned int g_size; member
/openbmc/linux/security/keys/
H A Ddh.c191 dh_inputs.g_size = dlen; in __keyctl_dh_compute()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c411 if (params->g_size == 1 && *(char *)params->g == 0x02) { in qat_dh_set_params()
419 memcpy(ctx->g + (ctx->p_size - params->g_size), params->g, in qat_dh_set_params()
420 params->g_size); in qat_dh_set_params()
/openbmc/linux/drivers/video/fbdev/mmp/hw/
H A Dmmp_ctrl.c154 (void __iomem *)&regs->g_size); in overlay_set_win()
H A Dmmp_ctrl.h75 u32 g_size; /* Graphic Source Size */ member
/openbmc/linux/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c674 if (params->g_size == 1 && *(char *)params->g == HPRE_DH_G_FLAG) { in hpre_dh_set_params()
687 memcpy(ctx->dh.g + (sz - params->g_size), params->g, params->g_size); in hpre_dh_set_params()