Lines Matching refs:pder

470 static int dh_spki_pub_to_der(const void *dh, unsigned char **pder)  in dh_spki_pub_to_der()  argument
485 ret = i2d_ASN1_INTEGER(pub_key, pder); in dh_spki_pub_to_der()
491 static int dh_pki_priv_to_der(const void *dh, unsigned char **pder) in dh_pki_priv_to_der() argument
506 ret = i2d_ASN1_INTEGER(priv_key, pder); in dh_pki_priv_to_der()
514 static int dh_type_specific_params_to_der(const void *dh, unsigned char **pder) in dh_type_specific_params_to_der() argument
517 return i2d_DHxparams(dh, pder); in dh_type_specific_params_to_der()
518 return i2d_DHparams(dh, pder); in dh_type_specific_params_to_der()
585 static int dsa_spki_pub_to_der(const void *dsa, unsigned char **pder) in dsa_spki_pub_to_der() argument
600 ret = i2d_ASN1_INTEGER(pub_key, pder); in dsa_spki_pub_to_der()
606 static int dsa_pki_priv_to_der(const void *dsa, unsigned char **pder) in dsa_pki_priv_to_der() argument
621 ret = i2d_ASN1_INTEGER(priv_key, pder); in dsa_pki_priv_to_der()
702 static int ec_spki_pub_to_der(const void *eckey, unsigned char **pder) in ec_spki_pub_to_der() argument
708 return i2o_ECPublicKey(eckey, pder); in ec_spki_pub_to_der()
711 static int ec_pki_priv_to_der(const void *veckey, unsigned char **pder) in ec_pki_priv_to_der() argument
726 ret = i2d_ECPrivateKey(eckey, pder); in ec_pki_priv_to_der()
762 static int ecx_spki_pub_to_der(const void *vecxkey, unsigned char **pder) in ecx_spki_pub_to_der() argument
776 *pder = keyblob; in ecx_spki_pub_to_der()
780 static int ecx_pki_priv_to_der(const void *vecxkey, unsigned char **pder) in ecx_pki_priv_to_der() argument
795 keybloblen = i2d_ASN1_OCTET_STRING(&oct, pder); in ecx_pki_priv_to_der()