Searched refs:g_size (Results 1 – 8 of 8) sorted by relevance
/linux/crypto/ |
H A 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()
|
H A D | dh.c | 64 ctx->g = mpi_read_raw_data(params->g, params->g_size); in dh_set_params() 472 if (params.p_size || params.g_size) in dh_safe_prime_set_secret() 479 params.g_size = sizeof(safe_prime_g); in dh_safe_prime_set_secret()
|
/linux/include/crypto/ |
H A D | dh.h | 38 unsigned int g_size; member
|
/linux/security/keys/ |
H A D | dh.c | 191 dh_inputs.g_size = dlen; in __keyctl_dh_compute()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 440 if (params->g_size == 1 && *(char *)params->g == 0x02) { in qat_dh_set_params() 448 memcpy(ctx->g + (ctx->p_size - params->g_size), params->g, in qat_dh_set_params() 449 params->g_size); in qat_dh_set_params()
|
/linux/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.c | 154 (void __iomem *)®s->g_size); in overlay_set_win()
|
H A D | mmp_ctrl.h | 75 u32 g_size; /* Graphic Source Size */ member
|
/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 679 if (params->g_size == 1 && *(char *)params->g == HPRE_DH_G_FLAG) { in hpre_dh_set_params() 692 memcpy(ctx->dh.g + (sz - params->g_size), params->g, params->g_size); in hpre_dh_set_params()
|