Lines Matching refs:pub
183 int X509_PUBKEY_set0_param(X509_PUBKEY *pub, const ASN1_OBJECT *aobj, in X509_PUBKEY_set0_param() argument
187 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param()
190 if (pub->public_key->data) in X509_PUBKEY_set0_param()
191 OPENSSL_free(pub->public_key->data); in X509_PUBKEY_set0_param()
192 pub->public_key->data = penc; in X509_PUBKEY_set0_param()
193 pub->public_key->length = penclen; in X509_PUBKEY_set0_param()
195 pub->public_key->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); in X509_PUBKEY_set0_param()
196 pub->public_key->flags |= ASN1_STRING_FLAG_BITS_LEFT; in X509_PUBKEY_set0_param()
203 X509_ALGOR **pa, X509_PUBKEY *pub) in X509_PUBKEY_get0_param() argument
206 *ppkalg = pub->algor->algorithm; in X509_PUBKEY_get0_param()
208 *pk = pub->public_key->data; in X509_PUBKEY_get0_param()
209 *ppklen = pub->public_key->length; in X509_PUBKEY_get0_param()
212 *pa = pub->algor; in X509_PUBKEY_get0_param()