/openssl/crypto/x509/ |
H A D | x509_ext.c | 19 int X509_CRL_get_ext_count(const X509_CRL *x) in X509_CRL_get_ext_count() 40 X509_EXTENSION *X509_CRL_get_ext(const X509_CRL *x, int loc) in X509_CRL_get_ext() 45 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc) in X509_CRL_delete_ext() 61 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc) in X509_CRL_add_ext() 66 int X509_get_ext_count(const X509 *x) in X509_get_ext_count() 71 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() 87 X509_EXTENSION *X509_get_ext(const X509 *x, int loc) in X509_get_ext() 92 X509_EXTENSION *X509_delete_ext(X509 *x, int loc) in X509_delete_ext() 97 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc) in X509_add_ext() 107 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit, in X509_add1_ext_i2d() [all …]
|
H A D | x509_acert.c | 121 long X509_ACERT_get_version(const X509_ACERT *x) in X509_ACERT_get_version() 126 void X509_ACERT_get0_signature(const X509_ACERT *x, in X509_ACERT_get0_signature() 136 int X509_ACERT_get_signature_nid(const X509_ACERT *x) in X509_ACERT_get_signature_nid() 156 const X509_NAME *X509_ACERT_get0_issuerName(const X509_ACERT *x) in X509_ACERT_get0_issuerName() 165 const ASN1_BIT_STRING *X509_ACERT_get0_issuerUID(const X509_ACERT *x) in X509_ACERT_get0_issuerUID() 170 const X509_ALGOR *X509_ACERT_get0_info_sigalg(const X509_ACERT *x) in X509_ACERT_get0_info_sigalg() 192 int X509_ACERT_get_attr_count(const X509_ACERT *x) in X509_ACERT_get_attr_count() 208 X509_ATTRIBUTE *X509_ACERT_get_attr(const X509_ACERT *x, int loc) in X509_ACERT_get_attr() 213 X509_ATTRIBUTE *X509_ACERT_delete_attr(X509_ACERT *x, int loc) in X509_ACERT_delete_attr() 218 int X509_ACERT_add1_attr(X509_ACERT *x, X509_ATTRIBUTE *attr) in X509_ACERT_add1_attr() [all …]
|
H A D | x509_set.c | 22 int X509_set_version(X509 *x, long version) in X509_set_version() 105 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey) in X509_set_pubkey() 115 int X509_up_ref(X509 *x) in X509_up_ref() 127 long X509_get_version(const X509 *x) in X509_get_version() 132 const ASN1_TIME *X509_get0_notBefore(const X509 *x) in X509_get0_notBefore() 137 const ASN1_TIME *X509_get0_notAfter(const X509 *x) in X509_get0_notAfter() 142 ASN1_TIME *X509_getm_notBefore(const X509 *x) in X509_getm_notBefore() 147 ASN1_TIME *X509_getm_notAfter(const X509 *x) in X509_getm_notAfter() 152 int X509_get_signature_type(const X509 *x) in X509_get_signature_type() 157 X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x) in X509_get_X509_PUBKEY() [all …]
|
H A D | x_x509a.c | 41 static X509_CERT_AUX *aux_get(X509 *x) in aux_get() 50 int X509_alias_set1(X509 *x, const unsigned char *name, int len) in X509_alias_set1() 67 int X509_keyid_set1(X509 *x, const unsigned char *id, int len) in X509_keyid_set1() 85 unsigned char *X509_alias_get0(X509 *x, int *len) in X509_alias_get0() 94 unsigned char *X509_keyid_get0(X509 *x, int *len) in X509_keyid_get0() 103 int X509_add1_trust_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_trust_object() 124 int X509_add1_reject_object(X509 *x, const ASN1_OBJECT *obj) in X509_add1_reject_object() 146 void X509_trust_clear(X509 *x) in X509_trust_clear() 154 void X509_reject_clear(X509 *x) in X509_reject_clear()
|
H A D | v3_purp.c | 352 static int setup_crldp(X509 *x) in setup_crldp() 386 #define ku_reject(x, usage) \ argument 388 #define xku_reject(x, usage) \ argument 390 #define ns_reject(x, usage) \ argument 653 static int check_ca(const X509 *x) in check_ca() 679 void X509_set_proxy_flag(X509 *x) in X509_set_proxy_flag() 692 int X509_check_ca(X509 *x) in X509_check_ca() 702 static int check_ssl_ca(const X509 *x) in check_ssl_ca() 1047 uint32_t X509_get_key_usage(X509 *x) in X509_get_key_usage() 1095 long X509_get_pathlen(X509 *x) in X509_get_pathlen() [all …]
|
H A D | x509aset.c | 119 int X509_ACERT_set_version(X509_ACERT *x, long version) in X509_ACERT_set_version() 124 void X509_ACERT_set0_holder_entityName(X509_ACERT *x, GENERAL_NAMES *names) in X509_ACERT_set0_holder_entityName() 130 void X509_ACERT_set0_holder_baseCertId(X509_ACERT *x, in X509_ACERT_set0_holder_baseCertId() 137 void X509_ACERT_set0_holder_digest(X509_ACERT *x, in X509_ACERT_set0_holder_digest() 144 int X509_ACERT_set1_issuerName(X509_ACERT *x, const X509_NAME *name) in X509_ACERT_set1_issuerName() 164 int X509_ACERT_set1_serialNumber(X509_ACERT *x, const ASN1_INTEGER *serial) in X509_ACERT_set1_serialNumber() 169 int X509_ACERT_set1_notBefore(X509_ACERT *x, const ASN1_GENERALIZEDTIME *time) in X509_ACERT_set1_notBefore() 174 int X509_ACERT_set1_notAfter(X509_ACERT *x, const ASN1_GENERALIZEDTIME *time) in X509_ACERT_set1_notAfter()
|
H A D | x509rset.c | 18 int X509_REQ_set_version(X509_REQ *x, long version) in X509_REQ_set_version() 28 int X509_REQ_set_subject_name(X509_REQ *x, const X509_NAME *name) in X509_REQ_set_subject_name() 36 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey) in X509_REQ_set_pubkey()
|
H A D | x509cset.c | 19 int X509_CRL_set_version(X509_CRL *x, long version) in X509_CRL_set_version() 33 int X509_CRL_set_issuer_name(X509_CRL *x, const X509_NAME *name) in X509_CRL_set_issuer_name() 43 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate() 50 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_nextUpdate() 142 const ASN1_TIME *X509_REVOKED_get0_revocationDate(const X509_REVOKED *x) in X509_REVOKED_get0_revocationDate() 147 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) in X509_REVOKED_set_revocationDate() 154 const ASN1_INTEGER *X509_REVOKED_get0_serialNumber(const X509_REVOKED *x) in X509_REVOKED_get0_serialNumber() 159 int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial) in X509_REVOKED_set_serialNumber()
|
H A D | t_crl.c | 19 int X509_CRL_print_fp(FILE *fp, X509_CRL *x) in X509_CRL_print_fp() 35 int X509_CRL_print(BIO *out, X509_CRL *x) in X509_CRL_print() 40 int X509_CRL_print_ex(BIO *out, X509_CRL *x, unsigned long nmflag) in X509_CRL_print_ex()
|
H A D | x509_cmp.c | 108 unsigned long X509_issuer_name_hash(X509 *x) in X509_issuer_name_hash() 114 unsigned long X509_issuer_name_hash_old(X509 *x) in X509_issuer_name_hash_old() 135 unsigned long X509_subject_name_hash(X509 *x) in X509_subject_name_hash() 141 unsigned long X509_subject_name_hash_old(X509 *x) in X509_subject_name_hash_old() 289 unsigned long X509_NAME_hash_ex(const X509_NAME *x, OSSL_LIB_CTX *libctx, in X509_NAME_hash_ex() 318 unsigned long X509_NAME_hash_old(const X509_NAME *x) in X509_NAME_hash_old() 352 X509 x, *x509 = NULL; in X509_find_by_issuer_and_serial() local 381 EVP_PKEY *X509_get0_pubkey(const X509 *x) in X509_get0_pubkey() 388 EVP_PKEY *X509_get_pubkey(X509 *x) in X509_get_pubkey() 406 int ossl_x509_check_private_key(const EVP_PKEY *x, const EVP_PKEY *pkey) in ossl_x509_check_private_key() [all …]
|
/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 23 int OCSP_REQUEST_get_ext_count(OCSP_REQUEST *x) in OCSP_REQUEST_get_ext_count() 47 X509_EXTENSION *OCSP_REQUEST_get_ext(OCSP_REQUEST *x, int loc) in OCSP_REQUEST_get_ext() 77 int OCSP_ONEREQ_get_ext_count(OCSP_ONEREQ *x) in OCSP_ONEREQ_get_ext_count() 99 X509_EXTENSION *OCSP_ONEREQ_get_ext(OCSP_ONEREQ *x, int loc) in OCSP_ONEREQ_get_ext() 104 X509_EXTENSION *OCSP_ONEREQ_delete_ext(OCSP_ONEREQ *x, int loc) in OCSP_ONEREQ_delete_ext() 128 int OCSP_BASICRESP_get_ext_count(OCSP_BASICRESP *x) in OCSP_BASICRESP_get_ext_count() 185 int OCSP_SINGLERESP_get_ext_count(OCSP_SINGLERESP *x) in OCSP_SINGLERESP_get_ext_count() 362 X509_EXTENSION *x = NULL; in OCSP_crlID_new() local 397 X509_EXTENSION *x = NULL; in OCSP_accept_responses_new() local 415 X509_EXTENSION *x = NULL; in OCSP_archive_cutoff_new() local [all …]
|
/openssl/crypto/sha/ |
H A D | sha512.c | 434 # define PULL64(x) ({ SHA_LONG64 ret; \ argument 450 # define PULL64(x) ({ SHA_LONG64 ret; \ argument 489 # define Sigma0(x) ({ SHA_LONG64 ret; \ argument 493 # define Sigma1(x) ({ SHA_LONG64 ret; \ argument 497 # define sigma0(x) ({ SHA_LONG64 ret; \ argument 501 # define sigma1(x) ({ SHA_LONG64 ret; \ argument 545 static SHA_LONG64 __fastcall __pull64be(const void *x) in __pull64be() 557 static SHA_LONG64 __fastcall __pull64be(const void *x) in __pull64be() 565 # define PULL64(x) __pull64be(&(x)) argument 574 # define ROTR(x,s) (((x)>>s) | (x)<<(64-s)) argument [all …]
|
H A D | sha256.c | 156 # define Sigma0(x) ({ MD32_REG_T ret; \ argument 160 # define Sigma1(x) ({ MD32_REG_T ret; \ argument 164 # define sigma0(x) ({ MD32_REG_T ret; \ argument 168 # define sigma1(x) ({ MD32_REG_T ret; \ argument 174 # define Ch(x,y,z) ({ MD32_REG_T ret; \ argument 178 # define Maj(x,y,z) ({ MD32_REG_T ret; \ argument 195 # define Sigma1(x) (ROTATE((x),26) ^ ROTATE((x),21) ^ ROTATE((x),7)) argument 198 # define sigma0(x) (ROTATE((x),25) ^ ROTATE((x),14) ^ ((x)>>3)) argument 201 # define sigma1(x) (ROTATE((x),15) ^ ROTATE((x),13) ^ ((x)>>10)) argument 204 # define Ch(x,y,z) (((x) & (y)) ^ ((~(x)) & (z))) argument [all …]
|
/openssl/test/ |
H A D | json_test.c | 66 #define OP_P(x) { (x) }, argument 67 #define OP_U64(x) { NULL, (x) }, argument 68 #define OP_I64(x) { NULL, 0, (x) }, argument 69 #define OP_D(x) { NULL, 0, 0, (x) }, argument 70 #define OP_FP(x) { NULL, 0, 0, 0, (void (*)(void))(x) }, argument 119 #define OPJ_BOOL(x) OP_CALL_I(ossl_json_bool, (x)) argument 120 #define OPJ_U64(x) OP_CALL_U64(ossl_json_u64, (x)) argument 121 #define OPJ_I64(x) OP_CALL_I64(ossl_json_i64, (x)) argument 122 #define OPJ_F64(x) OP_CALL_D(ossl_json_f64, (x)) argument 123 #define OPJ_KEY(x) OP_CALL_P(ossl_json_key, (x)) argument [all …]
|
/openssl/ssl/statem/ |
H A D | extensions_clnt.c | 115 X509 *x, size_t chainidx) in tls_construct_ctos_srp() 1260 X509 *x, size_t chainidx) in tls_parse_stoc_renegotiate() 1354 X509 *x, size_t chainidx) in tls_parse_stoc_server_name() 1493 X509 *x, size_t chainidx) in tls_parse_stoc_sct() 1576 X509 *x, size_t chainidx) in tls_parse_stoc_npn() 1629 X509 *x, size_t chainidx) in tls_parse_stoc_alpn() 1767 X509 *x, size_t chainidx) in tls_parse_stoc_etm() 1783 X509 *x, size_t chainidx) in tls_parse_stoc_ems() 1971 X509 *x, size_t chainidx) in tls_parse_stoc_cookie() 1987 X509 *x, size_t chainidx) in tls_parse_stoc_early_data() [all …]
|
H A D | extensions_srvr.c | 43 X509 *x, size_t chainidx) in tls_parse_ctos_renegotiate() 220 X509 *x, size_t chainidx) in tls_parse_ctos_srp() 241 X509 *x, size_t chainidx) in tls_parse_ctos_ec_pt_formats() 280 ossl_unused X509 *x, in tls_parse_ctos_sig_algs_cert() 425 X509 *x, size_t chainidx) in tls_parse_ctos_npn() 443 X509 *x, size_t chainidx) in tls_parse_ctos_alpn() 548 X509 *x, size_t chainidx) in tls_parse_ctos_etm() 724 X509 *x, size_t chainidx) in tls_parse_ctos_cookie() 963 X509 *x, size_t chainidx) in tls_parse_ctos_ems() 981 X509 *x, size_t chainidx) in tls_parse_ctos_early_data() [all …]
|
/openssl/ssl/quic/ |
H A D | uint_set.c | 67 UINT_SET_ITEM *x, *xnext; in ossl_uint_set_destroy() local 76 static void uint_set_merge_adjacent(UINT_SET *s, UINT_SET_ITEM *x) in uint_set_merge_adjacent() 91 static uint64_t u64_min(uint64_t x, uint64_t y) in u64_min() 96 static uint64_t u64_max(uint64_t x, uint64_t y) in u64_max() 114 UINT_SET_ITEM *x = OPENSSL_malloc(sizeof(UINT_SET_ITEM)); in create_set_item() local 127 UINT_SET_ITEM *x, *xnext, *z, *zprev, *f; in ossl_uint_set_insert() local 320 UINT_SET_ITEM *x; in ossl_uint_set_query() local
|
/openssl/crypto/dsa/ |
H A D | dsa_prn.c | 22 int DSA_print_fp(FILE *fp, const DSA *x, int off) in DSA_print_fp() 37 int DSAparams_print_fp(FILE *fp, const DSA *x) in DSAparams_print_fp() 53 int DSA_print(BIO *bp, const DSA *x, int off) in DSA_print() 67 int DSAparams_print(BIO *bp, const DSA *x) in DSAparams_print()
|
/openssl/engines/ |
H A D | e_afalg.h | 19 # define ALG_DGB(x, ...) fprintf(stderr, "ALG_DBG: " x, __VA_ARGS__) argument 20 # define ALG_INFO(x, ...) fprintf(stderr, "ALG_INFO: " x, __VA_ARGS__) argument 21 # define ALG_WARN(x, ...) fprintf(stderr, "ALG_WARN: " x, __VA_ARGS__) argument 23 # define ALG_DGB(x, ...) argument 24 # define ALG_INFO(x, ...) argument 25 # define ALG_WARN(x, ...) argument 28 # define ALG_ERR(x, ...) fprintf(stderr, "ALG_ERR: " x, __VA_ARGS__) argument 29 # define ALG_PERR(x, ...) \ argument 34 # define ALG_PWARN(x, ...) \ argument
|
/openssl/crypto/pem/ |
H A D | pem_pk8.c | 41 int PEM_write_bio_PKCS8PrivateKey_nid(BIO *bp, const EVP_PKEY *x, int nid, in PEM_write_bio_PKCS8PrivateKey_nid() 48 int PEM_write_bio_PKCS8PrivateKey(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, in PEM_write_bio_PKCS8PrivateKey() 55 int i2d_PKCS8PrivateKey_bio(BIO *bp, const EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_bio() 62 int i2d_PKCS8PrivateKey_nid_bio(BIO *bp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_bio() 69 static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey() 169 EVP_PKEY *d2i_PKCS8PrivateKey_bio(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in d2i_PKCS8PrivateKey_bio() 208 int i2d_PKCS8PrivateKey_fp(FILE *fp, const EVP_PKEY *x, const EVP_CIPHER *enc, in i2d_PKCS8PrivateKey_fp() 215 int i2d_PKCS8PrivateKey_nid_fp(FILE *fp, const EVP_PKEY *x, int nid, in i2d_PKCS8PrivateKey_nid_fp() 222 int PEM_write_PKCS8PrivateKey_nid(FILE *fp, const EVP_PKEY *x, int nid, in PEM_write_PKCS8PrivateKey_nid() 236 static int do_pk8pkey_fp(FILE *fp, const EVP_PKEY *x, int isder, int nid, in do_pk8pkey_fp() [all …]
|
H A D | pem_pkey.c | 33 static EVP_PKEY *pem_read_bio_key_decoder(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_decoder() 99 static EVP_PKEY *pem_read_bio_key_legacy(BIO *bp, EVP_PKEY **x, in pem_read_bio_key_legacy() 214 static EVP_PKEY *pem_read_bio_key(BIO *bp, EVP_PKEY **x, in pem_read_bio_key() 262 EVP_PKEY *PEM_read_bio_PUBKEY_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PUBKEY_ex() 270 EVP_PKEY *PEM_read_bio_PUBKEY(BIO *bp, EVP_PKEY **x, pem_password_cb *cb, in PEM_read_bio_PUBKEY() 277 EVP_PKEY *PEM_read_PUBKEY_ex(FILE *fp, EVP_PKEY **x, in PEM_read_PUBKEY_ex() 300 EVP_PKEY *PEM_read_bio_PrivateKey_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_PrivateKey_ex() 339 int PEM_write_bio_PrivateKey_traditional(BIO *bp, const EVP_PKEY *x, in PEM_write_bio_PrivateKey_traditional() 374 EVP_PKEY *PEM_read_bio_Parameters_ex(BIO *bp, EVP_PKEY **x, in PEM_read_bio_Parameters_ex() 385 EVP_PKEY *PEM_read_bio_Parameters(BIO *bp, EVP_PKEY **x) in PEM_read_bio_Parameters() [all …]
|
/openssl/ssl/ |
H A D | ssl_txt.c | 18 int SSL_SESSION_print_fp(FILE *fp, const SSL_SESSION *x) in SSL_SESSION_print_fp() 34 int SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print() 171 int SSL_SESSION_print_keylog(BIO *bp, const SSL_SESSION *x) in SSL_SESSION_print_keylog()
|
/openssl/include/openssl/ |
H A D | dh.h | 177 # define d2i_DHparams_fp(fp, x) \ argument 182 # define i2d_DHparams_fp(fp, x) \ argument 184 # define d2i_DHparams_bio(bp, x) \ argument 186 # define i2d_DHparams_bio(bp, x) \ argument 189 # define d2i_DHxparams_fp(fp,x) \ argument 194 # define i2d_DHxparams_fp(fp, x) \ argument 196 # define d2i_DHxparams_bio(bp, x) \ argument 198 # define i2d_DHxparams_bio(bp, x) \ argument
|
/openssl/crypto/asn1/ |
H A D | a_d2i_fp.c | 22 void *ASN1_d2i_fp(void *(*xnew) (void), d2i_of_void *d2i, FILE *in, void **x) in ASN1_d2i_fp() argument 38 void *ASN1_d2i_bio(void *(*xnew) (void), d2i_of_void *d2i, BIO *in, void **x) in ASN1_d2i_bio() argument 58 void *ASN1_item_d2i_bio_ex(const ASN1_ITEM *it, BIO *in, void *x, in ASN1_item_d2i_bio_ex() 79 void *ASN1_item_d2i_bio(const ASN1_ITEM *it, BIO *in, void *x) in ASN1_item_d2i_bio() 85 void *ASN1_item_d2i_fp_ex(const ASN1_ITEM *it, FILE *in, void *x, in ASN1_item_d2i_fp_ex() 101 void *ASN1_item_d2i_fp(const ASN1_ITEM *it, FILE *in, void *x) in ASN1_item_d2i_fp()
|
H A D | a_i2d_fp.c | 18 int ASN1_i2d_fp(i2d_of_void *i2d, FILE *out, const void *x) in ASN1_i2d_fp() 34 int ASN1_i2d_bio(i2d_of_void *i2d, BIO *out, const void *x) in ASN1_i2d_bio() 69 int ASN1_item_i2d_fp(const ASN1_ITEM *it, FILE *out, const void *x) in ASN1_item_i2d_fp() 85 int ASN1_item_i2d_bio(const ASN1_ITEM *it, BIO *out, const void *x) in ASN1_item_i2d_bio()
|