Lines Matching refs:p8
55 const X509_ALGOR **pa, const PKCS8_PRIV_KEY_INFO *p8) in PKCS8_pkey_get0() argument
58 *ppkalg = p8->pkeyalg->algorithm; in PKCS8_pkey_get0()
60 *pk = ASN1_STRING_get0_data(p8->pkey); in PKCS8_pkey_get0()
61 *ppklen = ASN1_STRING_length(p8->pkey); in PKCS8_pkey_get0()
64 *pa = p8->pkeyalg; in PKCS8_pkey_get0()
69 PKCS8_pkey_get0_attrs(const PKCS8_PRIV_KEY_INFO *p8) in STACK_OF()
71 return p8->attributes; in STACK_OF()
74 int PKCS8_pkey_add1_attr_by_NID(PKCS8_PRIV_KEY_INFO *p8, int nid, int type, in PKCS8_pkey_add1_attr_by_NID() argument
77 if (X509at_add1_attr_by_NID(&p8->attributes, nid, type, bytes, len) != NULL) in PKCS8_pkey_add1_attr_by_NID()
82 int PKCS8_pkey_add1_attr_by_OBJ(PKCS8_PRIV_KEY_INFO *p8, const ASN1_OBJECT *obj, int type, in PKCS8_pkey_add1_attr_by_OBJ() argument
85 return (X509at_add1_attr_by_OBJ(&p8->attributes, obj, type, bytes, len) != NULL); in PKCS8_pkey_add1_attr_by_OBJ()
88 int PKCS8_pkey_add1_attr(PKCS8_PRIV_KEY_INFO *p8, X509_ATTRIBUTE *attr) in PKCS8_pkey_add1_attr() argument
90 return (X509at_add1_attr(&p8->attributes, attr) != NULL); in PKCS8_pkey_add1_attr()