forked from cory/tildefriends
OpenSSL 3.1.3 built for android.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4508 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
deps/openssl/android
arm64-v8a
usr
local
include
crypto
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes_platform.haria.hasn1.hasn1_dsa.hasn1err.hasync.hasyncerr.hbioerr.hbn.hbn_conf.hbn_conf.h.inbn_dh.hbn_srp.hbnerr.hbuffererr.hchacha.hcmll_platform.hcmperr.hcmserr.hcomperr.hconferr.hcontext.hcrmferr.hcryptlib.hcryptoerr.hcterr.hctype.hdecoder.hdecodererr.hdes_platform.hdh.hdherr.hdsa.hdsaerr.hdso_conf.hdso_conf.h.inec.hecerr.hecx.hencoder.hencodererr.hengine.hengineerr.herr.hess.hesserr.hevp.hevperr.hhttperr.hlhash.hmd32_common.hmodes.hobjects.hobjectserr.hocsperr.hpem.hpemerr.hpkcs12err.hpkcs7.hpkcs7err.hpoly1305.hppc_arch.hpunycode.hrand.hrand_pool.hranderr.hriscv_arch.defriscv_arch.hrsa.hrsaerr.hsecurity_bits.hsha.hsiphash.hsiv.hsm2.hsm2err.hsm4.hsm4_platform.hsparc_arch.hsparse_array.hstore.hstoreerr.htserr.htypes.huierr.hx509.hx509err.hx509v3err.h
internal
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Hasn1.hbio.hcomp.hconf.hconstant_time.hcore.hcryptlib.hdane.hdeprecated.hder.hdso.hdsoerr.he_os.hendian.herr.hffc.hktls.hnamemap.hnelem.hnumbers.ho_dir.ho_str.hpacket.hparam_build_set.hpassphrase.hproperty.hpropertyerr.hprovider.hrefcount.hsha3.hsizes.hsm3.hsockets.hsslconf.hsymhacks.hthread_once.htlsgroups.htsan_assist.hunicode.h
openssl
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes.hasn1.hasn1.h.inasn1_mac.hasn1err.hasn1t.hasn1t.h.inasync.hasyncerr.hbio.hbio.h.inbioerr.hblowfish.hbn.hbnerr.hbuffer.hbuffererr.hcamellia.hcast.hcmac.hcmp.hcmp.h.incmp_util.hcmperr.hcms.hcms.h.incmserr.hcomp.hcomperr.hconf.hconf.h.inconf_api.hconferr.hconfiguration.hconfiguration.h.inconftypes.hcore.hcore_dispatch.hcore_names.hcore_object.hcrmf.hcrmf.h.incrmferr.hcrypto.hcrypto.h.incryptoerr.hcryptoerr_legacy.hct.hct.h.incterr.hdecoder.hdecodererr.hdes.hdh.hdherr.hdsa.hdsaerr.hdtls1.he_os2.hebcdic.hec.hecdh.hecdsa.hecerr.hencoder.hencodererr.hengine.hengineerr.herr.herr.h.iness.hess.h.inesserr.hevp.hevperr.hfips_names.hfipskey.hfipskey.h.inhmac.hhttp.hhttperr.hidea.hkdf.hkdferr.hlhash.hlhash.h.inmacros.hmd2.hmd4.hmd5.hmdc2.hmodes.hobj_mac.hobjects.hobjectserr.hocsp.hocsp.h.inocsperr.hopensslconf.hopensslconf.h.inopensslv.hopensslv.h.inossl_typ.hparam_build.hparams.hpem.hpem2.hpemerr.hpkcs12.hpkcs12.h.inpkcs12err.hpkcs7.hpkcs7.h.inpkcs7err.hprov_ssl.hproverr.hprovider.hrand.hrand_drbg.hranderr.hrc2.hrc4.hrc5.hripemd.hrsa.hrsaerr.hsafestack.hsafestack.h.inseed.hself_test.hsha.hsrp.hsrp.h.insrtp.hssl.hssl.h.inssl2.hssl3.hsslerr.hsslerr_legacy.hstack.hstore.hstoreerr.hsymhacks.htls1.htrace.hts.htserr.htxt_db.htypes.hui.hui.h.inuierr.hwhrlpool.hx509.hx509.h.inx509_vfy.hx509_vfy.h.inx509err.hx509v3.hx509v3.h.inx509v3err.h
lib
armeabi-v7a
usr
local
include
crypto
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes_platform.haria.hasn1.hasn1_dsa.hasn1err.hasync.hasyncerr.hbioerr.hbn.hbn_conf.hbn_conf.h.inbn_dh.hbn_srp.hbnerr.hbuffererr.hchacha.hcmll_platform.hcmperr.hcmserr.hcomperr.hconferr.hcontext.hcrmferr.hcryptlib.hcryptoerr.hcterr.hctype.hdecoder.hdecodererr.hdes_platform.hdh.hdherr.hdsa.hdsaerr.hdso_conf.hdso_conf.h.inec.hecerr.hecx.hencoder.hencodererr.hengine.hengineerr.herr.hess.hesserr.hevp.hevperr.hhttperr.hlhash.hmd32_common.hmodes.hobjects.hobjectserr.hocsperr.hpem.hpemerr.hpkcs12err.hpkcs7.hpkcs7err.hpoly1305.hppc_arch.hpunycode.hrand.hrand_pool.hranderr.hriscv_arch.defriscv_arch.hrsa.hrsaerr.hsecurity_bits.hsha.hsiphash.hsiv.hsm2.hsm2err.hsm4.hsm4_platform.hsparc_arch.hsparse_array.hstore.hstoreerr.htserr.htypes.huierr.hx509.hx509err.hx509v3err.h
internal
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Hasn1.hbio.hcomp.hconf.hconstant_time.hcore.hcryptlib.hdane.hdeprecated.hder.hdso.hdsoerr.he_os.hendian.herr.hffc.hktls.hnamemap.hnelem.hnumbers.ho_dir.ho_str.hpacket.hparam_build_set.hpassphrase.hproperty.hpropertyerr.hprovider.hrefcount.hsha3.hsizes.hsm3.hsockets.hsslconf.hsymhacks.hthread_once.htlsgroups.htsan_assist.hunicode.h
openssl
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes.hasn1.hasn1.h.inasn1_mac.hasn1err.hasn1t.hasn1t.h.inasync.hasyncerr.hbio.hbio.h.inbioerr.hblowfish.hbn.hbnerr.hbuffer.hbuffererr.hcamellia.hcast.hcmac.hcmp.hcmp.h.incmp_util.hcmperr.hcms.hcms.h.incmserr.hcomp.hcomperr.hconf.hconf.h.inconf_api.hconferr.hconfiguration.hconfiguration.h.inconftypes.hcore.hcore_dispatch.hcore_names.hcore_object.hcrmf.hcrmf.h.incrmferr.hcrypto.hcrypto.h.incryptoerr.hcryptoerr_legacy.hct.hct.h.incterr.hdecoder.hdecodererr.hdes.hdh.hdherr.hdsa.hdsaerr.hdtls1.he_os2.hebcdic.hec.hecdh.hecdsa.hecerr.hencoder.hencodererr.hengine.hengineerr.herr.herr.h.iness.hess.h.inesserr.hevp.hevperr.hfips_names.hfipskey.hfipskey.h.inhmac.hhttp.hhttperr.hidea.hkdf.hkdferr.hlhash.hlhash.h.inmacros.hmd2.hmd4.hmd5.hmdc2.hmodes.hobj_mac.hobjects.hobjectserr.hocsp.hocsp.h.inocsperr.hopensslconf.hopensslconf.h.inopensslv.hopensslv.h.inossl_typ.hparam_build.hparams.hpem.hpem2.hpemerr.hpkcs12.hpkcs12.h.inpkcs12err.hpkcs7.hpkcs7.h.inpkcs7err.hprov_ssl.hproverr.hprovider.hrand.hrand_drbg.hranderr.hrc2.hrc4.hrc5.hripemd.hrsa.hrsaerr.hsafestack.hsafestack.h.inseed.hself_test.hsha.hsrp.hsrp.h.insrtp.hssl.hssl.h.inssl2.hssl3.hsslerr.hsslerr_legacy.hstack.hstore.hstoreerr.hsymhacks.htls1.htrace.hts.htserr.htxt_db.htypes.hui.hui.h.inuierr.hwhrlpool.hx509.hx509.h.inx509_vfy.hx509_vfy.h.inx509err.hx509v3.hx509v3.h.inx509v3err.h
x86
usr
local
include
crypto
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes_platform.haria.hasn1.hasn1_dsa.hasn1err.hasync.hasyncerr.hbioerr.hbn.hbn_conf.hbn_conf.h.inbn_dh.hbn_srp.hbnerr.hbuffererr.hchacha.hcmll_platform.hcmperr.hcmserr.hcomperr.hconferr.hcontext.hcrmferr.hcryptlib.hcryptoerr.hcterr.hctype.hdecoder.hdecodererr.hdes_platform.hdh.hdherr.hdsa.hdsaerr.hdso_conf.hdso_conf.h.inec.hecerr.hecx.hencoder.hencodererr.hengine.hengineerr.herr.hess.hesserr.hevp.hevperr.hhttperr.hlhash.hmd32_common.hmodes.hobjects.hobjectserr.hocsperr.hpem.hpemerr.hpkcs12err.hpkcs7.hpkcs7err.hpoly1305.hppc_arch.hpunycode.hrand.hrand_pool.hranderr.hriscv_arch.defriscv_arch.hrsa.hrsaerr.hsecurity_bits.hsha.hsiphash.hsiv.hsm2.hsm2err.hsm4.hsm4_platform.hsparc_arch.hsparse_array.hstore.hstoreerr.htserr.htypes.huierr.hx509.hx509err.hx509v3err.h
internal
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Hasn1.hbio.hcomp.hconf.hconstant_time.hcore.hcryptlib.hdane.hdeprecated.hder.hdso.hdsoerr.he_os.hendian.herr.hffc.hktls.hnamemap.hnelem.hnumbers.ho_dir.ho_str.hpacket.hparam_build_set.hpassphrase.hproperty.hpropertyerr.hprovider.hrefcount.hsha3.hsizes.hsm3.hsockets.hsslconf.hsymhacks.hthread_once.htlsgroups.htsan_assist.hunicode.h
openssl
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes.hasn1.hasn1.h.inasn1_mac.hasn1err.hasn1t.hasn1t.h.inasync.hasyncerr.hbio.hbio.h.inbioerr.hblowfish.hbn.hbnerr.hbuffer.hbuffererr.hcamellia.hcast.hcmac.hcmp.hcmp.h.incmp_util.hcmperr.hcms.hcms.h.incmserr.hcomp.hcomperr.hconf.hconf.h.inconf_api.hconferr.hconfiguration.hconfiguration.h.inconftypes.hcore.hcore_dispatch.hcore_names.hcore_object.hcrmf.hcrmf.h.incrmferr.hcrypto.hcrypto.h.incryptoerr.hcryptoerr_legacy.hct.hct.h.incterr.hdecoder.hdecodererr.hdes.hdh.hdherr.hdsa.hdsaerr.hdtls1.he_os2.hebcdic.hec.hecdh.hecdsa.hecerr.hencoder.hencodererr.hengine.hengineerr.herr.herr.h.iness.hess.h.inesserr.hevp.hevperr.hfips_names.hfipskey.hfipskey.h.inhmac.hhttp.hhttperr.hidea.hkdf.hkdferr.hlhash.hlhash.h.inmacros.hmd2.hmd4.hmd5.hmdc2.hmodes.hobj_mac.hobjects.hobjectserr.hocsp.hocsp.h.inocsperr.hopensslconf.hopensslconf.h.inopensslv.hopensslv.h.inossl_typ.hparam_build.hparams.hpem.hpem2.hpemerr.hpkcs12.hpkcs12.h.inpkcs12err.hpkcs7.hpkcs7.h.inpkcs7err.hprov_ssl.hproverr.hprovider.hrand.hrand_drbg.hranderr.hrc2.hrc4.hrc5.hripemd.hrsa.hrsaerr.hsafestack.hsafestack.h.inseed.hself_test.hsha.hsrp.hsrp.h.insrtp.hssl.hssl.h.inssl2.hssl3.hsslerr.hsslerr_legacy.hstack.hstore.hstoreerr.hsymhacks.htls1.htrace.hts.htserr.htxt_db.htypes.hui.hui.h.inuierr.hwhrlpool.hx509.hx509.h.inx509_vfy.hx509_vfy.h.inx509err.hx509v3.hx509v3.h.inx509v3err.h
x86_64
usr
local
include
crypto
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes_platform.haria.hasn1.hasn1_dsa.hasn1err.hasync.hasyncerr.hbioerr.hbn.hbn_conf.hbn_conf.h.inbn_dh.hbn_srp.hbnerr.hbuffererr.hchacha.hcmll_platform.hcmperr.hcmserr.hcomperr.hconferr.hcontext.hcrmferr.hcryptlib.hcryptoerr.hcterr.hctype.hdecoder.hdecodererr.hdes_platform.hdh.hdherr.hdsa.hdsaerr.hdso_conf.hdso_conf.h.inec.hecerr.hecx.hencoder.hencodererr.hengine.hengineerr.herr.hess.hesserr.hevp.hevperr.hhttperr.hlhash.hmd32_common.hmodes.hobjects.hobjectserr.hocsperr.hpem.hpemerr.hpkcs12err.hpkcs7.hpkcs7err.hpoly1305.hppc_arch.hpunycode.hrand.hrand_pool.hranderr.hriscv_arch.defriscv_arch.hrsa.hrsaerr.hsecurity_bits.hsha.hsiphash.hsiv.hsm2.hsm2err.hsm4.hsm4_platform.hsparc_arch.hsparse_array.hstore.hstoreerr.htserr.htypes.huierr.hx509.hx509err.hx509v3err.h
internal
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Hasn1.hbio.hcomp.hconf.hconstant_time.hcore.hcryptlib.hdane.hdeprecated.hder.hdso.hdsoerr.he_os.hendian.herr.hffc.hktls.hnamemap.hnelem.hnumbers.ho_dir.ho_str.hpacket.hparam_build_set.hpassphrase.hproperty.hpropertyerr.hprovider.hrefcount.hsha3.hsizes.hsm3.hsockets.hsslconf.hsymhacks.hthread_once.htlsgroups.htsan_assist.hunicode.h
openssl
__DECC_INCLUDE_EPILOGUE.H__DECC_INCLUDE_PROLOGUE.Haes.hasn1.hasn1.h.inasn1_mac.hasn1err.hasn1t.hasn1t.h.inasync.hasyncerr.hbio.hbio.h.inbioerr.hblowfish.hbn.hbnerr.hbuffer.hbuffererr.hcamellia.hcast.hcmac.hcmp.hcmp.h.incmp_util.hcmperr.hcms.hcms.h.incmserr.hcomp.hcomperr.hconf.hconf.h.inconf_api.hconferr.hconfiguration.hconfiguration.h.inconftypes.hcore.hcore_dispatch.hcore_names.hcore_object.hcrmf.hcrmf.h.incrmferr.hcrypto.hcrypto.h.incryptoerr.hcryptoerr_legacy.hct.hct.h.incterr.hdecoder.hdecodererr.hdes.hdh.hdherr.hdsa.hdsaerr.hdtls1.he_os2.hebcdic.hec.hecdh.hecdsa.hecerr.hencoder.hencodererr.hengine.hengineerr.herr.herr.h.iness.hess.h.inesserr.hevp.hevperr.hfips_names.hfipskey.hfipskey.h.inhmac.hhttp.hhttperr.hidea.hkdf.hkdferr.hlhash.hlhash.h.inmacros.hmd2.hmd4.hmd5.hmdc2.hmodes.hobj_mac.hobjects.hobjectserr.hocsp.hocsp.h.inocsperr.hopensslconf.hopensslconf.h.inopensslv.hopensslv.h.inossl_typ.hparam_build.hparams.hpem.hpem2.hpemerr.hpkcs12.hpkcs12.h.inpkcs12err.hpkcs7.hpkcs7.h.inpkcs7err.hprov_ssl.hproverr.hprovider.hrand.hrand_drbg.hranderr.hrc2.hrc4.hrc5.hripemd.hrsa.hrsaerr.hsafestack.hsafestack.h.inseed.hself_test.hsha.hsrp.hsrp.h.insrtp.hssl.hssl.h.inssl2.hssl3.hsslerr.hsslerr_legacy.hstack.hstore.hstoreerr.hsymhacks.htls1.htrace.hts.htserr.htxt_db.htypes.hui.hui.h.inuierr.hwhrlpool.hx509.hx509.h.inx509_vfy.hx509_vfy.h.inx509err.hx509v3.hx509v3.h.inx509v3err.h
lib
tools
@ -1,15 +1,21 @@
|
||||
/*
|
||||
* Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
|
||||
* Copyright 2015-2023 The OpenSSL Project Authors. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the OpenSSL license (the "License"). You may not use
|
||||
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
||||
* this file except in compliance with the License. You can obtain a copy
|
||||
* in the file LICENSE in the source distribution or at
|
||||
* https://www.openssl.org/source/license.html
|
||||
*/
|
||||
|
||||
#include "internal/refcount.h"
|
||||
#include <openssl/x509.h>
|
||||
#include <openssl/conf.h>
|
||||
#ifndef OSSL_CRYPTO_X509_H
|
||||
# define OSSL_CRYPTO_X509_H
|
||||
# pragma once
|
||||
|
||||
# include "internal/refcount.h"
|
||||
# include <openssl/asn1.h>
|
||||
# include <openssl/x509.h>
|
||||
# include <openssl/conf.h>
|
||||
# include "crypto/types.h"
|
||||
|
||||
/* Internal X509 structures and functions: not for application use */
|
||||
|
||||
@ -73,6 +79,11 @@ struct X509_req_st {
|
||||
ASN1_BIT_STRING *signature; /* signature */
|
||||
CRYPTO_REF_COUNT references;
|
||||
CRYPTO_RWLOCK *lock;
|
||||
|
||||
/* Set on live certificates for authentication purposes */
|
||||
ASN1_OCTET_STRING *distinguishing_id;
|
||||
OSSL_LIB_CTX *libctx;
|
||||
char *propq;
|
||||
};
|
||||
|
||||
struct X509_crl_info_st {
|
||||
@ -111,6 +122,9 @@ struct X509_crl_st {
|
||||
const X509_CRL_METHOD *meth;
|
||||
void *meth_data;
|
||||
CRYPTO_RWLOCK *lock;
|
||||
|
||||
OSSL_LIB_CTX *libctx;
|
||||
char *propq;
|
||||
};
|
||||
|
||||
struct x509_revoked_st {
|
||||
@ -177,7 +191,7 @@ struct x509_st {
|
||||
STACK_OF(DIST_POINT) *crldp;
|
||||
STACK_OF(GENERAL_NAME) *altname;
|
||||
NAME_CONSTRAINTS *nc;
|
||||
#ifndef OPENSSL_NO_RFC3779
|
||||
# ifndef OPENSSL_NO_RFC3779
|
||||
STACK_OF(IPAddressFamily) *rfc3779_addr;
|
||||
struct ASIdentifiers_st *rfc3779_asid;
|
||||
# endif
|
||||
@ -185,6 +199,12 @@ struct x509_st {
|
||||
X509_CERT_AUX *aux;
|
||||
CRYPTO_RWLOCK *lock;
|
||||
volatile int ex_cached;
|
||||
|
||||
/* Set on live certificates for authentication purposes */
|
||||
ASN1_OCTET_STRING *distinguishing_id;
|
||||
|
||||
OSSL_LIB_CTX *libctx;
|
||||
char *propq;
|
||||
} /* X509 */ ;
|
||||
|
||||
/*
|
||||
@ -193,7 +213,7 @@ struct x509_st {
|
||||
* kept and passed around.
|
||||
*/
|
||||
struct x509_store_ctx_st { /* X509_STORE_CTX */
|
||||
X509_STORE *ctx;
|
||||
X509_STORE *store;
|
||||
/* The following are set by the caller */
|
||||
/* The cert to check */
|
||||
X509 *cert;
|
||||
@ -223,8 +243,11 @@ struct x509_store_ctx_st { /* X509_STORE_CTX */
|
||||
int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
|
||||
/* Check policy status of the chain */
|
||||
int (*check_policy) (X509_STORE_CTX *ctx);
|
||||
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx, X509_NAME *nm);
|
||||
STACK_OF(X509_CRL) *(*lookup_crls) (X509_STORE_CTX *ctx, X509_NAME *nm);
|
||||
STACK_OF(X509) *(*lookup_certs) (X509_STORE_CTX *ctx,
|
||||
const X509_NAME *nm);
|
||||
/* cannot constify 'ctx' param due to lookup_certs_sk() in x509_vfy.c */
|
||||
STACK_OF(X509_CRL) *(*lookup_crls) (const X509_STORE_CTX *ctx,
|
||||
const X509_NAME *nm);
|
||||
int (*cleanup) (X509_STORE_CTX *ctx);
|
||||
/* The following is built up */
|
||||
/* if 0, rebuild chain */
|
||||
@ -255,6 +278,9 @@ struct x509_store_ctx_st { /* X509_STORE_CTX */
|
||||
SSL_DANE *dane;
|
||||
/* signed via bare TA public key, rather than CA certificate */
|
||||
int bare_ta_signed;
|
||||
|
||||
OSSL_LIB_CTX *libctx;
|
||||
char *propq;
|
||||
};
|
||||
|
||||
/* PKCS#8 private key info structure */
|
||||
@ -282,10 +308,63 @@ struct x509_object_st {
|
||||
} data;
|
||||
};
|
||||
|
||||
int a2i_ipadd(unsigned char *ipout, const char *ipasc);
|
||||
int x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
|
||||
int ossl_a2i_ipadd(unsigned char *ipout, const char *ipasc);
|
||||
int ossl_x509_set1_time(ASN1_TIME **ptm, const ASN1_TIME *tm);
|
||||
int ossl_x509_print_ex_brief(BIO *bio, X509 *cert, unsigned long neg_cflags);
|
||||
int ossl_x509v3_cache_extensions(X509 *x);
|
||||
int ossl_x509_init_sig_info(X509 *x);
|
||||
|
||||
void x509_init_sig_info(X509 *x);
|
||||
int ossl_x509_set0_libctx(X509 *x, OSSL_LIB_CTX *libctx, const char *propq);
|
||||
int ossl_x509_crl_set0_libctx(X509_CRL *x, OSSL_LIB_CTX *libctx,
|
||||
const char *propq);
|
||||
int ossl_x509_req_set0_libctx(X509_REQ *x, OSSL_LIB_CTX *libctx,
|
||||
const char *propq);
|
||||
int ossl_asn1_item_digest_ex(const ASN1_ITEM *it, const EVP_MD *type,
|
||||
void *data, unsigned char *md, unsigned int *len,
|
||||
OSSL_LIB_CTX *libctx, const char *propq);
|
||||
int ossl_x509_add_cert_new(STACK_OF(X509) **sk, X509 *cert, int flags);
|
||||
int ossl_x509_add_certs_new(STACK_OF(X509) **p_sk, STACK_OF(X509) *certs,
|
||||
int flags);
|
||||
|
||||
STACK_OF(X509_ATTRIBUTE) *ossl_x509at_dup(const STACK_OF(X509_ATTRIBUTE) *x);
|
||||
|
||||
int ossl_x509_PUBKEY_get0_libctx(OSSL_LIB_CTX **plibctx, const char **ppropq,
|
||||
const X509_PUBKEY *key);
|
||||
/* Calculate default key identifier according to RFC 5280 section 4.2.1.2 (1) */
|
||||
ASN1_OCTET_STRING *ossl_x509_pubkey_hash(X509_PUBKEY *pubkey);
|
||||
|
||||
X509_PUBKEY *ossl_d2i_X509_PUBKEY_INTERNAL(const unsigned char **pp,
|
||||
long len, OSSL_LIB_CTX *libctx);
|
||||
void ossl_X509_PUBKEY_INTERNAL_free(X509_PUBKEY *xpub);
|
||||
|
||||
RSA *ossl_d2i_RSA_PSS_PUBKEY(RSA **a, const unsigned char **pp, long length);
|
||||
int ossl_i2d_RSA_PSS_PUBKEY(const RSA *a, unsigned char **pp);
|
||||
# ifndef OPENSSL_NO_DSA
|
||||
DSA *ossl_d2i_DSA_PUBKEY(DSA **a, const unsigned char **pp, long length);
|
||||
# endif /* OPENSSL_NO_DSA */
|
||||
# ifndef OPENSSL_NO_DH
|
||||
DH *ossl_d2i_DH_PUBKEY(DH **a, const unsigned char **pp, long length);
|
||||
int ossl_i2d_DH_PUBKEY(const DH *a, unsigned char **pp);
|
||||
DH *ossl_d2i_DHx_PUBKEY(DH **a, const unsigned char **pp, long length);
|
||||
int ossl_i2d_DHx_PUBKEY(const DH *a, unsigned char **pp);
|
||||
# endif /* OPENSSL_NO_DH */
|
||||
# ifndef OPENSSL_NO_EC
|
||||
ECX_KEY *ossl_d2i_ED25519_PUBKEY(ECX_KEY **a,
|
||||
const unsigned char **pp, long length);
|
||||
int ossl_i2d_ED25519_PUBKEY(const ECX_KEY *a, unsigned char **pp);
|
||||
ECX_KEY *ossl_d2i_ED448_PUBKEY(ECX_KEY **a,
|
||||
const unsigned char **pp, long length);
|
||||
int ossl_i2d_ED448_PUBKEY(const ECX_KEY *a, unsigned char **pp);
|
||||
ECX_KEY *ossl_d2i_X25519_PUBKEY(ECX_KEY **a,
|
||||
const unsigned char **pp, long length);
|
||||
int ossl_i2d_X25519_PUBKEY(const ECX_KEY *a, unsigned char **pp);
|
||||
ECX_KEY *ossl_d2i_X448_PUBKEY(ECX_KEY **a,
|
||||
const unsigned char **pp, long length);
|
||||
int ossl_i2d_X448_PUBKEY(const ECX_KEY *a, unsigned char **pp);
|
||||
# endif /* OPENSSL_NO_EC */
|
||||
EVP_PKEY *ossl_d2i_PUBKEY_legacy(EVP_PKEY **a, const unsigned char **pp,
|
||||
long length);
|
||||
|
||||
int x509v3_add_len_value_uchar(const char *name, const unsigned char *value,
|
||||
size_t vallen, STACK_OF(CONF_VALUE) **extlist);
|
||||
#endif /* OSSL_CRYPTO_X509_H */
|
||||
|
Reference in New Issue
Block a user