Lines Matching refs:bp
146 X509 *d2i_X509_bio(BIO *bp, X509 **x509) in d2i_X509_bio() argument
148 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); in d2i_X509_bio()
151 int i2d_X509_bio(BIO *bp, X509 *x509) in i2d_X509_bio() argument
153 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509), bp, x509); in i2d_X509_bio()
168 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) in d2i_X509_CRL_bio() argument
170 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in d2i_X509_CRL_bio()
173 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) in i2d_X509_CRL_bio() argument
175 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); in i2d_X509_CRL_bio()
190 X509_REQ *d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) in d2i_X509_REQ_bio() argument
192 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_REQ), bp, req); in d2i_X509_REQ_bio()
195 int i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) in i2d_X509_REQ_bio() argument
197 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_REQ), bp, req); in i2d_X509_REQ_bio()
235 RSA *d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPrivateKey_bio() argument
237 return ASN1_d2i_bio_of(RSA, RSA_new, d2i_RSAPrivateKey, bp, rsa); in d2i_RSAPrivateKey_bio()
240 int i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPrivateKey_bio() argument
242 return ASN1_i2d_bio_of_const(RSA, i2d_RSAPrivateKey, bp, rsa); in i2d_RSAPrivateKey_bio()
245 RSA *d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) in d2i_RSAPublicKey_bio() argument
247 return ASN1_d2i_bio_of(RSA, RSA_new, d2i_RSAPublicKey, bp, rsa); in d2i_RSAPublicKey_bio()
251 RSA *d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) in d2i_RSA_PUBKEY_bio() argument
253 return ASN1_d2i_bio_of(RSA,RSA_new,d2i_RSA_PUBKEY,bp,rsa); in d2i_RSA_PUBKEY_bio()
256 int i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) in i2d_RSAPublicKey_bio() argument
258 return ASN1_i2d_bio_of_const(RSA, i2d_RSAPublicKey, bp, rsa); in i2d_RSAPublicKey_bio()
261 int i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa) in i2d_RSA_PUBKEY_bio() argument
263 return ASN1_i2d_bio_of_const(RSA,i2d_RSA_PUBKEY,bp,rsa); in i2d_RSA_PUBKEY_bio()
289 DSA *d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) in d2i_DSAPrivateKey_bio() argument
291 return ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSAPrivateKey,bp,dsa in d2i_DSAPrivateKey_bio()
295 int i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa) in i2d_DSAPrivateKey_bio() argument
297 return ASN1_i2d_bio_of_const(DSA,i2d_DSAPrivateKey,bp,dsa); in i2d_DSAPrivateKey_bio()
300 DSA *d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) in d2i_DSA_PUBKEY_bio() argument
302 return ASN1_d2i_bio_of(DSA,DSA_new,d2i_DSA_PUBKEY,bp,dsa); in d2i_DSA_PUBKEY_bio()
305 int i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa) in i2d_DSA_PUBKEY_bio() argument
307 return ASN1_i2d_bio_of_const(DSA,i2d_DSA_PUBKEY,bp,dsa); in i2d_DSA_PUBKEY_bio()
333 EC_KEY *d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey) in d2i_EC_PUBKEY_bio() argument
335 return ASN1_d2i_bio_of(EC_KEY,EC_KEY_new,d2i_EC_PUBKEY,bp,eckey); in d2i_EC_PUBKEY_bio()
338 int i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *ecdsa) in i2d_EC_PUBKEY_bio() argument
340 return ASN1_i2d_bio_of_const(EC_KEY,i2d_EC_PUBKEY,bp,ecdsa); in i2d_EC_PUBKEY_bio()
343 EC_KEY *d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey) in d2i_ECPrivateKey_bio() argument
345 return ASN1_d2i_bio_of(EC_KEY,EC_KEY_new,d2i_ECPrivateKey,bp,eckey); in d2i_ECPrivateKey_bio()
348 int i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey) in i2d_ECPrivateKey_bio() argument
350 return ASN1_i2d_bio_of_const(EC_KEY,i2d_ECPrivateKey,bp,eckey); in i2d_ECPrivateKey_bio()
399 X509_SIG *d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) in d2i_PKCS8_bio() argument
401 return ASN1_d2i_bio_of(X509_SIG,X509_SIG_new,d2i_X509_SIG,bp,p8); in d2i_PKCS8_bio()
404 int i2d_PKCS8_bio(BIO *bp, X509_SIG *p8) in i2d_PKCS8_bio() argument
406 return ASN1_i2d_bio_of(X509_SIG,i2d_X509_SIG,bp,p8); in i2d_PKCS8_bio()
454 PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, in d2i_PKCS8_PRIV_KEY_INFO_bio() argument
458 d2i_PKCS8_PRIV_KEY_INFO,bp,p8inf); in d2i_PKCS8_PRIV_KEY_INFO_bio()
461 int i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_bio() argument
463 return ASN1_i2d_bio_of(PKCS8_PRIV_KEY_INFO,i2d_PKCS8_PRIV_KEY_INFO,bp, in i2d_PKCS8_PRIV_KEY_INFO_bio()
467 int i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_bio() argument
473 ret = i2d_PKCS8_PRIV_KEY_INFO_bio(bp, p8inf); in i2d_PKCS8PrivateKeyInfo_bio()
479 int i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PrivateKey_bio() argument
481 return ASN1_i2d_bio_of_const(EVP_PKEY,i2d_PrivateKey,bp,pkey); in i2d_PrivateKey_bio()
484 EVP_PKEY *d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) in d2i_PrivateKey_bio() argument
486 return ASN1_d2i_bio_of(EVP_PKEY,EVP_PKEY_new,d2i_AutoPrivateKey,bp,a); in d2i_PrivateKey_bio()
489 int i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) in i2d_PUBKEY_bio() argument
491 return ASN1_i2d_bio_of_const(EVP_PKEY,i2d_PUBKEY,bp,pkey); in i2d_PUBKEY_bio()
494 EVP_PKEY *d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a) in d2i_PUBKEY_bio() argument
496 return ASN1_d2i_bio_of(EVP_PKEY,EVP_PKEY_new,d2i_PUBKEY,bp,a); in d2i_PUBKEY_bio()