Searched refs:prkey (Results 1 – 4 of 4) sorted by relevance
166 ASN1_INTEGER *prkey = NULL; in dsa_priv_encode() local190 prkey = BN_to_ASN1_INTEGER(pkey->pkey.dsa->priv_key, NULL); in dsa_priv_encode()192 if (prkey == NULL) { in dsa_priv_encode()197 dplen = i2d_ASN1_INTEGER(prkey, &dp); in dsa_priv_encode()199 ASN1_STRING_clear_free(prkey); in dsa_priv_encode()
180 ASN1_INTEGER *prkey = NULL; in dh_priv_encode() local199 prkey = BN_to_ASN1_INTEGER(pkey->pkey.dh->priv_key, NULL); in dh_priv_encode()201 if (prkey == NULL) { in dh_priv_encode()206 dplen = i2d_ASN1_INTEGER(prkey, &dp); in dh_priv_encode()208 ASN1_STRING_clear_free(prkey); in dh_priv_encode()