/openssl-master/crypto/ts/ |
A D | ts_rsp_utils.c | 34 TS_STATUS_INFO *TS_RESP_get_status_info(TS_RESP *a) in TS_RESP_get_status_info() 48 PKCS7 *TS_RESP_get_token(TS_RESP *a) in TS_RESP_get_token() 53 TS_TST_INFO *TS_RESP_get_tst_info(TS_RESP *a) in TS_RESP_get_tst_info() 58 int TS_TST_INFO_set_version(TS_TST_INFO *a, long version) in TS_TST_INFO_set_version() 63 long TS_TST_INFO_get_version(const TS_TST_INFO *a) in TS_TST_INFO_get_version() 84 ASN1_OBJECT *TS_TST_INFO_get_policy_id(TS_TST_INFO *a) in TS_TST_INFO_get_policy_id() 168 TS_ACCURACY *TS_TST_INFO_get_accuracy(TS_TST_INFO *a) in TS_TST_INFO_get_accuracy() 246 int TS_TST_INFO_get_ordering(const TS_TST_INFO *a) in TS_TST_INFO_get_ordering() 288 GENERAL_NAME *TS_TST_INFO_get_tsa(TS_TST_INFO *a) in TS_TST_INFO_get_tsa() 298 void TS_TST_INFO_ext_free(TS_TST_INFO *a) in TS_TST_INFO_ext_free() [all …]
|
A D | ts_req_utils.c | 17 int TS_REQ_set_version(TS_REQ *a, long version) in TS_REQ_set_version() 22 long TS_REQ_get_version(const TS_REQ *a) in TS_REQ_get_version() 43 TS_MSG_IMPRINT *TS_REQ_get_msg_imprint(TS_REQ *a) in TS_REQ_get_msg_imprint() 64 X509_ALGOR *TS_MSG_IMPRINT_get_algo(TS_MSG_IMPRINT *a) in TS_MSG_IMPRINT_get_algo() 95 ASN1_OBJECT *TS_REQ_get_policy_id(TS_REQ *a) in TS_REQ_get_policy_id() 116 const ASN1_INTEGER *TS_REQ_get_nonce(const TS_REQ *a) in TS_REQ_get_nonce() 121 int TS_REQ_set_cert_req(TS_REQ *a, int cert_req) in TS_REQ_set_cert_req() 127 int TS_REQ_get_cert_req(const TS_REQ *a) in TS_REQ_get_cert_req() 137 void TS_REQ_ext_free(TS_REQ *a) in TS_REQ_ext_free() 145 int TS_REQ_get_ext_count(TS_REQ *a) in TS_REQ_get_ext_count() [all …]
|
A D | ts_asn1.c | 28 int i2d_TS_MSG_IMPRINT_bio(BIO *bp, const TS_MSG_IMPRINT *a) in i2d_TS_MSG_IMPRINT_bio() 39 int i2d_TS_MSG_IMPRINT_fp(FILE *fp, const TS_MSG_IMPRINT *a) in i2d_TS_MSG_IMPRINT_fp() 61 int i2d_TS_REQ_bio(BIO *bp, const TS_REQ *a) in i2d_TS_REQ_bio() 66 TS_REQ *d2i_TS_REQ_fp(FILE *fp, TS_REQ **a) in d2i_TS_REQ_fp() 71 int i2d_TS_REQ_fp(FILE *fp, const TS_REQ *a) in i2d_TS_REQ_fp() 107 int i2d_TS_TST_INFO_bio(BIO *bp, const TS_TST_INFO *a) in i2d_TS_TST_INFO_bio() 112 TS_TST_INFO *d2i_TS_TST_INFO_fp(FILE *fp, TS_TST_INFO **a) in d2i_TS_TST_INFO_fp() 118 int i2d_TS_TST_INFO_fp(FILE *fp, const TS_TST_INFO *a) in i2d_TS_TST_INFO_fp() 187 int i2d_TS_RESP_bio(BIO *bp, const TS_RESP *a) in i2d_TS_RESP_bio() 192 TS_RESP *d2i_TS_RESP_fp(FILE *fp, TS_RESP **a) in d2i_TS_RESP_fp() [all …]
|
A D | ts_rsp_print.c | 28 int TS_RESP_print_bio(BIO *bio, TS_RESP *a) in TS_RESP_print_bio() 42 int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a) in TS_STATUS_INFO_print_bio() 102 static int ts_status_map_print(BIO *bio, const struct status_map_st *a, in ts_status_map_print() 118 int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a) in TS_TST_INFO_print_bio() 176 static int ts_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *a) in ts_ACCURACY_print_bio()
|
/openssl-master/test/ |
A D | testutil.h | 253 # define PRINTF_FORMAT(a, b) argument 261 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 456 # define TEST_ptr(a) test_ptr(__FILE__, __LINE__, #a, a) argument 457 # define TEST_ptr_null(a) test_ptr_null(__FILE__, __LINE__, #a, a) argument 478 # define TEST_BN_eq_zero(a) test_BN_eq_zero(__FILE__, __LINE__, #a, a) argument 479 # define TEST_BN_ne_zero(a) test_BN_ne_zero(__FILE__, __LINE__, #a, a) argument 480 # define TEST_BN_lt_zero(a) test_BN_lt_zero(__FILE__, __LINE__, #a, a) argument 481 # define TEST_BN_gt_zero(a) test_BN_gt_zero(__FILE__, __LINE__, #a, a) argument 484 # define TEST_BN_eq_one(a) test_BN_eq_one(__FILE__, __LINE__, #a, a) argument 487 # define TEST_BN_odd(a) test_BN_odd(__FILE__, __LINE__, #a, a) argument [all …]
|
A D | constant_time_test.c | 61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op() 72 static int test_binary_op_8(unsigned in test_binary_op_8() 84 static int test_binary_op_s(size_t (*op) (size_t a, size_t b), in test_binary_op_s() 95 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64() 115 unsigned int a = test_values[i]; in test_is_zero() local 126 unsigned int a = test_values_8[i]; in test_is_zero_8() local 137 uint32_t a = test_values_32[i]; in test_is_zero_32() local 148 size_t a = test_values_s[i]; in test_is_zero_s() local 237 static int test_eq_int(int a, int b) in test_eq_int() 255 unsigned int a = test_values[i]; in test_binops() local [all …]
|
/openssl-master/include/internal/ |
A D | constant_time.h | 106 static ossl_inline uint32_t constant_time_msb_32(uint32_t a) in constant_time_msb_32() 111 static ossl_inline uint64_t constant_time_msb_64(uint64_t a) in constant_time_msb_64() 116 static ossl_inline size_t constant_time_msb_s(size_t a) in constant_time_msb_s() 121 static ossl_inline unsigned int constant_time_lt(unsigned int a, in constant_time_lt() 127 static ossl_inline size_t constant_time_lt_s(size_t a, size_t b) in constant_time_lt_s() 170 static ossl_inline size_t constant_time_is_zero_s(size_t a) in constant_time_is_zero_s() 229 static ossl_inline unsigned int value_barrier(unsigned int a) in value_barrier() 241 static ossl_inline uint32_t value_barrier_32(uint32_t a) in value_barrier_32() 253 static ossl_inline uint64_t value_barrier_64(uint64_t a) in value_barrier_64() 265 static ossl_inline size_t value_barrier_s(size_t a) in value_barrier_s() [all …]
|
/openssl-master/crypto/bn/ |
A D | bn_local.h | 162 # define bn_pollute(a) \ argument 178 # define bn_pollute(a) argument 180 # define bn_check_top(a) \ argument 207 # define bn_pollute(a) argument 208 # define bn_check_top(a) argument 460 # define bn_clear_top2max(a) \ argument 468 # define bn_clear_top2max(a) argument 478 # define mul_add(r,a,w,c) { \ argument 485 # define mul(r,a,w,c) { \ argument 492 # define sqr(r0,r1,a) { \ argument [all …]
|
A D | bn_lib.c | 178 int BN_num_bits(const BIGNUM *a) in BN_num_bits() 213 void BN_clear_free(BIGNUM *a) in BN_clear_free() 225 void BN_free(BIGNUM *a) in BN_free() 235 void bn_init(BIGNUM *a) in bn_init() 268 BN_ULONG *a = NULL; in bn_expand_internal() local 317 BIGNUM *BN_dup(const BIGNUM *a) in BN_dup() 398 void BN_clear(BIGNUM *a) in BN_clear() 910 void BN_zero_ex(BIGNUM *a) in BN_zero_ex() 927 int BN_is_one(const BIGNUM *a) in BN_is_one() 937 int BN_is_odd(const BIGNUM *a) in BN_is_odd() [all …]
|
A D | bn_intern.c | 141 int bn_get_top(const BIGNUM *a) in bn_get_top() 146 int bn_get_dmax(const BIGNUM *a) in bn_get_dmax() 151 void bn_set_all_zero(BIGNUM *a) in bn_set_all_zero() 170 BN_ULONG *bn_get_words(const BIGNUM *a) in bn_get_words() 175 void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size) in bn_set_static_words() 188 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words()
|
A D | bn_word.c | 13 BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w) in BN_mod_word() 61 BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w) in BN_div_word() 98 int BN_add_word(BIGNUM *a, BN_ULONG w) in BN_add_word() 134 int BN_sub_word(BIGNUM *a, BN_ULONG w) in BN_sub_word() 181 int BN_mul_word(BIGNUM *a, BN_ULONG w) in BN_mul_word()
|
A D | bn_asm.c | 443 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 452 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 465 # define sqr_add_c(a,i,c0,c1,c2) do { \ argument 474 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument 482 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 490 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 500 # define sqr_add_c(a,i,c0,c1,c2) do { \ argument 508 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument 516 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 542 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument [all …]
|
A D | bn_mod.c | 28 int BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_add() 48 int bn_mod_add_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in bn_mod_add_fixed_top() 99 int BN_mod_add_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_add_quick() 110 int BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_sub() 132 int bn_mod_sub_fixed_top(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in bn_mod_sub_fixed_top() 186 int BN_mod_sub_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, in BN_mod_sub_quick() 197 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() 226 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) in BN_mod_sqr() 246 int BN_mod_lshift1_quick(BIGNUM *r, const BIGNUM *a, const BIGNUM *m) in BN_mod_lshift1_quick() 256 int BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, in BN_mod_lshift() [all …]
|
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() 173 int bn_rshift_fixed_top(BIGNUM *r, const BIGNUM *a, int n) in bn_rshift_fixed_top()
|
/openssl-master/crypto/rc5/ |
A D | rc5_local.h | 129 # define ROTATE_l32(a,n) _lrotl(a,n) argument 130 # define ROTATE_r32(a,n) _lrotr(a,n) argument 132 # define ROTATE_l32(a,n) _rotl(a,n) argument 133 # define ROTATE_r32(a,n) _rotr(a,n) argument 136 # define ROTATE_l32(a,n) ({ register unsigned int ret; \ argument 143 # define ROTATE_r32(a,n) ({ register unsigned int ret; \ argument 153 # define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>((32-n)&0x1f))) argument 156 # define ROTATE_r32(a,n) (((a)<<((32-n)&0x1f))|(((a)&0xffffffff)>>(n&0x1f))) argument 168 #define E_RC5_32(a,b,s,n) \ argument 178 #define D_RC5_32(a,b,s,n) \ argument
|
/openssl-master/crypto/x509/ |
A D | v3_genn.c | 61 static int edipartyname_cmp(const EDIPARTYNAME *a, const EDIPARTYNAME *b) in edipartyname_cmp() 93 int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b) in GENERAL_NAME_cmp() 134 int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b) in OTHERNAME_cmp() 148 void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value) in GENERAL_NAME_set0_value() 184 void *GENERAL_NAME_get0_value(const GENERAL_NAME *a, int *ptype) in GENERAL_NAME_get0_value()
|
A D | x_pubkey.c | 283 X509_PUBKEY *X509_PUBKEY_dup(const X509_PUBKEY *a) in X509_PUBKEY_dup() 480 static EVP_PKEY *d2i_PUBKEY_int(EVP_PKEY **a, in d2i_PUBKEY_int() 547 int i2d_PUBKEY(const EVP_PKEY *a, unsigned char **pp) in i2d_PUBKEY() 623 int i2d_RSA_PUBKEY(const RSA *a, unsigned char **pp) in i2d_RSA_PUBKEY() 665 int ossl_i2d_DH_PUBKEY(const DH *a, unsigned char **pp) in ossl_i2d_DH_PUBKEY() 748 int i2d_DSA_PUBKEY(const DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY() 793 int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp) in i2d_EC_PUBKEY() 811 ECX_KEY *ossl_d2i_ED25519_PUBKEY(ECX_KEY **a, in ossl_d2i_ED25519_PUBKEY() 852 ECX_KEY *ossl_d2i_ED448_PUBKEY(ECX_KEY **a, in ossl_d2i_ED448_PUBKEY() 894 ECX_KEY *ossl_d2i_X25519_PUBKEY(ECX_KEY **a, in ossl_d2i_X25519_PUBKEY() [all …]
|
/openssl-master/crypto/bn/asm/ |
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 104 # define sqr(r0,r1,a) \ argument 169 void bn_sqr_words(BN_ULONG *r, const BN_ULONG *a, int n) in bn_sqr_words() 349 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 361 # define sqr_add_c(a,i,c0,c1,c2) do { \ argument 373 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 390 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument 393 void bn_mul_comba8(BN_ULONG *r, BN_ULONG *a, BN_ULONG *b) in bn_mul_comba8() 535 void bn_sqr_comba8(BN_ULONG *r, const BN_ULONG *a) in bn_sqr_comba8() [all …]
|
/openssl-master/crypto/des/ |
A D | qud_cksm.c | 25 #define Q_B0(a) (((DES_LONG)(a))) argument 26 #define Q_B1(a) (((DES_LONG)(a))<<8) argument 27 #define Q_B2(a) (((DES_LONG)(a))<<16) argument 28 #define Q_B3(a) (((DES_LONG)(a))<<24) argument
|
/openssl-master/crypto/asn1/ |
A D | a_int.c | 207 int ossl_i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) in ossl_i2c_ASN1_INTEGER() 525 int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a) in ASN1_INTEGER_get_int64() 530 int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r) in ASN1_INTEGER_set_int64() 535 int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a) in ASN1_INTEGER_get_uint64() 540 int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r) in ASN1_INTEGER_set_uint64() 545 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v) in ASN1_INTEGER_set() 550 long ASN1_INTEGER_get(const ASN1_INTEGER *a) in ASN1_INTEGER_get() 574 int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a) in ASN1_ENUMERATED_get_int64() 579 int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r) in ASN1_ENUMERATED_set_int64() 584 int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v) in ASN1_ENUMERATED_set() [all …]
|
A D | a_type.c | 16 int ASN1_TYPE_get(const ASN1_TYPE *a) in ASN1_TYPE_get() 26 void ASN1_TYPE_set(ASN1_TYPE *a, int type, void *value) in ASN1_TYPE_set() 41 int ASN1_TYPE_set1(ASN1_TYPE *a, int type, const void *value) in ASN1_TYPE_set1() 63 int ASN1_TYPE_cmp(const ASN1_TYPE *a, const ASN1_TYPE *b) in ASN1_TYPE_cmp()
|
A D | d2i_pr.c | 27 d2i_PrivateKey_decoder(int keytype, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey_decoder() 78 ossl_d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a, const unsigned char **pp, in ossl_d2i_PrivateKey_legacy() 143 EVP_PKEY *d2i_PrivateKey_ex(int keytype, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey_ex() 156 EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, const unsigned char **pp, in d2i_PrivateKey() 162 static EVP_PKEY *d2i_AutoPrivateKey_legacy(EVP_PKEY **a, in d2i_AutoPrivateKey_legacy() 218 EVP_PKEY *d2i_AutoPrivateKey_ex(EVP_PKEY **a, const unsigned char **pp, in d2i_AutoPrivateKey_ex() 231 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **a, const unsigned char **pp, in d2i_AutoPrivateKey()
|
A D | a_bitstr.c | 21 int ossl_i2c_ASN1_BIT_STRING(ASN1_BIT_STRING *a, unsigned char **pp) in ossl_i2c_ASN1_BIT_STRING() 79 ASN1_BIT_STRING *ossl_c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, in ossl_c2i_ASN1_BIT_STRING() 146 int ASN1_BIT_STRING_set_bit(ASN1_BIT_STRING *a, int n, int value) in ASN1_BIT_STRING_set_bit() 181 int ASN1_BIT_STRING_get_bit(const ASN1_BIT_STRING *a, int n) in ASN1_BIT_STRING_get_bit() 198 int ASN1_BIT_STRING_check(const ASN1_BIT_STRING *a, in ASN1_BIT_STRING_check()
|
/openssl-master/crypto/ec/curve448/arch_64/ |
A D | f_impl.h | 17 # define FIELD_LITERAL(a,b,c,d,e,f,g,h) {{a,b,c,d,e,f,g,h}} argument 21 void gf_add_RAW(gf out, const gf a, const gf b) in gf_add_RAW() 31 void gf_sub_RAW(gf out, const gf a, const gf b) in gf_sub_RAW() 42 void gf_bias(gf a, int amt) in gf_bias() 46 void gf_weak_reduce(gf a) in gf_weak_reduce()
|
/openssl-master/crypto/ec/curve448/arch_32/ |
A D | f_impl.h | 18 # define FIELD_LITERAL(a, b, c, d, e, f, g, h) \ argument 23 void gf_add_RAW(gf out, const gf a, const gf b) in gf_add_RAW() 31 void gf_sub_RAW(gf out, const gf a, const gf b) in gf_sub_RAW() 39 void gf_bias(gf a, int amt) in gf_bias() 48 void gf_weak_reduce(gf a) in gf_weak_reduce()
|