Home
last modified time | relevance | path

Searched refs:ossl_inline (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-12.1/crypto/openssl/include/internal/
H A Dconstant_time_locl.h34 static ossl_inline uint32_t constant_time_msb_32(uint32_t a);
36 static ossl_inline uint64_t constant_time_msb_64(uint64_t a);
39 static ossl_inline unsigned int constant_time_lt(unsigned int a,
105 static ossl_inline uint32_t constant_time_msb_32(uint32_t a) in constant_time_msb_32()
110 static ossl_inline uint64_t constant_time_msb_64(uint64_t a) in constant_time_msb_64()
115 static ossl_inline size_t constant_time_msb_s(size_t a) in constant_time_msb_s()
169 static ossl_inline size_t constant_time_is_zero_s(size_t a) in constant_time_is_zero_s()
235 static ossl_inline uint32_t value_barrier_32(uint32_t a) in value_barrier_32()
247 static ossl_inline uint64_t value_barrier_64(uint64_t a) in value_barrier_64()
259 static ossl_inline size_t value_barrier_s(size_t a) in value_barrier_s()
[all …]
H A Dcryptlib.h31 __owur static ossl_inline int ossl_assert_int(int expr, const char *exprstr, in ossl_assert_int()
/freebsd-12.1/crypto/openssl/ssl/
H A Dpacket_locl.h29 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
38 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
68 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init()
82 static ossl_inline void PACKET_null_init(PACKET *pkt) in PACKET_null_init()
120 __owur static ossl_inline int PACKET_get_sub_packet(PACKET *pkt, in PACKET_get_sub_packet()
135 __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt, in PACKET_peek_net_2()
255 __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt, in PACKET_peek_1()
293 __owur static ossl_inline int PACKET_peek_4(const PACKET *pkt, in PACKET_peek_4()
346 __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt, in PACKET_get_bytes()
375 __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt, in PACKET_copy_bytes()
[all …]
H A Dssl_locl.h2235 static ossl_inline int ssl_has_cert(const SSL *s, int idx) in ssl_has_cert()
2243 static ossl_inline void tls1_get_peer_groups(SSL *s, const uint16_t **pgroups, in tls1_get_peer_groups()
/freebsd-12.1/crypto/openssl/include/openssl/
H A Dsafestack.h27 static ossl_unused ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \
39 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \
47 static ossl_unused ossl_inline int sk_##t1##_reserve(STACK_OF(t1) *sk, int n) \
51 static ossl_unused ossl_inline void sk_##t1##_free(STACK_OF(t1) *sk) \
55 static ossl_unused ossl_inline void sk_##t1##_zero(STACK_OF(t1) *sk) \
59 static ossl_unused ossl_inline t2 *sk_##t1##_delete(STACK_OF(t1) *sk, int i) \
68 static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \
76 static ossl_unused ossl_inline t2 *sk_##t1##_pop(STACK_OF(t1) *sk) \
80 static ossl_unused ossl_inline t2 *sk_##t1##_shift(STACK_OF(t1) *sk) \
96 static ossl_unused ossl_inline int sk_##t1##_find(STACK_OF(t1) *sk, t2 *ptr) \
[all …]
H A Dlhash.h123 static ossl_inline LHASH_OF(type) * \
130 static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
134 static ossl_unused ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \
138 static ossl_unused ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \
142 static ossl_unused ossl_inline type *lh_##type##_retrieve(LHASH_OF(type) *lh, const type *d) \
146 static ossl_unused ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \
150 static ossl_unused ossl_inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \
162 static ossl_unused ossl_inline void lh_##type##_stats_bio(const LHASH_OF(type) *lh, BIO *out) \
166 static ossl_unused ossl_inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \
174 static ossl_unused ossl_inline void lh_##type##_doall(LHASH_OF(type) *lh, \
[all …]
H A De_os2.h265 # define ossl_inline inline macro
267 # define ossl_inline __inline__ macro
274 # define ossl_inline __inline macro
276 # define ossl_inline macro
279 # define ossl_inline inline macro
/freebsd-12.1/crypto/openssl/crypto/blake2/
H A Dblake2_impl.h19 static ossl_inline uint32_t load32(const uint8_t *src) in load32()
39 static ossl_inline uint64_t load64(const uint8_t *src) in load64()
63 static ossl_inline void store32(uint8_t *dst, uint32_t w) in store32()
81 static ossl_inline void store64(uint8_t *dst, uint64_t w) in store64()
99 static ossl_inline uint64_t load48(const uint8_t *src) in load48()
110 static ossl_inline void store48(uint8_t *dst, uint64_t w) in store48()
121 static ossl_inline uint32_t rotr32(const uint32_t w, const unsigned int c) in rotr32()
126 static ossl_inline uint64_t rotr64(const uint64_t w, const unsigned int c) in rotr64()
H A Dblake2s.c45 static ossl_inline void blake2s_set_lastblock(BLAKE2S_CTX *S) in blake2s_set_lastblock()
51 static ossl_inline void blake2s_init0(BLAKE2S_CTX *S) in blake2s_init0()
H A Dblake2b.c49 static ossl_inline void blake2b_set_lastblock(BLAKE2B_CTX *S) in blake2b_set_lastblock()
55 static ossl_inline void blake2b_init0(BLAKE2B_CTX *S) in blake2b_init0()
/freebsd-12.1/crypto/openssl/crypto/ec/curve448/
H A Dfield.h30 # define INLINE_UNUSED ossl_inline
77 static ossl_inline void gf_sqrn(gf_s * RESTRICT y, const gf x, int n) in gf_sqrn()
99 static ossl_inline void gf_sub_nr(gf c, const gf a, const gf b) in gf_sub_nr()
108 static ossl_inline void gf_subx_nr(gf c, const gf a, const gf b, int amt) in gf_subx_nr()
117 static ossl_inline void gf_mulw(gf c, const gf a, int32_t w) in gf_mulw()
128 static ossl_inline void gf_cond_sel(gf x, const gf y, const gf z, mask_t is_z) in gf_cond_sel()
145 static ossl_inline void gf_cond_neg(gf x, mask_t neg) in gf_cond_neg()
154 static ossl_inline void gf_cond_swap(gf x, gf_s * RESTRICT y, mask_t swap) in gf_cond_swap()
H A Dword.h61 static ossl_inline c448_bool_t mask_to_bool(mask_t m) in mask_to_bool()
66 static ossl_inline mask_t bool_to_mask(c448_bool_t m) in bool_to_mask()
H A Dpoint_448.h161 static ossl_inline void curve448_scalar_copy(curve448_scalar_t out, in curve448_scalar_copy()
174 static ossl_inline void curve448_point_copy(curve448_point_t a, in curve448_point_copy()
H A Dcurve448utils.h75 static ossl_inline c448_error_t c448_succeed_if(c448_bool_t x) in c448_succeed_if()
H A Dscalar.c136 static ossl_inline void scalar_decode_short(curve448_scalar_t s, in scalar_decode_short()
H A Dcurve448.c90 static ossl_inline void cond_neg_niels(niels_t n, mask_t neg) in cond_neg_niels()
220 static ossl_inline void constant_time_lookup_niels(niels_s * RESTRICT ni, in constant_time_lookup_niels()
/freebsd-12.1/crypto/openssl/crypto/sm4/
H A Dsm4.c88 static ossl_inline uint32_t rotl(uint32_t a, uint8_t n) in rotl()
93 static ossl_inline uint32_t load_u32_be(const uint8_t *b, uint32_t n) in load_u32_be()
101 static ossl_inline void store_u32_be(uint32_t v, uint8_t *b) in store_u32_be()
109 static ossl_inline uint32_t SM4_T_slow(uint32_t X) in SM4_T_slow()
124 static ossl_inline uint32_t SM4_T(uint32_t X) in SM4_T()
/freebsd-12.1/crypto/openssl/engines/
H A De_afalg.c104 static ossl_inline int io_setup(unsigned n, aio_context_t *ctx) in io_setup()
109 static ossl_inline int eventfd(int n) in eventfd()
114 static ossl_inline int io_destroy(aio_context_t ctx) in io_destroy()
119 static ossl_inline int io_read(aio_context_t ctx, long n, struct iocb **iocb) in io_read()
124 static ossl_inline int io_getevents(aio_context_t ctx, long min, long max, in io_getevents()
326 static ossl_inline void afalg_set_op_sk(struct cmsghdr *cmsg, in afalg_set_op_sk()
348 static ossl_inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key, in afalg_set_key()
/freebsd-12.1/crypto/openssl/crypto/ec/curve448/arch_32/
H A Darch_intrinsics.h22 static ossl_inline uint64_t widemul(uint32_t a, uint32_t b) in widemul()
/freebsd-12.1/crypto/openssl/crypto/async/arch/
H A Dasync_posix.h37 static ossl_inline int async_fibre_swapcontext(async_fibre *o, async_fibre *n, int r) in async_fibre_swapcontext()
/freebsd-12.1/crypto/openssl/crypto/ec/
H A Dec_lcl.h309 static ossl_inline int ec_point_is_compat(const EC_POINT *point, in ec_point_is_compat()
702 static ossl_inline int ec_point_ladder_pre(const EC_GROUP *group, in ec_point_ladder_pre()
716 static ossl_inline int ec_point_ladder_step(const EC_GROUP *group, in ec_point_ladder_step()
731 static ossl_inline int ec_point_ladder_post(const EC_GROUP *group, in ec_point_ladder_post()
/freebsd-12.1/crypto/openssl/crypto/stack/
H A Dstack.c144 static ossl_inline int compute_growth(int target, int current) in compute_growth()
257 static ossl_inline void *internal_delete(OPENSSL_STACK *st, int loc) in internal_delete()
/freebsd-12.1/crypto/openssl/crypto/aria/
H A Daria.c927 static ossl_inline void rotnr(unsigned int n, ARIA_u128 *o, in rotnr()
1062 static ossl_inline void FO(ARIA_u128 *o, const ARIA_u128 *d, in FO()
1076 static ossl_inline void FE(ARIA_u128 *o, const ARIA_u128 *d, in FE()
/freebsd-12.1/crypto/openssl/crypto/bn/
H A Dbn_lcl.h660 static ossl_inline BIGNUM *bn_expand(BIGNUM *a, int bits) in bn_expand()
H A Dbn_lib.c139 static ossl_inline

12