/openssl/crypto/ts/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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/test/ |
H A D | testutil.h | 290 # define PRINTF_FORMAT(a, b) argument 300 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 511 # define TEST_ptr(a) test_ptr(__FILE__, __LINE__, #a, a) argument 512 # define TEST_ptr_null(a) test_ptr_null(__FILE__, __LINE__, #a, a) argument 533 # define TEST_BN_eq_zero(a) test_BN_eq_zero(__FILE__, __LINE__, #a, a) argument 534 # define TEST_BN_ne_zero(a) test_BN_ne_zero(__FILE__, __LINE__, #a, a) argument 535 # define TEST_BN_lt_zero(a) test_BN_lt_zero(__FILE__, __LINE__, #a, a) argument 536 # define TEST_BN_gt_zero(a) test_BN_gt_zero(__FILE__, __LINE__, #a, a) argument 539 # define TEST_BN_eq_one(a) test_BN_eq_one(__FILE__, __LINE__, #a, a) argument 542 # define TEST_BN_odd(a) test_BN_odd(__FILE__, __LINE__, #a, a) argument [all …]
|
H 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/include/internal/ |
H 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() 144 static ossl_inline BN_ULONG value_barrier_bn(BN_ULONG a) in value_barrier_bn() 155 static ossl_inline BN_ULONG constant_time_msb_bn(BN_ULONG a) in constant_time_msb_bn() 170 static ossl_inline BN_ULONG constant_time_eq_bn(BN_ULONG a, in constant_time_eq_bn() 211 static ossl_inline size_t constant_time_is_zero_s(size_t a) in constant_time_is_zero_s() 282 static ossl_inline uint32_t value_barrier_32(uint32_t a) in value_barrier_32() 294 static ossl_inline uint64_t value_barrier_64(uint64_t a) in value_barrier_64() 306 static ossl_inline size_t value_barrier_s(size_t a) in value_barrier_s() [all …]
|
H A D | time.h | 148 int ossl_time_compare(OSSL_TIME a, OSSL_TIME b) in ossl_time_compare() 172 OSSL_TIME ossl_time_add(OSSL_TIME a, OSSL_TIME b) in ossl_time_add() 182 OSSL_TIME ossl_time_subtract(OSSL_TIME a, OSSL_TIME b) in ossl_time_subtract() 193 OSSL_TIME ossl_time_abs_difference(OSSL_TIME a, OSSL_TIME b) in ossl_time_abs_difference() 200 OSSL_TIME ossl_time_multiply(OSSL_TIME a, uint64_t b) in ossl_time_multiply() 210 OSSL_TIME ossl_time_divide(OSSL_TIME a, uint64_t b) in ossl_time_divide() 220 OSSL_TIME ossl_time_muldiv(OSSL_TIME a, uint64_t b, uint64_t c) in ossl_time_muldiv() 231 OSSL_TIME ossl_time_max(OSSL_TIME a, OSSL_TIME b) in ossl_time_max() 238 OSSL_TIME ossl_time_min(OSSL_TIME a, OSSL_TIME b) in ossl_time_min()
|
/openssl/crypto/bn/ |
H A D | bn_local.h | 182 # define bn_pollute(a) \ argument 198 # define bn_pollute(a) argument 200 # define bn_check_top(a) \ argument 227 # define bn_pollute(a) argument 228 # define bn_check_top(a) argument 465 # define bn_clear_top2max(a) \ argument 473 # define bn_clear_top2max(a) argument 483 # define mul_add(r,a,w,c) { \ argument 490 # define mul(r,a,w,c) { \ argument 497 # define sqr(r0,r1,a) { \ argument [all …]
|
H A D | bn_lib.c | 179 int BN_num_bits(const BIGNUM *a) in BN_num_bits() 214 void BN_clear_free(BIGNUM *a) in BN_clear_free() 226 void BN_free(BIGNUM *a) in BN_free() 236 void bn_init(BIGNUM *a) in bn_init() 267 BN_ULONG *a = NULL; in bn_expand_internal() local 314 BIGNUM *BN_dup(const BIGNUM *a) in BN_dup() 395 void BN_clear(BIGNUM *a) in BN_clear() 1024 void BN_zero_ex(BIGNUM *a) in BN_zero_ex() 1041 int BN_is_one(const BIGNUM *a) in BN_is_one() 1067 int BN_is_odd(const BIGNUM *a) in BN_is_odd() [all …]
|
H A D | bn_intern.c | 137 int bn_get_top(const BIGNUM *a) in bn_get_top() 142 int bn_get_dmax(const BIGNUM *a) in bn_get_dmax() 147 void bn_set_all_zero(BIGNUM *a) in bn_set_all_zero() 166 BN_ULONG *bn_get_words(const BIGNUM *a) in bn_get_words() 171 void bn_set_static_words(BIGNUM *a, const BN_ULONG *words, int size) in bn_set_static_words() 184 int bn_set_words(BIGNUM *a, const BN_ULONG *words, int num_words) in bn_set_words()
|
H 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()
|
H A D | bn_asm.c | 448 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 457 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 470 # define sqr_add_c(a,i,c0,c1,c2) do { \ argument 479 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument 487 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 495 # define mul_add_c2(a,b,c0,c1,c2) do { \ argument 505 # define sqr_add_c(a,i,c0,c1,c2) do { \ argument 513 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument 521 # define mul_add_c(a,b,c0,c1,c2) do { \ argument 547 # define sqr_add_c2(a,i,j,c0,c1,c2) \ argument [all …]
|
H A D | bn_mod.c | 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() 206 int BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, in BN_mod_mul() 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 …]
|
/openssl/crypto/rc5/ |
H A D | rc5_local.h | 72 # define ROTATE_l32(a,n) _lrotl(a,n) argument 73 # define ROTATE_r32(a,n) _lrotr(a,n) argument 75 # define ROTATE_l32(a,n) _rotl(a,n) argument 76 # define ROTATE_r32(a,n) _rotr(a,n) argument 79 # define ROTATE_l32(a,n) ({ register unsigned int ret; \ argument 86 # define ROTATE_r32(a,n) ({ register unsigned int ret; \ argument 96 # define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>((32-n)&0x1f))) argument 99 # define ROTATE_r32(a,n) (((a)<<((32-n)&0x1f))|(((a)&0xffffffff)>>(n&0x1f))) argument 107 #define E_RC5_32(a,b,s,n) \ argument 117 #define D_RC5_32(a,b,s,n) \ argument
|
/openssl/crypto/ |
H A D | ctype.c | 255 const int a = ossl_toascii(c); in ossl_ctype_check() local 271 int a = ossl_toascii(c); in ossl_isdigit() local 278 int a = ossl_toascii(c); in ossl_isupper() local 285 int a = ossl_toascii(c); in ossl_islower() local 298 int a = ossl_toascii(c); in ossl_tolower() local 305 int a = ossl_toascii(c); in ossl_toupper() local
|
/openssl/crypto/x509/ |
H A D | x_ietfatt.c | 92 int i2d_OSSL_IETF_ATTR_SYNTAX (const OSSL_IETF_ATTR_SYNTAX *a, in i2d_OSSL_IETF_ATTR_SYNTAX() 98 int OSSL_IETF_ATTR_SYNTAX_get_value_num(const OSSL_IETF_ATTR_SYNTAX *a) in OSSL_IETF_ATTR_SYNTAX_get_value_num() 107 OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority(const OSSL_IETF_ATTR_SYNTAX *a) in OSSL_IETF_ATTR_SYNTAX_get0_policyAuthority() 112 void OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority(OSSL_IETF_ATTR_SYNTAX *a, in OSSL_IETF_ATTR_SYNTAX_set0_policyAuthority() 119 void *OSSL_IETF_ATTR_SYNTAX_get0_value(const OSSL_IETF_ATTR_SYNTAX *a, in OSSL_IETF_ATTR_SYNTAX_get0_value() 143 int OSSL_IETF_ATTR_SYNTAX_add1_value(OSSL_IETF_ATTR_SYNTAX *a, int type, in OSSL_IETF_ATTR_SYNTAX_add1_value() 194 int OSSL_IETF_ATTR_SYNTAX_print(BIO *bp, OSSL_IETF_ATTR_SYNTAX *a, int indent) in OSSL_IETF_ATTR_SYNTAX_print()
|
H A D | v3_genn.c | 90 static int edipartyname_cmp(const EDIPARTYNAME *a, const EDIPARTYNAME *b) in edipartyname_cmp() 122 int GENERAL_NAME_cmp(GENERAL_NAME *a, GENERAL_NAME *b) in GENERAL_NAME_cmp() 163 int OTHERNAME_cmp(OTHERNAME *a, OTHERNAME *b) in OTHERNAME_cmp() 177 void GENERAL_NAME_set0_value(GENERAL_NAME *a, int type, void *value) in GENERAL_NAME_set0_value() 213 void *GENERAL_NAME_get0_value(const GENERAL_NAME *a, int *ptype) in GENERAL_NAME_get0_value()
|
H A D | x_pubkey.c | 283 X509_PUBKEY *X509_PUBKEY_dup(const X509_PUBKEY *a) in X509_PUBKEY_dup() 486 static EVP_PKEY *d2i_PUBKEY_int(EVP_PKEY **a, in d2i_PUBKEY_int() 551 int i2d_PUBKEY(const EVP_PKEY *a, unsigned char **pp) in i2d_PUBKEY() 627 int i2d_RSA_PUBKEY(const RSA *a, unsigned char **pp) in i2d_RSA_PUBKEY() 669 int ossl_i2d_DH_PUBKEY(const DH *a, unsigned char **pp) in ossl_i2d_DH_PUBKEY() 776 int i2d_DSA_PUBKEY(const DSA *a, unsigned char **pp) in i2d_DSA_PUBKEY() 821 int i2d_EC_PUBKEY(const EC_KEY *a, unsigned char **pp) in i2d_EC_PUBKEY() 840 ECX_KEY *ossl_d2i_ED25519_PUBKEY(ECX_KEY **a, in ossl_d2i_ED25519_PUBKEY() 881 ECX_KEY *ossl_d2i_ED448_PUBKEY(ECX_KEY **a, in ossl_d2i_ED448_PUBKEY() 923 ECX_KEY *ossl_d2i_X25519_PUBKEY(ECX_KEY **a, in ossl_d2i_X25519_PUBKEY() [all …]
|
/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 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/crypto/asn1/ |
H A D | a_int.c | 207 int ossl_i2c_ASN1_INTEGER(ASN1_INTEGER *a, unsigned char **pp) in ossl_i2c_ASN1_INTEGER() 523 int ASN1_INTEGER_get_int64(int64_t *pr, const ASN1_INTEGER *a) in ASN1_INTEGER_get_int64() 528 int ASN1_INTEGER_set_int64(ASN1_INTEGER *a, int64_t r) in ASN1_INTEGER_set_int64() 533 int ASN1_INTEGER_get_uint64(uint64_t *pr, const ASN1_INTEGER *a) in ASN1_INTEGER_get_uint64() 538 int ASN1_INTEGER_set_uint64(ASN1_INTEGER *a, uint64_t r) in ASN1_INTEGER_set_uint64() 543 int ASN1_INTEGER_set(ASN1_INTEGER *a, long v) in ASN1_INTEGER_set() 548 long ASN1_INTEGER_get(const ASN1_INTEGER *a) in ASN1_INTEGER_get() 572 int ASN1_ENUMERATED_get_int64(int64_t *pr, const ASN1_ENUMERATED *a) in ASN1_ENUMERATED_get_int64() 577 int ASN1_ENUMERATED_set_int64(ASN1_ENUMERATED *a, int64_t r) in ASN1_ENUMERATED_set_int64() 582 int ASN1_ENUMERATED_set(ASN1_ENUMERATED *a, long v) in ASN1_ENUMERATED_set() [all …]
|
H 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()
|
/openssl/crypto/ec/curve448/arch_64/ |
H 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/crypto/des/ |
H 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/crypto/ec/curve448/arch_32/ |
H 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()
|