Lines Matching refs:fp
218 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() argument
220 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); in d2i_X509_fp()
223 int i2d_X509_fp(FILE *fp, const X509 *x509) in i2d_X509_fp() argument
225 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); in i2d_X509_fp()
240 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument
242 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
245 int i2d_X509_CRL_fp(FILE *fp, const X509_CRL *crl) in i2d_X509_CRL_fp() argument
247 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
262 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp() argument
273 ret = ASN1_item_d2i_fp_ex(ASN1_ITEM_rptr(PKCS7), fp, p7, libctx, propq); in d2i_PKCS7_fp()
279 int i2d_PKCS7_fp(FILE *fp, const PKCS7 *p7) in i2d_PKCS7_fp() argument
281 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(PKCS7), fp, p7); in i2d_PKCS7_fp()
308 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp() argument
310 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in d2i_X509_REQ_fp()
313 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req) in i2d_X509_REQ_fp() argument
315 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_REQ), fp, req); in i2d_X509_REQ_fp()
339 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() argument
341 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in d2i_RSAPrivateKey_fp()
344 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() argument
346 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPrivateKey), fp, rsa); in i2d_RSAPrivateKey_fp()
349 RSA *d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPublicKey_fp() argument
351 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa); in d2i_RSAPublicKey_fp()
354 RSA *d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) in d2i_RSA_PUBKEY_fp() argument
357 RSA_new, (D2I_OF(void)) d2i_RSA_PUBKEY, fp, in d2i_RSA_PUBKEY_fp()
361 int i2d_RSAPublicKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPublicKey_fp() argument
363 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(RSAPublicKey), fp, rsa); in i2d_RSAPublicKey_fp()
366 int i2d_RSA_PUBKEY_fp(FILE *fp, const RSA *rsa) in i2d_RSA_PUBKEY_fp() argument
368 return ASN1_i2d_fp((I2D_OF(void))i2d_RSA_PUBKEY, fp, rsa); in i2d_RSA_PUBKEY_fp()
404 DSA *d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) in d2i_DSAPrivateKey_fp() argument
406 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSAPrivateKey, fp, dsa); in d2i_DSAPrivateKey_fp()
409 int i2d_DSAPrivateKey_fp(FILE *fp, const DSA *dsa) in i2d_DSAPrivateKey_fp() argument
411 return ASN1_i2d_fp_of(DSA, i2d_DSAPrivateKey, fp, dsa); in i2d_DSAPrivateKey_fp()
414 DSA *d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) in d2i_DSA_PUBKEY_fp() argument
416 return ASN1_d2i_fp_of(DSA, DSA_new, d2i_DSA_PUBKEY, fp, dsa); in d2i_DSA_PUBKEY_fp()
419 int i2d_DSA_PUBKEY_fp(FILE *fp, const DSA *dsa) in i2d_DSA_PUBKEY_fp() argument
421 return ASN1_i2d_fp_of(DSA, i2d_DSA_PUBKEY, fp, dsa); in i2d_DSA_PUBKEY_fp()
449 EC_KEY *d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey) in d2i_EC_PUBKEY_fp() argument
451 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_EC_PUBKEY, fp, eckey); in d2i_EC_PUBKEY_fp()
454 int i2d_EC_PUBKEY_fp(FILE *fp, const EC_KEY *eckey) in i2d_EC_PUBKEY_fp() argument
456 return ASN1_i2d_fp_of(EC_KEY, i2d_EC_PUBKEY, fp, eckey); in i2d_EC_PUBKEY_fp()
459 EC_KEY *d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey) in d2i_ECPrivateKey_fp() argument
461 return ASN1_d2i_fp_of(EC_KEY, EC_KEY_new, d2i_ECPrivateKey, fp, eckey); in d2i_ECPrivateKey_fp()
464 int i2d_ECPrivateKey_fp(FILE *fp, const EC_KEY *eckey) in i2d_ECPrivateKey_fp() argument
466 return ASN1_i2d_fp_of(EC_KEY, i2d_ECPrivateKey, fp, eckey); in i2d_ECPrivateKey_fp()
652 X509_SIG *d2i_PKCS8_fp(FILE *fp, X509_SIG **p8) in d2i_PKCS8_fp() argument
654 return ASN1_d2i_fp_of(X509_SIG, X509_SIG_new, d2i_X509_SIG, fp, p8); in d2i_PKCS8_fp()
657 int i2d_PKCS8_fp(FILE *fp, const X509_SIG *p8) in i2d_PKCS8_fp() argument
659 return ASN1_i2d_fp_of(X509_SIG, i2d_X509_SIG, fp, p8); in i2d_PKCS8_fp()
674 X509_PUBKEY *d2i_X509_PUBKEY_fp(FILE *fp, X509_PUBKEY **xpk) in d2i_X509_PUBKEY_fp() argument
677 fp, xpk); in d2i_X509_PUBKEY_fp()
680 int i2d_X509_PUBKEY_fp(FILE *fp, const X509_PUBKEY *xpk) in i2d_X509_PUBKEY_fp() argument
682 return ASN1_i2d_fp_of(X509_PUBKEY, i2d_X509_PUBKEY, fp, xpk); in i2d_X509_PUBKEY_fp()
698 PKCS8_PRIV_KEY_INFO *d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, in d2i_PKCS8_PRIV_KEY_INFO_fp() argument
702 d2i_PKCS8_PRIV_KEY_INFO, fp, p8inf); in d2i_PKCS8_PRIV_KEY_INFO_fp()
705 int i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, const PKCS8_PRIV_KEY_INFO *p8inf) in i2d_PKCS8_PRIV_KEY_INFO_fp() argument
707 return ASN1_i2d_fp_of(PKCS8_PRIV_KEY_INFO, i2d_PKCS8_PRIV_KEY_INFO, fp, in i2d_PKCS8_PRIV_KEY_INFO_fp()
711 int i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, const EVP_PKEY *key) in i2d_PKCS8PrivateKeyInfo_fp() argument
719 ret = i2d_PKCS8_PRIV_KEY_INFO_fp(fp, p8inf); in i2d_PKCS8PrivateKeyInfo_fp()
724 int i2d_PrivateKey_fp(FILE *fp, const EVP_PKEY *pkey) in i2d_PrivateKey_fp() argument
726 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PrivateKey, fp, pkey); in i2d_PrivateKey_fp()
729 EVP_PKEY *d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) in d2i_PrivateKey_fp() argument
731 return ASN1_d2i_fp_of(EVP_PKEY, EVP_PKEY_new, d2i_AutoPrivateKey, fp, a); in d2i_PrivateKey_fp()
734 EVP_PKEY *d2i_PrivateKey_ex_fp(FILE *fp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PrivateKey_ex_fp() argument
744 BIO_set_fp(b, fp, BIO_NOCLOSE); in d2i_PrivateKey_ex_fp()
750 int i2d_PUBKEY_fp(FILE *fp, const EVP_PKEY *pkey) in i2d_PUBKEY_fp() argument
752 return ASN1_i2d_fp_of(EVP_PKEY, i2d_PUBKEY, fp, pkey); in i2d_PUBKEY_fp()
755 EVP_PKEY *d2i_PUBKEY_ex_fp(FILE *fp, EVP_PKEY **a, OSSL_LIB_CTX *libctx, in d2i_PUBKEY_ex_fp() argument
765 BIO_set_fp(b, fp, BIO_NOCLOSE); in d2i_PUBKEY_ex_fp()
771 EVP_PKEY *d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a) in d2i_PUBKEY_fp() argument
773 return ASN1_d2i_fp_of(EVP_PKEY, EVP_PKEY_new, d2i_PUBKEY, fp, a); in d2i_PUBKEY_fp()
863 X509_ACERT *d2i_X509_ACERT_fp(FILE *fp, X509_ACERT **acert) in d2i_X509_ACERT_fp() argument
865 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_ACERT), fp, acert); in d2i_X509_ACERT_fp()
868 int i2d_X509_ACERT_fp(FILE *fp, const X509_ACERT *acert) in i2d_X509_ACERT_fp() argument
870 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_ACERT), fp, acert); in i2d_X509_ACERT_fp()