/openssl/test/testutil/ |
H A D | basic_output.c | 95 int r; in test_vprintf_stdout() local 106 int r; in test_vprintf_stderr() local 117 int r; in test_flush_stdout() local 128 int r; in test_flush_stderr() local 139 int r; in test_vprintf_tapout() local 150 int r; in test_vprintf_taperr() local 161 int r; in test_flush_tapout() local 172 int r; in test_flush_taperr() local
|
/openssl/include/openssl/ |
H A D | err.h.in | 131 # define BIOerr(f, r) ERR_raise_data(ERR_LIB_BIO, (r), NULL) argument 132 # define BNerr(f, r) ERR_raise_data(ERR_LIB_BN, (r), NULL) argument 133 # define BUFerr(f, r) ERR_raise_data(ERR_LIB_BUF, (r), NULL) argument 134 # define CMPerr(f, r) ERR_raise_data(ERR_LIB_CMP, (r), NULL) argument 135 # define CMSerr(f, r) ERR_raise_data(ERR_LIB_CMS, (r), NULL) argument 140 # define CTerr(f, r) ERR_raise_data(ERR_LIB_CT, (r), NULL) argument 141 # define DHerr(f, r) ERR_raise_data(ERR_LIB_DH, (r), NULL) argument 142 # define DSAerr(f, r) ERR_raise_data(ERR_LIB_DSA, (r), NULL) argument 146 # define ECerr(f, r) ERR_raise_data(ERR_LIB_EC, (r), NULL) argument 168 # define TSerr(f, r) ERR_raise_data(ERR_LIB_TS, (r), NULL) argument [all …]
|
/openssl/crypto/rsa/ |
H A D | rsa_lib.c | 136 void RSA_free(RSA *r) in RSA_free() 189 int RSA_up_ref(RSA *r) in RSA_up_ref() 257 uint64_t r = 0; in icbrt64() local 281 uint32_t i, r = 0; in ilog_e() local 554 void RSA_get0_key(const RSA *r, in RSA_get0_key() 605 void RSA_get0_crt_params(const RSA *r, in RSA_get0_crt_params() 645 const BIGNUM *RSA_get0_n(const RSA *r) in RSA_get0_n() 722 void RSA_set_flags(RSA *r, int flags) in RSA_set_flags() 727 int RSA_get_version(RSA *r) in RSA_get_version() 734 ENGINE *RSA_get0_engine(const RSA *r) in RSA_get0_engine() [all …]
|
H A D | rsa_acvp_test_params.c | 79 int ossl_rsa_acvp_test_set_params(RSA *r, const OSSL_PARAM params[]) in ossl_rsa_acvp_test_set_params() 125 int ossl_rsa_acvp_test_get_params(RSA *r, OSSL_PARAM params[]) in ossl_rsa_acvp_test_get_params()
|
/openssl/crypto/bn/ |
H A D | bn_mod.c | 14 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() 34 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_add() 54 int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in bn_mod_add_fixed_top() 103 int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_add_quick() 114 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_sub() 136 int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in bn_mod_sub_fixed_top() 190 int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_sub_quick() 235 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() 255 int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m) in BN_mod_lshift1_quick() 265 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, in BN_mod_lshift() [all …]
|
H A D | bn_shift.c | 14 int BN_lshift1(BIGNUM *r, const BIGNUM *a) in BN_lshift1() 45 int BN_rshift1(BIGNUM *r, const BIGNUM *a) in BN_rshift1() 81 int BN_lshift(BIGNUM *r, const BIGNUM *a, int n) in BN_lshift() 104 int bn_lshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n) in bn_lshift_fixed_top() 150 int BN_rshift(BIGNUM *r, const BIGNUM *a, int n) in BN_rshift() 176 int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n) in bn_rshift_fixed_top()
|
H A D | bn_mul.c | 27 BN_ULONG bn_sub_part_words(BN_ULONG *r, in bn_sub_part_words() 175 void bn_mul_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_recursive() 322 void bn_mul_part_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n, in bn_mul_part_recursive() 477 void bn_mul_low_recursive(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n2, in bn_mul_low_recursive() 497 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in BN_mul() 507 int bn_mul_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) in bn_mul_fixed_top() 622 void bn_mul_normal(BN_ULONG *r, BN_ULONG *a, int na, BN_ULONG *b, int nb) in bn_mul_normal() 664 void bn_mul_low_normal(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) in bn_mul_low_normal()
|
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 | 253 int BN_GF2m_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_GF2m_add() 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() 411 int BN_GF2m_mod_mul_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_GF2m_mod_mul_arr() 466 int BN_GF2m_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_GF2m_mod_mul() 493 int BN_GF2m_mod_sqr_arr(BIGNUM *r, const BIGNUM *a, const int p[], in BN_GF2m_mod_sqr_arr() 558 static int BN_GF2m_mod_inv_vartime(BIGNUM *r, const BIGNUM *a, in BN_GF2m_mod_inv_vartime() 777 int BN_GF2m_mod_inv_arr(BIGNUM *r, const BIGNUM *xx, const int p[], in BN_GF2m_mod_inv_arr() 802 int BN_GF2m_mod_div(BIGNUM *r, const BIGNUM *y, const BIGNUM *x, in BN_GF2m_mod_div() 909 int BN_GF2m_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_GF2m_mod_exp() [all …]
|
H A D | bn_sqr.c | 17 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) in BN_sqr() 27 int bn_sqr_fixed_top(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) in bn_sqr_fixed_top() 109 void bn_sqr_normal(BN_ULONG *r, const BN_ULONG *a, int n, BN_ULONG *tmp) in bn_sqr_normal() 156 void bn_sqr_recursive(BN_ULONG *r, const BN_ULONG *a, int n2, BN_ULONG *t) in bn_sqr_recursive()
|
H A D | bn_add.c | 14 int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_add() 45 int BN_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_sub() 76 int BN_uadd(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_uadd() 125 int BN_usub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b) in BN_usub()
|
H A D | rsaz_exp.h | 57 static ossl_inline void bn_select_words(BN_ULONG *r, BN_ULONG mask, in bn_select_words() 68 static ossl_inline BN_ULONG bn_reduce_once_in_place(BN_ULONG *r, in bn_reduce_once_in_place()
|
H A D | bn_rand.c | 131 static int bnrand_range(BNRAND_FLAG flag, BIGNUM *r, const BIGNUM *range, in bnrand_range() 203 int BN_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength, in BN_rand_range_ex() 210 int BN_rand_range(BIGNUM *r, const BIGNUM *range) in BN_rand_range() 216 int BN_priv_rand_range_ex(BIGNUM *r, const BIGNUM *range, unsigned int strength, in BN_priv_rand_range_ex() 223 int BN_priv_rand_range(BIGNUM *r, const BIGNUM *range) in BN_priv_rand_range() 234 int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range) in BN_pseudo_rand_range() 241 int ossl_bn_priv_rand_range_fixed_top(BIGNUM *r, const BIGNUM *range, in ossl_bn_priv_rand_range_fixed_top()
|
H A D | bn_recp.c | 53 int BN_mod_mul_reciprocal(BIGNUM *r, const BIGNUM *x, const BIGNUM *y, in BN_mod_mul_reciprocal() 86 BIGNUM *a, *b, *d, *r; in BN_div_recp() local 172 int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx) in BN_reciprocal()
|
H A D | bn_asm.c | 75 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) in bn_sqr_words() 168 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) in bn_sqr_words() 272 BN_ULONG bn_add_words(BN_ULONG *r, const BN_ULONG *a, const BN_ULONG *b, in bn_add_words() 586 void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba8() 689 void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba4() 728 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba8() 803 void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba4() 958 void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba4() 964 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba8() 970 void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba4() [all …]
|
/openssl/include/internal/ |
H A D | ring_buf.h | 55 static ossl_inline void ring_buf_destroy(struct ring_buf *r, int cleanse) in ring_buf_destroy() 65 static ossl_inline size_t ring_buf_used(struct ring_buf *r) in ring_buf_used() 70 static ossl_inline size_t ring_buf_avail(struct ring_buf *r) in ring_buf_avail() 75 static ossl_inline int ring_buf_write_at(struct ring_buf *r, in ring_buf_write_at() 113 static ossl_inline size_t ring_buf_push(struct ring_buf *r, in ring_buf_push() 146 static ossl_inline const unsigned char *ring_buf_get_ptr(const struct ring_buf *r, in ring_buf_get_ptr() 172 static ossl_inline int ring_buf_get_buf_at(const struct ring_buf *r, in ring_buf_get_buf_at() 199 static ossl_inline void ring_buf_cpop_range(struct ring_buf *r, in ring_buf_cpop_range() 231 static ossl_inline int ring_buf_resize(struct ring_buf *r, size_t num_bytes, in ring_buf_resize()
|
H A D | time.h | 60 OSSL_TIME r; in OSSL_SAFE_MATH_UNSIGNED() local 174 OSSL_TIME r; in ossl_time_add() local 184 OSSL_TIME r; in ossl_time_subtract() local 202 OSSL_TIME r; in ossl_time_multiply() local 212 OSSL_TIME r; in ossl_time_divide() local 222 OSSL_TIME r; in ossl_time_muldiv() local
|
/openssl/crypto/ec/ |
H A D | ecp_mont.c | 196 int ossl_ec_GFp_mont_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_mul() 207 int ossl_ec_GFp_mont_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_sqr() 223 int ossl_ec_GFp_mont_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, in ossl_ec_GFp_mont_field_inv() 267 int ossl_ec_GFp_mont_field_encode(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_encode() 278 int ossl_ec_GFp_mont_field_decode(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_decode() 289 int ossl_ec_GFp_mont_field_set_to_one(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GFp_mont_field_set_to_one()
|
H A D | ec2_smpl.c | 356 int ossl_ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, in ossl_ec_GF2m_simple_add() 477 int ossl_ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, in ossl_ec_GF2m_simple_dbl() 695 int ossl_ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GF2m_simple_field_mul() 702 int ossl_ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GF2m_simple_field_sqr() 709 int ossl_ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, in ossl_ec_GF2m_simple_field_div() 723 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_pre() 776 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_step() 806 EC_POINT *r, EC_POINT *s, in ec_GF2m_simple_ladder_post() 868 int ec_GF2m_simple_points_mul(const EC_GROUP *group, EC_POINT *r, in ec_GF2m_simple_points_mul() 929 static int ec_GF2m_simple_field_inv(const EC_GROUP *group, BIGNUM *r, in ec_GF2m_simple_field_inv()
|
/openssl/crypto/asn1/ |
H A D | a_int.c | 216 uint64_t r; in asn1_get_uint64() local 258 uint64_t r; in asn1_get_int64() local 290 size_t r; in ossl_c2i_ASN1_INTEGER() local 341 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64() 380 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64() 528 int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r) in ASN1_INTEGER_set_int64() 538 int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r) in ASN1_INTEGER_set_uint64() 551 int64_t r; in ASN1_INTEGER_get() local 577 int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r) in ASN1_ENUMERATED_set_int64() 590 int64_t r; in ASN1_ENUMERATED_get() local [all …]
|
/openssl/fuzz/ |
H A D | provider.c | 106 int r = 1; in read_uint() local 124 int r = 1; in read_int() local 142 int r = 1; in read_double() local 161 int r; in read_utf8_string() local 195 int r; in read_octet_string() local 433 int r = 1; in do_evp_kdf() local 461 int r = 1; in do_evp_mac() local 497 int r = 1; in do_evp_rand() local 548 int r = 1; in do_evp_md() local 597 int r = 1; in FuzzerTestOneInput() local
|
/openssl/crypto/bn/asm/ |
H A D | x86_64-gcc.c | 74 # define mul_add(r,a,word,carry) do { \ argument 91 # define mul(r,a,word,carry) do { \ argument 169 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) in bn_sqr_words() 260 BN_ULONG bn_sub_words(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b, int n) in bn_sub_words() 393 void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba8() 496 void bn_mul_comba4(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba4() 535 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba8() 610 void bn_sqr_comba4(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba4()
|
/openssl/test/ |
H A D | crltest.c | 318 int r; in test_basic_crl() local 343 int r; in test_bad_issuer_crl() local 357 int r; in test_known_critical_crl() local 370 int r; in test_unknown_critical_crl() local 387 int r = 0; in test_reuse_crl() local
|
/openssl/crypto/des/ |
H A D | des_enc.c | 22 register DES_LONG l, r, t, u; in DES_encrypt1() local 93 register DES_LONG l, r, t, u; in DES_encrypt2() local 158 register DES_LONG l, r; in DES_encrypt3() local 178 register DES_LONG l, r; in DES_decrypt3() local
|
/openssl/crypto/idea/ |
H A D | i_skey.c | 63 int r; in IDEA_set_decrypt_key() local 93 long n1, n2, q, r, b1, b2, t; in inverse() local
|