| /include/openssl/ |
| A D | params.h | 117 int OSSL_PARAM_set_int(OSSL_PARAM *p, int val); 119 int OSSL_PARAM_set_long(OSSL_PARAM *p, long int val); 121 int OSSL_PARAM_set_int32(OSSL_PARAM *p, int32_t val); 123 int OSSL_PARAM_set_int64(OSSL_PARAM *p, int64_t val); 125 int OSSL_PARAM_set_size_t(OSSL_PARAM *p, size_t val); 126 int OSSL_PARAM_set_time_t(OSSL_PARAM *p, time_t val); 129 int OSSL_PARAM_set_double(OSSL_PARAM *p, double val); 153 int OSSL_PARAM_modified(const OSSL_PARAM *p); 154 void OSSL_PARAM_set_all_unmodified(OSSL_PARAM *p); 156 OSSL_PARAM *OSSL_PARAM_dup(const OSSL_PARAM *p); [all …]
|
| A D | bn.h | 369 int BN_is_prime(const BIGNUM *p, int nchecks, 373 int BN_is_prime_fasttest(const BIGNUM *p, int nchecks, 487 const BIGNUM *p, BN_CTX *ctx); 494 const BIGNUM *p, BN_CTX *ctx); 497 const BIGNUM *p, BN_CTX *ctx); 515 const int p[], BN_CTX *ctx); 524 const int p[], BN_CTX *ctx); 527 const int p[], BN_CTX *ctx); 530 const int p[], BN_CTX *ctx); 534 int BN_GF2m_poly2arr(const BIGNUM *a, int p[], int max); [all …]
|
| A D | ec.h | 343 const BIGNUM *p, 358 BIGNUM *p, 388 BIGNUM *p, 614 (const EC_GROUP *group, EC_POINT *p, 628 (const EC_GROUP *group, const EC_POINT *p, 666 (const EC_GROUP *group, EC_POINT *p, 706 (const EC_GROUP *group, EC_POINT *p, 719 (const EC_GROUP *group, EC_POINT *p, 745 (const EC_GROUP *group, EC_POINT *p, 772 int EC_POINT_oct2point(const EC_GROUP *group, EC_POINT *p, [all …]
|
| A D | rsa.h | 219 OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); 232 const BIGNUM **p, const BIGNUM **q); 406 const unsigned char *p, int pl); 410 const unsigned char *p, int pl); 454 # define RSA_get_ex_new_index(l, p, newf, dupf, freef) \ argument 455 CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_RSA, l, p, newf, dupf, freef) 546 const BIGNUM *p, 554 const BIGNUM *p,
|
| A D | asn1.h.in | 316 # define CHECKED_PTR_OF(type, p) \ argument 317 ((void*) (1 ? p : (type*)0)) 318 # define CHECKED_PPTR_OF(type, p) \ argument 319 ((void**) (1 ? p : (type**)0)) 843 int ASN1_STRING_set_default_mask_asc(const char *p); 905 void ASN1_PCTX_free(ASN1_PCTX *p); 906 unsigned long ASN1_PCTX_get_flags(const ASN1_PCTX *p); 918 void ASN1_SCTX_free(ASN1_SCTX *p); 919 const ASN1_ITEM *ASN1_SCTX_get_item(ASN1_SCTX *p); 921 unsigned long ASN1_SCTX_get_flags(ASN1_SCTX *p); [all …]
|
| A D | dsa.h | 148 # define DSA_get_ex_new_index(l, p, newf, dupf, freef) \ argument 149 CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DSA, l, p, newf, dupf, freef) 206 OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, 208 OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g);
|
| A D | dh.h | 217 # define DH_get_ex_new_index(l, p, newf, dupf, freef) \ argument 218 CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DH, l, p, newf, dupf, freef) 264 OSSL_DEPRECATEDIN_3_0 void DH_get0_pqg(const DH *dh, const BIGNUM **p, 266 OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
|
| A D | engine.h | 429 OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, 451 long i, void *p, void (*f) (void), 530 # define ENGINE_get_ex_new_index(l, p, newf, dupf, freef) \ argument 531 CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_ENGINE, l, p, newf, dupf, freef)
|
| A D | ocsp.h.in | 140 # define d2i_OCSP_REQUEST_bio(bp,p) ASN1_d2i_bio_of(OCSP_REQUEST,OCSP_REQUEST_new,d2i_OCSP_REQUEST… argument 142 # define d2i_OCSP_RESPONSE_bio(bp,p) ASN1_d2i_bio_of(OCSP_RESPONSE,OCSP_RESPONSE_new,d2i_OCSP_RESP… argument 193 # define OCSP_sendreq_nbio(p, r) \ argument 194 OSSL_HTTP_REQ_CTX_nbio_d2i(r, (ASN1_VALUE **)(p), \
|
| A D | rand.h | 121 int RAND_set1_random_provider(OSSL_LIB_CTX *ctx, OSSL_PROVIDER *p);
|
| /include/crypto/ |
| A D | md32_common.h | 161 unsigned char *p; in HASH_UPDATE() local 177 p = (unsigned char *)c->data; in HASH_UPDATE() 211 memcpy(p, data, len); in HASH_UPDATE() 236 p += HASH_CBLOCK - 8; in HASH_FINAL() 238 (void)HOST_l2c(c->Nh, p); in HASH_FINAL() 239 (void)HOST_l2c(c->Nl, p); in HASH_FINAL() 241 (void)HOST_l2c(c->Nl, p); in HASH_FINAL() 242 (void)HOST_l2c(c->Nh, p); in HASH_FINAL() 244 p -= HASH_CBLOCK; in HASH_FINAL() 245 HASH_BLOCK_DATA_ORDER(c, p, 1); in HASH_FINAL() [all …]
|
| A D | chacha.h | 41 #define CHACHA_U8TOU32(p) ( \ argument 42 ((unsigned int)(p)[0]) | ((unsigned int)(p)[1]<<8) | \ 43 ((unsigned int)(p)[2]<<16) | ((unsigned int)(p)[3]<<24) )
|
| A D | modes.h | 100 # define GETU32(p) BSWAP4(*(const u32 *)(p)) argument 101 # define PUTU32(p,v) *(u32 *)(p) = BSWAP4(v) argument 103 # define GETU32(p) ((u32)(p)[0]<<24|(u32)(p)[1]<<16|(u32)(p)[2]<<8|(u32)(p)[3]) argument 104 # define PUTU32(p,v) ((p)[0]=(u8)((v)>>24),(p)[1]=(u8)((v)>>16),(p)[2]=(u8)((v)>>8),(p)[3]=(u8)… argument
|
| A D | lms_util.h | 45 OSSL_PARAM *p = NULL; in lms_evp_md_ctx_init() local 51 p = params; in lms_evp_md_ctx_init() 53 return EVP_DigestInit_ex2(ctx, md, p); in lms_evp_md_ctx_init()
|
| A D | bn.h | 76 int bn_mod_exp_mont_fixed_top(BIGNUM *rr, const BIGNUM *a, const BIGNUM *p, 114 int ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout, 135 int s390x_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, 137 int s390x_crt(BIGNUM *r, const BIGNUM *i, const BIGNUM *p, const BIGNUM *q,
|
| A D | ec.h | 91 int ossl_ec_encoding_param2id(const OSSL_PARAM *p, int *id); 93 int ossl_ec_pt_format_param2id(const OSSL_PARAM *p, int *id);
|
| A D | lms.h | 99 uint32_t p; member
|
| /include/internal/ |
| A D | param_build_set.h | 28 int ossl_param_build_set_int(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 30 int ossl_param_build_set_long(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 32 int ossl_param_build_set_utf8_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 34 int ossl_param_build_set_octet_string(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 38 int ossl_param_build_set_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 40 int ossl_param_build_set_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 42 int ossl_param_build_set_signed_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 44 int ossl_param_build_set_signed_bn_pad(OSSL_PARAM_BLD *bld, OSSL_PARAM *p, 47 int ossl_param_build_set_multi_key_bn(OSSL_PARAM_BLD *bld, OSSL_PARAM *p,
|
| A D | list.h | 23 # define OSSL_LIST_FOREACH_FROM(p, name, init) \ argument 24 for ((p) = (init); \ 25 (p) != NULL; \ 26 (p) = ossl_list_##name##_next(p)) 28 OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_head(l)) 33 (p) = ossl_list_##name##_prev(p)) 35 OSSL_LIST_FOREACH_FROM(p, name, ossl_list_##name##_tail(l)) 39 (p) != NULL && (((pn) = ossl_list_##name##_next(p)), 1); \ 40 (p) = (pn)) 46 (p) != NULL && (((pn) = ossl_list_##name##_prev(p)), 1); \ [all …]
|
| A D | rcu.h | 28 void *ossl_rcu_uptr_deref(void **p); 29 void ossl_rcu_assign_uptr(void **p, void **v); 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
|
| A D | ktls.h | 147 unsigned char *p = data; in ktls_read_record() local 158 msg_iov.iov_base = p + prepend_length; in ktls_read_record() 185 p[0] = tgr->tls_type; in ktls_read_record() 186 p[1] = tgr->tls_vmajor; in ktls_read_record() 187 p[2] = tgr->tls_vminor; in ktls_read_record() 188 *(uint16_t *)(p + 3) = htons(ret); in ktls_read_record() 393 unsigned char *p = data; in ktls_read_record() local 418 p[1] = TLS1_2_VERSION_MAJOR; in ktls_read_record() 419 p[2] = TLS1_2_VERSION_MINOR; in ktls_read_record() 421 p[3] = (ret >> 8) & 0xff; in ktls_read_record() [all …]
|
| A D | ffc.h | 92 BIGNUM *p; member 127 void ossl_ffc_params_set0_pqg(FFC_PARAMS *params, BIGNUM *p, BIGNUM *q, 129 void ossl_ffc_params_get0_pqg(const FFC_PARAMS *params, const BIGNUM **p, 190 const BIGNUM *p, const BIGNUM *q, 209 const DH_NAMED_GROUP *ossl_ffc_numbers_to_dh_named_group(const BIGNUM *p,
|
| A D | params.h | 22 int ossl_param_get1_octet_string_from_param(const OSSL_PARAM *p,
|
| A D | common.h | 63 #define HAS_CASE_PREFIX(s, p) (OPENSSL_strncasecmp(s, p "", sizeof(p) - 1) == 0) argument
|
| A D | sockets.h | 61 # define socket(d,t,p) ((int)socket(d,t,p)) argument
|