/third_party/openssl/test/ |
H A D | sm2_internal_test.c | 38 get_faked_bytes(unsigned char *buf, size_t num, ossl_unused const char *name, ossl_unused EVP_RAND_CTX *ctx) get_faked_bytes() argument
|
H A D | sslcorrupttest.c | 142 SSL_CTX *ctx = NULL; in setup_cipher_list() local
|
H A D | v3ext.c | 368 X509V3_CTX ctx; in test_ext_syntax() local
|
H A D | verify_extra_test.c | 185 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in test_self_signed() local 232 X509_STORE_CTX *ctx = X509_STORE_CTX_new(); in do_test_purpose() local [all...] |
/third_party/openssl/util/ |
H A D | check-format-test-negatives.c | 302 verify_cb_crl(X509_STORE_CTX *ctx, int err) verify_cb_crl() argument [all...] |
/third_party/openssl/test/testutil/ |
H A D | fake_random.c | 23 EVP_RAND_CTX *ctx; member 214 fake_rand_set_callback(EVP_RAND_CTX *rng, int (*cb)(unsigned char *out, size_t outlen, const char *name, EVP_RAND_CTX *ctx)) fake_rand_set_callback() argument 222 fake_rand_set_public_private_callbacks(OSSL_LIB_CTX *libctx, int (*cb)(unsigned char *out, size_t outlen, const char *name, EVP_RAND_CTX *ctx)) fake_rand_set_public_private_callbacks() argument
|
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | ParseRawPrimitivesBenchmark.cs | 364 InitializeParseContext(byte[] buffer, out ParseContext ctx) InitializeParseContext() argument 369 InitializeParseContext(ReadOnlySequence<byte> buffer, out ParseContext ctx) InitializeParseContext() argument [all...] |
/third_party/openssl/apps/ |
H A D | verify.c | 245 static int check(X509_STORE *ctx, const char *file, in check() argument 328 static int cb(int ok, X509_STORE_CTX *ctx) in cb() argument [all...] |
/third_party/openssl/crypto/bio/ |
H A D | bss_core.c | 29 static void *bio_core_globals_new(OSSL_LIB_CTX *ctx) in bio_core_globals_new() argument
|
/third_party/openssl/crypto/bn/ |
H A D | bn_div.c | 209 BN_div(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, BN_CTX *ctx) BN_div() argument 264 bn_div_fixed_top(BIGNUM *dv, BIGNUM *rm, const BIGNUM *num, const BIGNUM *divisor, BN_CTX *ctx) bn_div_fixed_top() argument [all...] |
H A D | bn_prime.c | 123 BN_generate_prime_ex2(BIGNUM *ret, int bits, int safe, const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, BN_CTX *ctx) BN_generate_prime_ex2() argument 216 BN_CTX *ctx = BN_CTX_new(); BN_generate_prime_ex() local 236 BN_is_prime_fasttest_ex(const BIGNUM *w, int checks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) BN_is_prime_fasttest_ex() argument 244 ossl_bn_check_prime(const BIGNUM *w, int checks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) ossl_bn_check_prime() argument 255 BN_check_prime(const BIGNUM *p, BN_CTX *ctx, BN_GENCB *cb) BN_check_prime() argument 266 bn_is_prime_int(const BIGNUM *w, int checks, BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) bn_is_prime_int() argument 338 ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx, BN_GENCB *cb, int enhanced, int *status) ossl_bn_miller_rabin_is_prime() argument 478 probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, BN_CTX *ctx) probable_prime() argument 536 probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) probable_prime_dh() argument [all...] |
/third_party/openssl/crypto/cms/ |
H A D | cms_ec.c | 24 OSSL_DECODER_CTX *ctx = NULL; in pkey_type2param() local 253 EVP_CIPHER_CTX *ctx; in ecdh_cms_encrypt() local [all...] |
/third_party/openssl/crypto/ct/ |
H A D | ct_sct.c | 290 int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx) in SCT_validate() argument [all...] |
/third_party/openssl/crypto/ec/ |
H A D | ecdsa_ossl.c | 92 BN_CTX *ctx = NULL; in ecdsa_sign_setup() local 217 BN_CTX *ctx = NULL; ossl_ecdsa_simple_sign_sig() local 382 BN_CTX *ctx; ossl_ecdsa_simple_verify_sig() local [all...] |
/third_party/openssl/crypto/engine/ |
H A D | eng_dyn.c | 142 dynamic_data_ctx *ctx = (dynamic_data_ctx *)ptr; in dynamic_data_ctx_free_func() local 157 static int dynamic_set_data_ctx(ENGINE *e, dynamic_data_ctx **ctx) in dynamic_set_data_ctx() argument 205 dynamic_data_ctx *ctx; dynamic_get_data_ctx() local 299 dynamic_data_ctx *ctx = dynamic_get_data_ctx(e); dynamic_ctrl() local 378 int_load(dynamic_data_ctx *ctx) int_load() argument 413 using_libcrypto_11(dynamic_data_ctx *ctx) using_libcrypto_11() argument 424 dynamic_load(ENGINE *e, dynamic_data_ctx *ctx) dynamic_load() argument [all...] |
/third_party/openssl/crypto/evp/ |
H A D | asymcipher.c | 20 static int evp_pkey_asym_cipher_init(EVP_PKEY_CTX *ctx, int operation, in evp_pkey_asym_cipher_init() argument 217 EVP_PKEY_encrypt_init(EVP_PKEY_CTX *ctx) EVP_PKEY_encrypt_init() argument 222 EVP_PKEY_encrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) EVP_PKEY_encrypt_init_ex() argument 227 EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) EVP_PKEY_encrypt() argument 259 EVP_PKEY_decrypt_init(EVP_PKEY_CTX *ctx) EVP_PKEY_decrypt_init() argument 264 EVP_PKEY_decrypt_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) EVP_PKEY_decrypt_init_ex() argument 269 EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) EVP_PKEY_decrypt() argument 469 EVP_ASYM_CIPHER_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, const char *properties) EVP_ASYM_CIPHER_fetch() argument [all...] |
H A D | bio_ok.c | 133 BIO_OK_CTX *ctx; in ok_new() local 155 BIO_OK_CTX *ctx; in ok_free() local 173 BIO_OK_CTX *ctx; ok_read() local 259 BIO_OK_CTX *ctx; ok_write() local 323 BIO_OK_CTX *ctx; ok_ctrl() local 435 BIO_OK_CTX *ctx; sig_out() local 477 BIO_OK_CTX *ctx; sig_in() local 527 BIO_OK_CTX *ctx; block_out() local 558 BIO_OK_CTX *ctx; block_in() local [all...] |
H A D | bio_b64.c | 69 BIO_B64_CTX *ctx; in b64_new() local 92 BIO_B64_CTX *ctx; in b64_free() local 111 BIO_B64_CTX *ctx; b64_read() local 331 BIO_B64_CTX *ctx; b64_write() local 448 BIO_B64_CTX *ctx; b64_ctrl() local [all...] |
H A D | bio_enc.c | 66 BIO_ENC_CTX *ctx; in enc_new() local 109 BIO_ENC_CTX *ctx; enc_read() local 237 BIO_ENC_CTX *ctx; enc_write() local 297 BIO_ENC_CTX *ctx, *dctx; enc_ctrl() local 409 BIO_ENC_CTX *ctx; BIO_set_cipher() local [all...] |
H A D | signature.c | 308 EVP_SIGNATURE *EVP_SIGNATURE_fetch(OSSL_LIB_CTX *ctx, const char *algorithm, in EVP_SIGNATURE_fetch() argument 394 static int evp_pkey_signature_init(EVP_PKEY_CTX *ctx, int operation, in evp_pkey_signature_init() argument 620 EVP_PKEY_sign_init(EVP_PKEY_CTX *ctx) EVP_PKEY_sign_init() argument 625 EVP_PKEY_sign_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) EVP_PKEY_sign_init_ex() argument 630 EVP_PKEY_sign(EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen) EVP_PKEY_sign() argument 664 EVP_PKEY_verify_init(EVP_PKEY_CTX *ctx) EVP_PKEY_verify_init() argument 669 EVP_PKEY_verify_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) EVP_PKEY_verify_init_ex() argument 674 EVP_PKEY_verify(EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen) EVP_PKEY_verify() argument 706 EVP_PKEY_verify_recover_init(EVP_PKEY_CTX *ctx) EVP_PKEY_verify_recover_init() argument 711 EVP_PKEY_verify_recover_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[]) EVP_PKEY_verify_recover_init_ex() argument 717 EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen, const unsigned char *sig, size_t siglen) EVP_PKEY_verify_recover() argument [all...] |
H A D | pmeth_gn.c | 25 static int gen_init(EVP_PKEY_CTX *ctx, int operation) in gen_init() argument 94 EVP_PKEY_paramgen_init(EVP_PKEY_CTX *ctx) EVP_PKEY_paramgen_init() argument 99 EVP_PKEY_keygen_init(EVP_PKEY_CTX *ctx) EVP_PKEY_keygen_init() argument 106 EVP_PKEY_CTX *ctx = arg; ossl_callback_to_pkey_gencb() local 128 EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) EVP_PKEY_generate() argument 259 EVP_PKEY_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) EVP_PKEY_paramgen() argument 268 EVP_PKEY_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey) EVP_PKEY_keygen() argument 277 EVP_PKEY_CTX_set_cb(EVP_PKEY_CTX *ctx, EVP_PKEY_gen_cb *cb) EVP_PKEY_CTX_set_cb() argument 282 EVP_PKEY_CTX_get_cb(EVP_PKEY_CTX *ctx) EVP_PKEY_CTX_get_cb() argument 294 EVP_PKEY_CTX *ctx = BN_GENCB_get_arg(gcb); trans_cb() local 300 evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx) evp_pkey_set_cb_translate() argument 305 EVP_PKEY_CTX_get_keygen_info(EVP_PKEY_CTX *ctx, int idx) EVP_PKEY_CTX_get_keygen_info() argument 339 fromdata_init(EVP_PKEY_CTX *ctx, int operation) fromdata_init() argument 358 EVP_PKEY_fromdata_init(EVP_PKEY_CTX *ctx) EVP_PKEY_fromdata_init() argument 363 EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection, OSSL_PARAM params[]) EVP_PKEY_fromdata() argument 397 EVP_PKEY_fromdata_settable(EVP_PKEY_CTX *ctx, int selection) EVP_PKEY_fromdata_settable() argument [all...] |
/third_party/openssl/crypto/ |
H A D | ex_data.c | 14 int ossl_do_ex_data_init(OSSL_LIB_CTX *ctx) in ossl_do_ex_data_init() argument 64 void ossl_crypto_cleanup_all_ex_data_int(OSSL_LIB_CTX *ctx) in ossl_crypto_cleanup_all_ex_data_int() argument 105 int ossl_crypto_free_ex_index_ex(OSSL_LIB_CTX *ctx, int class_index, int idx) in ossl_crypto_free_ex_index_ex() argument 141 int ossl_crypto_get_ex_new_index_ex(OSSL_LIB_CTX *ctx, int class_index, in ossl_crypto_get_ex_new_index_ex() argument 211 int ossl_crypto_new_ex_data_ex(OSSL_LIB_CTX *ctx, int class_index, void *obj, in ossl_crypto_new_ex_data_ex() argument [all...] |
/third_party/openssl/crypto/poly1305/ |
H A D | poly1305.c | 133 static void poly1305_init(void *ctx, const unsigned char key[16]) in poly1305_init() argument 148 poly1305_blocks(void *ctx, const unsigned char *inp, size_t len, u32 padbit) in poly1305_blocks() argument 213 static void poly1305_emit(void *ctx, unsigned char mac[16], in poly1305_emit() argument 271 static void poly1305_init(void *ctx, const unsigned char key[16]) in poly1305_init() argument 290 poly1305_blocks(void *ctx, cons argument 379 poly1305_emit(void *ctx, unsigned char mac[16], const u32 nonce[4]) poly1305_emit() argument 433 Poly1305_Init(POLY1305 *ctx, const unsigned char key[32]) Poly1305_Init() argument 468 Poly1305_Update(POLY1305 *ctx, const unsigned char *inp, size_t len) Poly1305_Update() argument 510 Poly1305_Final(POLY1305 *ctx, unsigned char mac[16]) Poly1305_Final() argument [all...] |
/third_party/openssl/crypto/dh/ |
H A D | dh_pmeth.c | 54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() argument 74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() argument 117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() argument 224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() argument 322 pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_paramgen() argument 376 pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_keygen() argument 398 pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) pkey_dh_derive() argument [all...] |
H A D | dh_key.c | 42 BN_CTX *ctx = NULL; in ossl_dh_compute_key() local 189 dh_bn_mod_exp(const DH *dh, BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) dh_bn_mod_exp() argument 226 ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, const BIGNUM *priv_key, BIGNUM *pub_key) ossl_dh_generate_public_key() argument 269 BN_CTX *ctx = NULL; generate_key() local [all...] |