/openssl/include/internal/ |
H A D | refcount.h | 33 static inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, int *ret) in CRYPTO_UP_REF() 49 static inline int CRYPTO_DOWN_REF(CRYPTO_REF_COUNT *refcnt, int *ret) in CRYPTO_DOWN_REF() 57 static inline int CRYPTO_GET_REF(CRYPTO_REF_COUNT *refcnt, int *ret) in CRYPTO_GET_REF() 98 static __inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, int *ret) in CRYPTO_UP_REF() 130 static __inline int CRYPTO_UP_REF(CRYPTO_REF_COUNT *refcnt, int *ret) in CRYPTO_UP_REF() 203 int *ret) in CRYPTO_UP_REF() 209 int *ret) in CRYPTO_DOWN_REF() 215 int *ret) in CRYPTO_GET_REF() 241 int *ret) in CRYPTO_UP_REF() 249 int *ret) in CRYPTO_DOWN_REF() [all …]
|
/openssl/crypto/dsa/ |
H A D | dsa_check.c | 22 static int dsa_precheck_params(const DSA *dsa, int *ret) in dsa_precheck_params() 45 int ossl_dsa_check_params(const DSA *dsa, int checktype, int *ret) in ossl_dsa_check_params() 66 int ossl_dsa_check_pub_key(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key() 80 int ossl_dsa_check_pub_key_partial(const DSA *dsa, const BIGNUM *pub_key, int *ret) in ossl_dsa_check_pub_key_partial() 89 int ossl_dsa_check_priv_key(const DSA *dsa, const BIGNUM *priv_key, int *ret) in ossl_dsa_check_priv_key() 105 int ret = 0; in ossl_dsa_check_pairwise() local
|
H A D | dsa_prn.c | 25 int ret; in DSA_print_fp() local 40 int ret; in DSAparams_print_fp() local 56 int ret; in DSA_print() local 70 int ret; in DSAparams_print() local
|
/openssl/crypto/dh/ |
H A D | dh_check.c | 48 int DH_check_params(const DH *dh, int *ret) in DH_check_params() 69 int DH_check_params(const DH *dh, int *ret) in DH_check_params() 141 int DH_check(const DH *dh, int *ret) in DH_check() 250 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) in DH_check_pub_key() 272 int ossl_dh_check_pub_key_partial(const DH *dh, const BIGNUM *pub_key, int *ret) in ossl_dh_check_pub_key_partial() 278 int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret) in ossl_dh_check_priv_key() 334 int ret = 0; in ossl_dh_check_pairwise() local
|
H A D | dh_gen.c | 42 int ret, res; in ossl_dh_generate_ffc_parameters() local 95 static int dh_gen_named_group(OSSL_LIB_CTX *libctx, DH *ret, int prime_len) in dh_gen_named_group() 115 int DH_generate_parameters_ex(DH *ret, int prime_len, int generator, in DH_generate_parameters_ex() 156 static int dh_builtin_genparams(DH *ret, int prime_len, int generator, in dh_builtin_genparams()
|
/openssl/test/testutil/ |
H A D | output.c | 15 int ret; in test_printf_stdout() local 27 int ret; in test_printf_stderr() local 39 int ret; in test_printf_tapout() local 51 int ret; in test_printf_taperr() local
|
/openssl/crypto/buffer/ |
H A D | buffer.c | 23 BUF_MEM *ret; in BUF_MEM_new_ex() local 33 BUF_MEM *ret; in BUF_MEM_new() local 58 char *ret; in sec_alloc_realloc() local 73 char *ret; in BUF_MEM_grow() local 109 char *ret; in BUF_MEM_grow_clean() local
|
/openssl/ssl/ |
H A D | ssl_rsa_legacy.c | 20 int ret; in SSL_use_RSAPrivateKey() local 45 int j, ret = 0; in SSL_use_RSAPrivateKey_file() local 89 int ret; in SSL_use_RSAPrivateKey_ASN1() local 106 int ret; in SSL_CTX_use_RSAPrivateKey() local 132 int j, ret = 0; in SSL_CTX_use_RSAPrivateKey_file() local 177 int ret; in SSL_CTX_use_RSAPrivateKey_ASN1() local
|
/openssl/test/ |
H A D | evp_kdf_test.c | 61 int ret; in test_kdf_tls1_prf() local 84 int ret; in test_kdf_tls1_prf_invalid_digest() local 101 int ret; in test_kdf_tls1_prf_zero_output_size() local 121 int ret; in test_kdf_tls1_prf_empty_secret() local 139 int ret; in test_kdf_tls1_prf_1byte_secret() local 157 int ret; in test_kdf_tls1_prf_empty_seed() local 177 int ret; in test_kdf_tls1_prf_1byte_seed() local 222 int ret; in test_kdf_hkdf() local 304 int ret; in test_kdf_hkdf_invalid_digest() local 404 int ret; in test_kdf_hkdf_zero_output_size() local [all …]
|
H A D | cipherbytes_test.c | 31 int ret = 0; in test_empty() local 50 int ret = 0; in test_unsupported() local 76 int ret = 0; in test_v2() local 106 int ret = 0; in test_v3() local
|
H A D | evp_extra_test2.c | 347 int ret; in test_dh_tofrom_data_select() local 375 int ret; in test_dh_paramgen() local 406 int ret; in set_fromdata_string() local 421 int ret; in set_fromdata_uint() local 539 int ret; in test_ec_tofrom_data_select() local 551 int ret; in test_ecx_tofrom_data_select() local 565 int ret; in test_sm2_tofrom_data_select() local 577 int ret; in test_rsa_tofrom_data_select() local 648 int ret; in test_pkcs8key_nid_bio() local 868 int ret; in do_fromdata_key_is_equal() local [all …]
|
H A D | ffc_internal_test.c | 176 int ret = 0, res; in ffc_params_validate_g_unverified_test() local 246 int ret = 0, res = -1; in ffc_params_validate_pq_test() local 348 int ret = 0, res = -1; in ffc_params_gen_test() local 369 int ret = 0, res = -1; in ffc_params_gen_canonicalg_test() local 394 int ret = 0, res = -1; in ffc_params_fips186_2_gen_validate_test() local 443 int ret = 0, res = -1; in ffc_public_validate_test() local 541 int ret = 0, res = -1; in ffc_private_validate_test() local 608 int ret = 0, res = -1, N; in ffc_private_gen_test() local 665 int ret = 0; in ffc_params_copy_test() local
|
H A D | rsa_sp800_56b_test.c | 110 int ret = 0; in test_check_public_exponent() local 137 int ret = 0; in test_check_prime_factor_range() local 183 int ret = 0; in test_check_prime_factor() local 223 int ret = 0; in test_check_private_exponent() local 284 int ret = 0; in test_check_crt_components() local 358 int ret = 0; in test_derive_params_from_pq_fail() local 388 int ret = 0; in test_pq_diff() local 412 int ret = 0; in test_invalid_keypair() local 490 int ret; in test_sp80056b_keygen() local 505 int ret = 0; in test_check_private_key() local [all …]
|
H A D | evp_xof_test.c | 180 int ret = 0; in shake_kat_test() local 204 int ret = 0; in shake_kat_digestfinal_test() local 246 int ret = 0; in shake_kat_digestfinal_xoflen_test() local 287 int ret = 0; in shake_absorb_test() local 374 int ret = 0; in do_shake_squeeze_test() local 417 int ret = 0; in shake_squeeze_large_test() local 444 int ret = 0; in do_shake_squeeze_dup_test() local 484 int ret = 0; in shake_squeeze_dup_test() local 506 int ret = 0; in shake_squeeze_no_absorb_test() local 533 int ret; in xof_fail_test() local
|
H A D | evp_fetch_prov_test.c | 62 int ret = 0; in calculate_digest() local 82 int ret = 0; in load_providers() local 181 int ret = 0; in test_implicit_EVP_MD_fetch() local 195 int ret = 0; in test_explicit_EVP_MD_fetch() local 233 int ret = 0; in test_explicit_EVP_MD_fetch_by_X509_ALGOR() local 265 int ret = 0, ctlen, ptlen; in encrypt_decrypt() local 299 int ret = 0; in test_implicit_EVP_CIPHER_fetch() local 313 int ret = 0; in test_explicit_EVP_CIPHER_fetch() local 349 int ret = 0; in test_explicit_EVP_CIPHER_fetch_by_X509_ALGOR() local
|
H A D | provider_pkey_test.c | 30 int ret = 0; in fetch_sig() local 56 int i, ret = 0; in test_pkey_sig() local 128 int ret = 0; in test_alternative_keygen_init() local 189 int ret = 0; in test_pkey_eq() local 246 int ret = 0; in test_pkey_store() local 297 int ret = 0; in test_pkey_delete() local 379 int ret = 0; in test_pkey_store_open_ex() local
|
/openssl/crypto/evp/ |
H A D | dsa_ctrl.c | 32 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_type() local 47 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_gindex() local 63 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_seed() local 78 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_bits() local 93 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_q_bits() local 110 int ret; in EVP_PKEY_CTX_set_dsa_paramgen_md_props() local
|
H A D | dh_ctrl.c | 51 int ret; in EVP_PKEY_CTX_set_dh_paramgen_gindex() local 67 int ret; in EVP_PKEY_CTX_set_dh_paramgen_seed() local 92 int ret; in EVP_PKEY_CTX_set_dh_paramgen_prime_len() local 106 int ret; in EVP_PKEY_CTX_set_dh_paramgen_subprime_len() local 121 int ret; in EVP_PKEY_CTX_set_dh_paramgen_generator() local 238 int ret; in EVP_PKEY_CTX_set_dh_kdf_outlen() local 267 int ret; in EVP_PKEY_CTX_get_dh_kdf_outlen() local 292 int ret; in EVP_PKEY_CTX_set0_dh_kdf_ukm() local 322 int ret; in EVP_PKEY_CTX_get0_dh_kdf_ukm() local
|
H A D | p_legacy.c | 27 int ret = EVP_PKEY_assign_RSA(pkey, key); in EVP_PKEY_set1_RSA() local 50 RSA *ret = evp_pkey_get0_RSA_int(pkey); in EVP_PKEY_get1_RSA() local 85 EC_KEY *ret = evp_pkey_get0_EC_KEY_int(pkey); in EVP_PKEY_get1_EC_KEY() local
|
/openssl/demos/signature/ |
H A D | EVP_DSA_Signature_demo.c | 49 int ret = 0; in generate_dsa_params() local 87 int ret = 0; in generate_dsa_key() local 126 int ret = 0; in extract_public_key() local 146 int ret = 0; in extract_keypair() local 167 int ret = 0; in demo_sign() local 232 int ret = 0; in demo_verify() local 271 int ret = EXIT_FAILURE; in main() local
|
/openssl/crypto/ec/ |
H A D | ecp_nist.c | 25 static const EC_METHOD ret = { in EC_GFp_nist_method() local 96 int ret = 0; in ossl_ec_GFp_nist_group_set_curve() local 131 int ret = 0; in ossl_ec_GFp_nist_field_mul() local 156 int ret = 0; in ossl_ec_GFp_nist_field_sqr() local
|
/openssl/crypto/bio/ |
H A D | bss_fd.c | 82 BIO *ret; in BIO_new_fd() local 115 int ret = 0; in fd_read() local 133 int ret; in fd_write() local 146 long ret = 1; in fd_ctrl() local 201 int n, ret; in fd_puts() local 210 int ret = 0; in fd_gets() local
|
/openssl/providers/fips/ |
H A D | self_test_kats.c | 160 int ret = 0; in add_params() local 205 int ret = 0; in self_test_kdf() local 260 int ret = 0; in self_test_drbg() local 372 int ret = 0; in self_test_ka() local 452 int ret = 0; in self_test_digest_sign() local 570 int i, ret = 1; in self_test_digests() local 581 int i, ret = 1; in self_test_ciphers() local 592 int i, ret = 1; in self_test_kdfs() local 614 int ret = 1; in self_test_kas() local 734 int ret = 1; in reset_main_drbg() local [all …]
|
/openssl/crypto/ffc/ |
H A D | ffc_key_validate.c | 20 const BIGNUM *pub_key, int *ret) in ossl_ffc_validate_public_key_partial() 63 const BIGNUM *pub_key, int *ret) in ossl_ffc_validate_public_key() 103 int *ret) in ossl_ffc_validate_private_key()
|
/openssl/apps/lib/ |
H A D | app_rand.c | 43 int last, ret = 1; in loadfiles() local 69 int i, ret = 1; in app_RAND_load() local 82 int ret = 1; in app_RAND_write() local
|