| /freebsd-14.2/crypto/openssl/include/internal/ |
| H A D | constant_time.h | 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); 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() 159 static ossl_inline BN_ULONG constant_time_eq_bn(BN_ULONG a, in constant_time_eq_bn() 193 static ossl_inline size_t constant_time_is_zero_s(size_t a) in constant_time_is_zero_s() 264 static ossl_inline uint32_t value_barrier_32(uint32_t a) in value_barrier_32() 276 static ossl_inline uint64_t value_barrier_64(uint64_t a) in value_barrier_64() 288 static ossl_inline size_t value_barrier_s(size_t a) in value_barrier_s() [all …]
|
| H A D | packet.h | 30 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() 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() 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() 289 __owur static ossl_inline int PACKET_peek_1(const PACKET *pkt, in PACKET_peek_1() 327 __owur static ossl_inline int PACKET_peek_4(const PACKET *pkt, in PACKET_peek_4() 380 __owur static ossl_inline int PACKET_get_bytes(PACKET *pkt, in PACKET_get_bytes() 409 __owur static ossl_inline int PACKET_copy_bytes(PACKET *pkt, in PACKET_copy_bytes() [all …]
|
| H A D | ktls.h | 55 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() 345 static ossl_inline int ktls_read_record(int fd, void *data, size_t length) in ktls_read_record() [all …]
|
| H A D | unicode.h | 21 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 D | cryptlib.h | 34 __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-14.2/crypto/openssl/include/openssl/ |
| H A D | safestack.h.in | 42 static ossl_unused ossl_inline t2 *ossl_check_##t1##_type(t2 *ptr) \ 72 static ossl_unused ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \ 84 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \ 92 static ossl_unused ossl_inline int sk_##t1##_reserve(STACK_OF(t1) *sk, int n) \ 96 static ossl_unused ossl_inline void sk_##t1##_free(STACK_OF(t1) *sk) \ 100 static ossl_unused ossl_inline void sk_##t1##_zero(STACK_OF(t1) *sk) \ 104 static ossl_unused ossl_inline t2 *sk_##t1##_delete(STACK_OF(t1) *sk, int i) \ 113 static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ 121 static ossl_unused ossl_inline t2 *sk_##t1##_pop(STACK_OF(t1) *sk) \ 125 static ossl_unused ossl_inline t2 *sk_##t1##_shift(STACK_OF(t1) *sk) \ [all …]
|
| H A D | safestack.h | 39 static ossl_unused ossl_inline t2 *ossl_check_##t1##_type(t2 *ptr) \ 69 static ossl_unused ossl_inline int sk_##t1##_num(const STACK_OF(t1) *sk) \ 81 static ossl_unused ossl_inline STACK_OF(t1) *sk_##t1##_new_null(void) \ 89 static ossl_unused ossl_inline int sk_##t1##_reserve(STACK_OF(t1) *sk, int n) \ 93 static ossl_unused ossl_inline void sk_##t1##_free(STACK_OF(t1) *sk) \ 97 static ossl_unused ossl_inline void sk_##t1##_zero(STACK_OF(t1) *sk) \ 101 static ossl_unused ossl_inline t2 *sk_##t1##_delete(STACK_OF(t1) *sk, int i) \ 110 static ossl_unused ossl_inline int sk_##t1##_push(STACK_OF(t1) *sk, t2 *ptr) \ 118 static ossl_unused ossl_inline t2 *sk_##t1##_pop(STACK_OF(t1) *sk) \ 122 static ossl_unused ossl_inline t2 *sk_##t1##_shift(STACK_OF(t1) *sk) \ [all …]
|
| H A D | lhash.h | 136 static ossl_unused ossl_inline type *ossl_check_##type##_lh_plain_type(type *ptr) \ 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) \ 182 static ossl_unused ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \ 186 static ossl_unused ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \ 194 static ossl_unused ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \ 198 static ossl_unused ossl_inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \ 214 static ossl_unused ossl_inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \ 222 static ossl_unused ossl_inline void lh_##type##_doall(LHASH_OF(type) *lh, \ 227 static ossl_unused ossl_inline void lh_##type##_doall_arg(LHASH_OF(type) *lh, \ [all …]
|
| H A D | lhash.h.in | 138 static ossl_unused ossl_inline type *ossl_check_##type##_lh_plain_type(type *ptr) \ 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) \ 184 static ossl_unused ossl_inline type *lh_##type##_insert(LHASH_OF(type) *lh, type *d) \ 188 static ossl_unused ossl_inline type *lh_##type##_delete(LHASH_OF(type) *lh, const type *d) \ 196 static ossl_unused ossl_inline int lh_##type##_error(LHASH_OF(type) *lh) \ 200 static ossl_unused ossl_inline unsigned long lh_##type##_num_items(LHASH_OF(type) *lh) \ 216 static ossl_unused ossl_inline unsigned long lh_##type##_get_down_load(LHASH_OF(type) *lh) \ 224 static ossl_unused ossl_inline void lh_##type##_doall(LHASH_OF(type) *lh, \ 229 static ossl_unused ossl_inline void lh_##type##_doall_arg(LHASH_OF(type) *lh, \ [all …]
|
| H A D | e_os2.h | 269 # 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 D | err.h | 241 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-14.2/crypto/openssl/include/crypto/ |
| H A D | sparse_array.h | 25 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-14.2/crypto/openssl/providers/implementations/digests/ |
| H A D | blake2_impl.h | 20 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-14.2/crypto/openssl/crypto/ec/curve448/ |
| H A D | field.h | 30 # 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 D | word.h | 66 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 D | point_448.h | 168 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-14.2/crypto/openssl/crypto/err/ |
| H A D | err_local.h | 13 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-14.2/crypto/openssl/crypto/modes/ |
| H A D | siv128.c | 22 __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-14.2/crypto/openssl/crypto/sm4/ |
| H A D | sm4.c | 88 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-14.2/crypto/openssl/crypto/bn/ |
| H A D | rsaz_exp_x2.c | 45 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) 501 static ossl_inline void put_digit52(uint8_t *pStr, int strLen, uint64_t digit) 558 static ossl_inline void set_bit(BN_ULONG *a, int idx)
|
| 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()
|
| /freebsd-14.2/crypto/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_ocb.c | 50 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-14.2/crypto/openssl/ |
| H A D | e_os.h | 292 static ossl_inline void ossl_sleep(unsigned long millis) in ossl_sleep() 315 static ossl_inline void ossl_sleep(unsigned long millis) in ossl_sleep() 321 static ossl_inline void ossl_sleep(unsigned long millis) in ossl_sleep()
|
| /freebsd-14.2/crypto/openssl/engines/ |
| H A D | e_afalg.c | 107 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-14.2/crypto/openssl/crypto/ec/curve448/arch_32/ |
| H A D | arch_intrinsics.h | 22 static ossl_inline uint64_t widemul(uint32_t a, uint32_t b) in widemul()
|