Searched refs:g_size (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/crypto/ |
D | dh_helper.c | 31 return p->key_size + p->p_size + p->g_size; in dh_data_size() 56 ptr = dh_pack_data(ptr, end, ¶ms->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(¶ms->g_size, ptr, sizeof(params->g_size)); in __crypto_dh_decode_key() 107 params->g_size > params->p_size) in crypto_dh_decode_key()
|
D | dh.c | 64 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/ |
D | dh.h | 38 unsigned int g_size; member
|
/linux-6.1.9/security/keys/ |
D | dh.c | 207 dh_inputs.g_size = dlen; in __keyctl_dh_compute()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 412 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/ |
D | mmp_ctrl.c | 154 (void __iomem *)®s->g_size); in overlay_set_win()
|
D | mmp_ctrl.h | 75 u32 g_size; /* Graphic Source Size */ member
|
/linux-6.1.9/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 664 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()
|