/openssl/crypto/asn1/ |
H A D | tasn_scn.c | 35 void ASN1_SCTX_free(ASN1_SCTX *p) in ASN1_SCTX_free() 40 const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p) in ASN1_SCTX_get_item() 45 const ASN1_TEMPLATE *ASN1_SCTX_get_template(ASN1_SCTX *p) in ASN1_SCTX_get_template() 50 unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p) in ASN1_SCTX_get_flags() 55 void ASN1_SCTX_set_app_data(ASN1_SCTX *p, void *data) in ASN1_SCTX_set_app_data() 60 void *ASN1_SCTX_get_app_data(ASN1_SCTX *p) in ASN1_SCTX_get_app_data()
|
H A D | tasn_prn.c | 45 void ASN1_PCTX_free(ASN1_PCTX *p) in ASN1_PCTX_free() 50 unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p) in ASN1_PCTX_get_flags() 55 void ASN1_PCTX_set_flags(ASN1_PCTX *p, unsigned long flags) in ASN1_PCTX_set_flags() 60 unsigned long ASN1_PCTX_get_nm_flags(const ASN1_PCTX *p) in ASN1_PCTX_get_nm_flags() 65 void ASN1_PCTX_set_nm_flags(ASN1_PCTX *p, unsigned long flags) in ASN1_PCTX_set_nm_flags() 70 unsigned long ASN1_PCTX_get_cert_flags(const ASN1_PCTX *p) in ASN1_PCTX_get_cert_flags() 75 void ASN1_PCTX_set_cert_flags(ASN1_PCTX *p, unsigned long flags) in ASN1_PCTX_set_cert_flags() 80 unsigned long ASN1_PCTX_get_oid_flags(const ASN1_PCTX *p) in ASN1_PCTX_get_oid_flags() 85 void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags) in ASN1_PCTX_set_oid_flags() 90 unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p) in ASN1_PCTX_get_str_flags() [all …]
|
H A D | a_mbstr.c | 51 unsigned char *p; in ASN1_mbstring_ncopy() local 208 static int traverse_string(const unsigned char *p, int len, int inform, in traverse_string() 306 unsigned char **p, *q; in cpy_asc() local 318 unsigned char **p, *q; in cpy_bmp() local 331 unsigned char **p, *q; in cpy_univ() local 346 unsigned char **p; in cpy_utf8() local
|
H A D | asn1_lib.c | 20 static int _asn1_check_infinite_end(const unsigned char **p, long len) in _asn1_check_infinite_end() 36 int ASN1_check_infinite_end(unsigned char **p, long len) in ASN1_check_infinite_end() 41 int ASN1_const_check_infinite_end(const unsigned char **p, long len) in ASN1_const_check_infinite_end() 51 const unsigned char *p = *pp; in ASN1_get_object() local 119 const unsigned char *p = *pp; in asn1_get_length() local 163 unsigned char *p = *pp; in ASN1_put_object() local 192 unsigned char *p = *pp; in ASN1_put_eoc() local 202 unsigned char *p = *pp; in asn1_put_length() local 442 char *p; in ossl_sk_ASN1_UTF8STRING2text() local
|
H A D | a_object.c | 23 unsigned char *p, *allocated = NULL; in i2d_ASN1_OBJECT() local 56 const char *p; in a2d_ASN1_OBJECT() local 184 char buf[80], *p = buf; in i2a_ASN1_OBJECT() local 214 const unsigned char *p; in d2i_ASN1_OBJECT() local 243 const unsigned char *p; in ossl_c2i_ASN1_OBJECT() local
|
/openssl/crypto/ |
H A D | params.c | 80 int OSSL_PARAM_modified(const OSSL_PARAM *p) in OSSL_PARAM_modified() 85 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p) in OSSL_PARAM_set_all_unmodified() 264 int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val) in OSSL_PARAM_get_int() 277 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val) in OSSL_PARAM_set_int() 340 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val) in OSSL_PARAM_set_long() 470 int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val) in OSSL_PARAM_set_int32() 625 int OSSL_PARAM_set_uint32(OSSL_PARAM *p, uint32_t val) in OSSL_PARAM_set_uint32() 772 int OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val) in OSSL_PARAM_set_int64() 1018 int OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val) in OSSL_PARAM_set_size_t() 1050 int OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val) in OSSL_PARAM_set_time_t() [all …]
|
H A D | param_build_set.c | 33 int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_long() 44 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_utf8_string() 55 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_octet_string() 69 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn_pad() 86 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, in ossl_param_build_set_bn() 103 OSSL_PARAM *p; in ossl_param_build_set_multi_key_bn() local
|
H A D | threads_pthread.c | 110 static inline void *apple_atomic_load_n_pvoid(void **p, in apple_atomic_load_n_pvoid() 124 # define ATOMIC_LOAD_N(t, p, o) apple_atomic_load_n_##t(p, o) argument 126 # define ATOMIC_LOAD_N(t, p, o) __atomic_load_n(p, o) argument 128 # define ATOMIC_STORE_N(t, p, v, o) __atomic_store_n(p, v, o) argument 129 # define ATOMIC_STORE(t, p, v, o) __atomic_store(p, v, o) argument 131 # define ATOMIC_ADD_FETCH(p, v, o) __atomic_add_fetch(p, v, o) argument 132 # define ATOMIC_FETCH_ADD(p, v, o) __atomic_fetch_add(p, v, o) argument 135 # define ATOMIC_OR_FETCH(p, m, o) __atomic_or_fetch(p, m, o) argument 153 # define ATOMIC_LOAD_N(t, p, o) fallback_atomic_load_n_##t(p) in IMPL_fallback_atomic_load_n() argument 655 void *ossl_rcu_uptr_deref(void **p) in ossl_rcu_uptr_deref() [all …]
|
/openssl/test/ |
H A D | asn1_decode_test.c | 49 const unsigned char *p = t_invalid_zero; variable 76 const unsigned char *p = t_invalid_zero; variable 102 const unsigned char *p = t_invalid_zero; variable 128 const unsigned char *p = t_invalid_zero; variable 154 const unsigned char *p = t_invalid_zero; variable 174 const unsigned char *p; in test_gentime() local 198 const unsigned char *p; in test_utctime() local 238 const unsigned char *p = t_invalid_template; in test_invalid_template() local 258 unsigned char const *p = oid_der; in test_reuse_asn1_object() local
|
H A D | rsa_sp800_56b_test.c | 139 BIGNUM *p = NULL; in test_check_prime_factor_range() local 185 BIGNUM *p = NULL, *e = NULL; in test_check_prime_factor() local 226 BIGNUM *p = NULL, *q = NULL, *e = NULL, *d = NULL, *n = NULL; in test_check_private_exponent() local 287 BIGNUM *p = NULL, *q = NULL, *e = NULL; in test_check_crt_components() local 350 int p, q, e; member 361 BIGNUM *p = NULL, *q = NULL, *e = NULL; in test_derive_params_from_pq_fail() local 389 BIGNUM *tmp = NULL, *p = NULL, *q = NULL; in test_pq_diff() local 415 BIGNUM *p = NULL, *q = NULL, *n = NULL, *e = NULL, *d = NULL; in test_invalid_keypair() local
|
H A D | secmemtest.c | 19 char *p = NULL, *q = NULL, *r = NULL, *s = NULL; in test_sec_mem() local 140 unsigned char *p = NULL; in test_sec_mem_clear() local
|
H A D | x509_test.c | 96 const unsigned char *p = certdata; in test_x509_tbs_cache() local 114 const unsigned char *p = crldata; in test_x509_crl_tbs_cache() local 183 const unsigned char *p; in setup_tests() local
|
/openssl/include/internal/ |
H A D | list.h | 23 # define OSSL_LIST_FOREACH_FROM(p, name, init) \ argument 27 # define OSSL_LIST_FOREACH(p, name, l) \ argument 30 # define OSSL_LIST_FOREACH_REV_FROM(p, name, init) \ argument 34 # define OSSL_LIST_FOREACH_REV(p, name, l) \ argument 37 # define OSSL_LIST_FOREACH_DELSAFE_FROM(p, pn, name, init) \ argument 41 #define OSSL_LIST_FOREACH_DELSAFE(p, pn, name, l) \ argument 44 # define OSSL_LIST_FOREACH_REV_DELSAFE_FROM(p, pn, name, init) \ argument 48 # define OSSL_LIST_FOREACH_REV_DELSAFE(p, pn, name, l) \ argument
|
H A D | rcu.h | 30 #define ossl_rcu_deref(p) ossl_rcu_uptr_deref((void **)p) argument 31 #define ossl_rcu_assign_ptr(p,v) ossl_rcu_assign_uptr((void **)p, (void **)v) argument
|
/openssl/crypto/evp/ |
H A D | dsa_ctrl.c | 33 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_type() local 48 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_gindex() local 64 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_seed() local 79 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_bits() local 94 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_q_bits() local 111 OSSL_PARAM params[3], *p = params; in EVP_PKEY_CTX_set_dsa_paramgen_md_props() local
|
H A D | dh_ctrl.c | 52 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_gindex() local 68 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_seed() local 93 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_prime_len() local 107 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_subprime_len() local 122 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_paramgen_generator() local 240 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_dh_kdf_outlen() local 269 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_dh_kdf_outlen() local 293 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set0_dh_kdf_ukm() local 324 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get0_dh_kdf_ukm() local
|
H A D | ec_ctrl.c | 43 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_ecdh_cofactor_mode() local 73 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_ecdh_cofactor_mode() local 151 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set_ecdh_kdf_outlen() local 180 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get_ecdh_kdf_outlen() local 213 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_set0_ecdh_kdf_ukm() local 247 OSSL_PARAM params[2], *p = params; in EVP_PKEY_CTX_get0_ecdh_kdf_ukm() local
|
/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 18 const OSSL_PARAM *p, *s; in ossl_rsa_acvp_test_gen_params_new() local 67 OSSL_PARAM *p; in ossl_rsa_acvp_test_gen_params_free() local 82 const OSSL_PARAM *p; in ossl_rsa_acvp_test_set_params() local 128 OSSL_PARAM *p; in ossl_rsa_acvp_test_get_params() local
|
/openssl/crypto/ct/ |
H A D | ct_oct.c | 28 const unsigned char *p; in o2i_SCT_signature() local 73 const unsigned char *p; in o2i_SCT() local 156 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT_signature() local 201 unsigned char *p = NULL, *pstart = NULL; in i2o_SCT() local 321 unsigned char *p = NULL, *p2; in i2o_SCT_LIST() local 375 const unsigned char *p; in STACK_OF() local
|
/openssl/crypto/bn/ |
H A D | bn_s390x.c | 23 static int s390x_mod_exp_hw(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in s390x_mod_exp_hw() 71 int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in s390x_mod_exp() 79 int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q, in s390x_crt() 149 int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, in s390x_mod_exp() 155 int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q, in s390x_crt()
|
H A D | bn_gf2m.c | 293 int BN_GF2m_mod_arr(BIGNUM *r, const BIGNUM *a, const int p[]) in BN_GF2m_mod_arr() 391 int BN_GF2m_mod(BIGNUM *r, const BIGNUM *a, const BIGNUM *p) in BN_GF2m_mod() 412 const int p[], BN_CTX *ctx) in BN_GF2m_mod_mul_arr() 467 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_mul() 559 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_inv_vartime() 803 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_div() 836 const int p[], BN_CTX *ctx) in BN_GF2m_mod_div_arr() 864 const int p[], BN_CTX *ctx) in BN_GF2m_mod_exp_arr() 910 const BIGNUM *p, BN_CTX *ctx) in BN_GF2m_mod_exp() 1148 int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max) in BN_GF2m_poly2arr() [all …]
|
/openssl/crypto/poly1305/ |
H A D | poly1305_ieee754.c | 60 #define TWO(p) ((double)(1ULL<<(p))) argument 67 #define EXP(p) ((1023ULL+(p))<<52) argument 70 # define U8TOU32(p) (*(const u32 *)(p)) argument 71 # define U32TO8(p,v) (*(u32 *)(p) = (v)) argument 73 # define U8TOU32(p) ({u32 ret; asm ("lwbrx %0,0,%1":"=r"(ret):"b"(p)); ret; }) argument 74 # define U32TO8(p,v) asm ("stwbrx %0,0,%1"::"r"(v),"b"(p):"memory") argument 76 # define U8TOU32(p) ({u32 ret; asm ("lrv %0,%1":"=d"(ret):"m"(*(u32 *)(p))); ret; }) argument 77 # define U32TO8(p,v) asm ("strv %1,%0":"=m"(*(u32 *)(p)):"d"(v)) argument 81 # define U8TOU32(p) ((u32)(p)[0] | (u32)(p)[1]<<8 | \ argument 85 # define U32TO8(p,v) ((p)[0] = (u8)(v), (p)[1] = (u8)((v)>>8), \ argument
|
/openssl/crypto/ec/ |
H A D | ec_cvt.c | 21 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, in EC_GROUP_new_curve_GFp() 70 EC_GROUP *EC_GROUP_new_curve_GF2m(const BIGNUM *p, const BIGNUM *a, in EC_GROUP_new_curve_GF2m()
|
/openssl/test/helpers/ |
H A D | predefined_dhparams.c | 19 BIGNUM *p, BIGNUM *g, BIGNUM *q) in get_dh_from_pg_bn() 54 BIGNUM *p = NULL, *g = NULL, *q = NULL; in get_dh_from_pg() local 154 BIGNUM *p = NULL, *g = NULL; in get_dh2048() local 175 BIGNUM *p = NULL, *g = NULL; in get_dh4096() local
|
/openssl/providers/implementations/digests/ |
H A D | blake2_impl.h | 65 uint8_t *p = (uint8_t *)dst; in store32() local 80 uint8_t *p = (uint8_t *)dst; in store64() local 101 uint8_t *p = (uint8_t *)dst; in store48() local
|