Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h16 # include <openssl/e_os2.h> /* For 'ossl_inline' */
33 static ossl_inline unsigned int constant_time_msb(unsigned int a);
35 static ossl_inline uint32_t constant_time_msb_32(uint32_t a);
37 static ossl_inline uint64_t constant_time_msb_64(uint64_t a);
40 static ossl_inline unsigned int constant_time_lt(unsigned int a,
43 static ossl_inline unsigned char constant_time_lt_8(unsigned int a,
46 static ossl_inline uint64_t constant_time_lt_64(uint64_t a, uint64_t b);
49 static ossl_inline unsigned int constant_time_ge(unsigned int a,
52 static ossl_inline unsigned char constant_time_ge_8(unsigned int a,
56 static ossl_inline unsigne
[all...]
H A Dpacket.h30 static ossl_inline void packet_forward(PACKET *pkt, size_t len) in packet_forward()
39 static ossl_inline size_t PACKET_remaining(const PACKET *pkt) in PACKET_remaining()
50 static ossl_inline const unsigned char *PACKET_end(const PACKET *pkt) in PACKET_end()
59 static ossl_inline const unsigned char *PACKET_data(const PACKET *pkt) in PACKET_data()
69 __owur static ossl_inline int PACKET_buf_init(PACKET *pkt, in PACKET_buf_init()
83 static ossl_inline void PACKET_null_init(PACKET *pkt) in PACKET_null_init()
94 __owur static ossl_inline int PACKET_equal(const PACKET *pkt, const void *ptr, in PACKET_equal()
107 __owur static ossl_inline int PACKET_peek_sub_packet(const PACKET *pkt, in PACKET_peek_sub_packet()
121 __owur static ossl_inline int PACKET_get_sub_packet(PACKET *pkt, in PACKET_get_sub_packet()
136 __owur static ossl_inline int PACKET_peek_net_2(const PACKET *pkt, in PACKET_peek_net_2()
[all …]
H A Dktls.h55 static ossl_inline int ktls_enable(int fd) in ktls_enable()
70 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *tls_en, int is_tx) in ktls_start()
90 static ossl_inline int ktls_send_ctrl_message(int fd, unsigned char record_type, in ktls_send_ctrl_message()
118 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record()
132 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record()
193 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, in ktls_sendfile()
276 static ossl_inline int ktls_enable(int fd) in ktls_enable()
289 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start()
303 static ossl_inline int ktls_send_ctrl_message(int fd, unsigned char record_type, in ktls_send_ctrl_message()
337 static ossl_inline ossl_ssize_t ktls_sendfile(int s, int fd, off_t off, size_t size, int flags) in ktls_sendfile()
[all …]
H A Dunicode.h21 static ossl_unused ossl_inline int is_unicode_surrogate(unsigned long value) in is_unicode_surrogate()
26 static ossl_unused ossl_inline int is_unicode_valid(unsigned long value) in is_unicode_valid()
H A Dcryptlib.h34 __owur static ossl_inline int ossl_assert_int(int expr, const char *exprstr, in ossl_assert_int()
233 static ossl_inline int ossl_ends_with_dirsep(const char *path) in ossl_ends_with_dirsep()
247 static ossl_inline int ossl_is_absolute_path(const char *path) in ossl_is_absolute_path()
/freebsd/crypto/openssl/include/openssl/
H A Dsafestack.h.in42 static ossl_unused ossl_inline t2 *ossl_check_##t1##_type(t2 *ptr) \
46 …static ossl_unused ossl_inline const OPENSSL_STACK *ossl_check_const_##t1##_sk_type(const STACK_OF…
50 static ossl_unused ossl_inline OPENSSL_STACK *ossl_check_##t1##_sk_type(STACK_OF(t1) *sk) \
54 …static ossl_unused ossl_inline OPENSSL_sk_compfunc ossl_check_##t1##_compfunc_type(sk_##t1##_compf…
58 …static ossl_unused ossl_inline OPENSSL_sk_copyfunc ossl_check_##t1##_copyfunc_type(sk_##t1##_copyf…
62 …static ossl_unused ossl_inline OPENSSL_sk_freefunc ossl_check_##t1##_freefunc_type(sk_##t1##_freef…
72 static ossl_unused ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \
76 static ossl_unused ossl_inline t2 *sk_##t1##_value(const STACK_OF(t1) *sk, int idx) \
80 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new(sk_##t1##_compfunc compare) \
84 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \
[all …]
H A Dsafestack.h39 static ossl_unused ossl_inline t2 *ossl_check_##t1##_type(t2 *ptr) \
43 …static ossl_unused ossl_inline const OPENSSL_STACK *ossl_check_const_##t1##_sk_type(const STACK_OF…
47 static ossl_unused ossl_inline OPENSSL_STACK *ossl_check_##t1##_sk_type(STACK_OF(t1) *sk) \
51 …static ossl_unused ossl_inline OPENSSL_sk_compfunc ossl_check_##t1##_compfunc_type(sk_##t1##_compf…
55 …static ossl_unused ossl_inline OPENSSL_sk_copyfunc ossl_check_##t1##_copyfunc_type(sk_##t1##_copyf…
59 …static ossl_unused ossl_inline OPENSSL_sk_freefunc ossl_check_##t1##_freefunc_type(sk_##t1##_freef…
69 static ossl_unused ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \
73 static ossl_unused ossl_inline t2 *sk_##t1##_value(const STACK_OF(t1) *sk, int idx) \
77 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new(sk_##t1##_compfunc compare) \
81 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \
[all …]
H A Dlhash.h136 static ossl_unused ossl_inline type *ossl_check_##type##_lh_plain_type(type *ptr) \
140 …static ossl_unused ossl_inline const type *ossl_check_const_##type##_lh_plain_type(const type *ptr…
144 …static ossl_unused ossl_inline const OPENSSL_LHASH *ossl_check_const_##type##_lh_type(const LHASH_…
148 static ossl_unused ossl_inline OPENSSL_LHASH *ossl_check_##type##_lh_type(LHASH_OF(type) *lh) \
152 …static ossl_unused ossl_inline OPENSSL_LH_COMPFUNC ossl_check_##type##_lh_compfunc_type(lh_##type#…
156 …static ossl_unused ossl_inline OPENSSL_LH_HASHFUNC ossl_check_##type##_lh_hashfunc_type(lh_##type#…
160 …static ossl_unused ossl_inline OPENSSL_LH_DOALL_FUNC ossl_check_##type##_lh_doallfunc_type(lh_##ty…
168 …static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *),…
174 static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
178 static ossl_unused ossl_inline void lh_##type##_flush(LHASH_OF(type) *lh) \
[all …]
H A Dlhash.h.in138 static ossl_unused ossl_inline type *ossl_check_##type##_lh_plain_type(type *ptr) \
142 …static ossl_unused ossl_inline const type *ossl_check_const_##type##_lh_plain_type(const type *ptr…
146 …static ossl_unused ossl_inline const OPENSSL_LHASH *ossl_check_const_##type##_lh_type(const LHASH_…
150 static ossl_unused ossl_inline OPENSSL_LHASH *ossl_check_##type##_lh_type(LHASH_OF(type) *lh) \
154 …static ossl_unused ossl_inline OPENSSL_LH_COMPFUNC ossl_check_##type##_lh_compfunc_type(lh_##type#…
158 …static ossl_unused ossl_inline OPENSSL_LH_HASHFUNC ossl_check_##type##_lh_hashfunc_type(lh_##type#…
162 …static ossl_unused ossl_inline OPENSSL_LH_DOALL_FUNC ossl_check_##type##_lh_doallfunc_type(lh_##ty…
170 …static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *),…
176 static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
180 static ossl_unused ossl_inline void lh_##type##_flush(LHASH_OF(type) *lh) \
[all …]
H A De_os2.h269 # define ossl_inline inline macro
271 # define ossl_inline __inline__ macro
278 # define ossl_inline __inline macro
280 # define ossl_inline macro
283 # define ossl_inline inline macro
H A Derr.h241 static ossl_unused ossl_inline int ERR_GET_LIB(unsigned long errcode) in ERR_GET_LIB()
248 static ossl_unused ossl_inline int ERR_GET_RFLAGS(unsigned long errcode) in ERR_GET_RFLAGS()
255 static ossl_unused ossl_inline int ERR_GET_REASON(unsigned long errcode) in ERR_GET_REASON()
262 static ossl_unused ossl_inline int ERR_FATAL_ERROR(unsigned long errcode) in ERR_FATAL_ERROR()
267 static ossl_unused ossl_inline int ERR_COMMON_ERROR(unsigned long errcode) in ERR_COMMON_ERROR()
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dblake2_impl.h20 static ossl_inline uint32_t load32(const uint8_t *src) in load32()
37 static ossl_inline uint64_t load64(const uint8_t *src) in load64()
58 static ossl_inline void store32(uint8_t *dst, uint32_t w) in store32()
73 static ossl_inline void store64(uint8_t *dst, uint64_t w) in store64()
88 static ossl_inline uint64_t load48(const uint8_t *src) in load48()
99 static ossl_inline void store48(uint8_t *dst, uint64_t w) in store48()
110 static ossl_inline uint32_t rotr32(const uint32_t w, const unsigned int c) in rotr32()
115 static ossl_inline uint64_t rotr64(const uint64_t w, const unsigned int c) in rotr64()
/freebsd/crypto/openssl/include/crypto/
H A Dsparse_array.h25 static ossl_unused ossl_inline SPARSE_ARRAY_OF(type) * \
30 static ossl_unused ossl_inline void \
35 static ossl_unused ossl_inline void \
40 static ossl_unused ossl_inline size_t \
45 static ossl_unused ossl_inline void \
52 static ossl_unused ossl_inline void \
60 static ossl_unused ossl_inline ctype \
65 static ossl_unused ossl_inline int \
/freebsd/crypto/openssl/crypto/ec/curve448/
H A Dfield.h30 # define INLINE_UNUSED ossl_inline
82 static ossl_inline void gf_sqrn(gf_s * RESTRICT y, const gf x, int n) in gf_sqrn()
104 static ossl_inline void gf_sub_nr(gf c, const gf a, const gf b) in gf_sub_nr()
113 static ossl_inline void gf_subx_nr(gf c, const gf a, const gf b, int amt) in gf_subx_nr()
122 static ossl_inline void gf_mulw(gf c, const gf a, int32_t w) in gf_mulw()
133 static ossl_inline void gf_cond_sel(gf x, const gf y, const gf z, mask_t is_z) in gf_cond_sel()
150 static ossl_inline void gf_cond_neg(gf x, mask_t neg) in gf_cond_neg()
159 static ossl_inline void gf_cond_swap(gf x, gf_s * RESTRICT y, mask_t swap) in gf_cond_swap()
H A Dword.h66 static ossl_inline c448_bool_t mask_to_bool(mask_t m) in mask_to_bool()
71 static ossl_inline mask_t bool_to_mask(c448_bool_t m) in bool_to_mask()
H A Dpoint_448.h168 static ossl_inline void curve448_scalar_copy(curve448_scalar_t out, in curve448_scalar_copy()
181 static ossl_inline void curve448_point_copy(curve448_point_t a, in curve448_point_copy()
/freebsd/crypto/openssl/crypto/err/
H A Derr_local.h13 static ossl_inline void err_get_slot(ERR_STATE *es) in err_get_slot()
20 static ossl_inline void err_clear_data(ERR_STATE *es, size_t i, int deall) in err_clear_data()
39 static ossl_inline void err_set_error(ERR_STATE *es, size_t i, in err_set_error()
48 static ossl_inline void err_set_debug(ERR_STATE *es, size_t i, in err_set_debug()
69 static ossl_inline void err_set_data(ERR_STATE *es, size_t i, in err_set_data()
79 static ossl_inline void err_clear(ERR_STATE *es, size_t i, int deall) in err_clear()
/freebsd/crypto/openssl/crypto/modes/
H A Dsiv128.c22 __owur static ossl_inline uint32_t rotl8(uint32_t x) in rotl8()
27 __owur static ossl_inline uint32_t rotr8(uint32_t x) in rotr8()
32 __owur static ossl_inline uint64_t byteswap8(uint64_t x) in byteswap8()
42 __owur static ossl_inline uint64_t siv128_getword(SIV_BLOCK const *b, size_t i) in siv128_getword()
51 static ossl_inline void siv128_putword(SIV_BLOCK *b, size_t i, uint64_t x) in siv128_putword()
61 static ossl_inline void siv128_xorblock(SIV_BLOCK *x, in siv128_xorblock()
74 static ossl_inline void siv128_dbl(SIV_BLOCK *b) in siv128_dbl()
89 __owur static ossl_inline int siv128_do_s2v_p(SIV128_CONTEXT *ctx, SIV_BLOCK *out, in siv128_do_s2v_p()
129 __owur static ossl_inline int siv128_do_encrypt(EVP_CIPHER_CTX *ctx, unsigned char *out, in siv128_do_encrypt()
/freebsd/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/crypto/openssl/crypto/bn/
H A Drsaz_exp_x2.c45 static ossl_inline uint64_t get_digit52(const uint8_t *in, int in_len);
46 static ossl_inline void put_digit52(uint8_t *out, int out_len, uint64_t digit);
50 static ossl_inline void set_bit(BN_ULONG *a, int idx);
53 static ossl_inline int number_of_digits(int bitsize, int digit_size)
441 static ossl_inline uint64_t get_digit52(const uint8_t *in, int in_len)
505 static ossl_inline void put_digit52(uint8_t *pStr, int strLen, uint64_t digit)
562 static ossl_inline void set_bit(BN_ULONG *a, int idx)
H A Drsaz_exp.h57 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()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_aes_ocb.c50 static ossl_inline int aes_generic_ocb_setiv(PROV_AES_OCB_CTX *ctx, in aes_generic_ocb_setiv()
57 static ossl_inline int aes_generic_ocb_setaad(PROV_AES_OCB_CTX *ctx, in aes_generic_ocb_setaad()
64 static ossl_inline int aes_generic_ocb_gettag(PROV_AES_OCB_CTX *ctx, in aes_generic_ocb_gettag()
70 static ossl_inline int aes_generic_ocb_final(PROV_AES_OCB_CTX *ctx) in aes_generic_ocb_final()
75 static ossl_inline void aes_generic_ocb_cleanup(PROV_AES_OCB_CTX *ctx) in aes_generic_ocb_cleanup()
80 static ossl_inline int aes_generic_ocb_cipher(PROV_AES_OCB_CTX *ctx, in aes_generic_ocb_cipher()
94 static ossl_inline int aes_generic_ocb_copy_ctx(PROV_AES_OCB_CTX *dst, in aes_generic_ocb_copy_ctx()
/freebsd/crypto/openssl/
H A De_os.h292 static ossl_inline void ossl_sleep(unsigned long millis) in ossl_sleep()
315 static ossl_inline void ossl_sleep(unsigned long millis)
321 static ossl_inline void ossl_sleep(unsigned long millis)
/freebsd/crypto/openssl/engines/
H A De_afalg.c107 static ossl_inline int io_setup(unsigned n, aio_context_t *ctx) in io_setup()
112 static ossl_inline int eventfd(int n) in eventfd()
117 static ossl_inline int io_destroy(aio_context_t ctx) in io_destroy()
122 static ossl_inline int io_read(aio_context_t ctx, long n, struct iocb **iocb) in io_read()
134 static ossl_inline int io_getevents(aio_context_t ctx, long min, long max, in io_getevents()
383 static ossl_inline void afalg_set_op_sk(struct cmsghdr *cmsg, in afalg_set_op_sk()
405 static ossl_inline int afalg_set_key(afalg_ctx *actx, const unsigned char *key, in afalg_set_key()
/freebsd/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()

123