Searched refs:kdf_type (Results 1 – 6 of 6) sorted by relevance
51 enum kdf_type { enum70 enum kdf_type kdf_type; member94 pdhctx->kdf_type = PROV_DH_KDF_NONE; in dh_newctx()133 pdhctx->kdf_type = PROV_DH_KDF_NONE; in dh_init()236 if (pdhctx->kdf_type == PROV_DH_KDF_X9_42_ASN1) { in dh_X9_42_kdf_derive()261 switch (pdhctx->kdf_type) { in dh_derive()367 pdhctx->kdf_type = PROV_DH_KDF_NONE; in dh_set_ctx_params()504 const char *kdf_type = NULL; in dh_get_ctx_params() local506 switch (pdhctx->kdf_type) { in dh_get_ctx_params()508 kdf_type = ""; in dh_get_ctx_params()[all …]
42 enum kdf_type { enum72 enum kdf_type kdf_type; member97 pectx->kdf_type = PROV_ECDH_KDF_NONE; in ecdh_newctx()117 pecdhctx->kdf_type = PROV_ECDH_KDF_NONE; in ecdh_init()289 pectx->kdf_type = PROV_ECDH_KDF_NONE; in ecdh_set_ctx_params()291 pectx->kdf_type = PROV_ECDH_KDF_X9_63; in ecdh_set_ctx_params()401 const char *kdf_type = NULL; in ecdh_get_ctx_params() local403 switch (pectx->kdf_type) { in ecdh_get_ctx_params()405 kdf_type = ""; in ecdh_get_ctx_params()408 kdf_type = OSSL_KDF_NAME_X963KDF; in ecdh_get_ctx_params()[all …]
206 int kdf_type, wrap_nid; in dh_cms_encrypt() local246 kdf_type = EVP_PKEY_CTX_get_dh_kdf_type(pctx); in dh_cms_encrypt()247 if (kdf_type <= 0 || EVP_PKEY_CTX_get_dh_kdf_md(pctx, &kdf_md) <= 0) in dh_cms_encrypt()250 if (kdf_type == EVP_PKEY_DH_KDF_NONE) { in dh_cms_encrypt()251 kdf_type = EVP_PKEY_DH_KDF_X9_42; in dh_cms_encrypt()252 if (EVP_PKEY_CTX_set_dh_kdf_type(pctx, kdf_type) <= 0) in dh_cms_encrypt()254 } else if (kdf_type != EVP_PKEY_DH_KDF_X9_42) in dh_cms_encrypt()
264 int ecdh_nid, kdf_type, kdf_nid, wrap_nid; in ecdh_cms_encrypt() local293 kdf_type = EVP_PKEY_CTX_get_ecdh_kdf_type(pctx); in ecdh_cms_encrypt()294 if (kdf_type <= 0) in ecdh_cms_encrypt()306 if (kdf_type == EVP_PKEY_ECDH_KDF_NONE) { in ecdh_cms_encrypt()307 kdf_type = EVP_PKEY_ECDH_KDF_X9_63; in ecdh_cms_encrypt()308 if (EVP_PKEY_CTX_set_ecdh_kdf_type(pctx, kdf_type) <= 0) in ecdh_cms_encrypt()
42 char kdf_type; member63 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE; in pkey_dh_init()100 dctx->kdf_type = sctx->kdf_type; in pkey_dh_copy()170 return dctx->kdf_type; in pkey_dh_ctrl()173 dctx->kdf_type = p1; in pkey_dh_ctrl()416 if (dctx->kdf_type == EVP_PKEY_DH_KDF_NONE) { in pkey_dh_derive()430 else if (dctx->kdf_type == EVP_PKEY_DH_KDF_X9_42) { in pkey_dh_derive()
37 char kdf_type; member55 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE; in pkey_ec_init()79 dctx->kdf_type = sctx->kdf_type; in pkey_ec_copy()220 if (dctx->kdf_type == EVP_PKEY_ECDH_KDF_NONE) in pkey_ec_kdf_derive()316 return dctx->kdf_type; in pkey_ec_ctrl()319 dctx->kdf_type = p1; in pkey_ec_ctrl()
Completed in 24 milliseconds