Home
last modified time | relevance | path

Searched refs:ossl_unused (Results 1 – 25 of 97) sorted by relevance

1234

/freebsd/crypto/openssl/fuzz/
H A Dfuzz_rand.c35 static void fuzz_rand_freectx(ossl_unused void *vrng) in fuzz_rand_freectx()
40 static int fuzz_rand_instantiate(ossl_unused void *vrng, in fuzz_rand_instantiate()
41 ossl_unused unsigned int strength, in fuzz_rand_instantiate()
42 ossl_unused int prediction_resistance, in fuzz_rand_instantiate()
43 ossl_unused const unsigned char *pstr, in fuzz_rand_instantiate()
44 ossl_unused size_t pstr_len, in fuzz_rand_instantiate()
45 ossl_unused const OSSL_PARAM params[]) in fuzz_rand_instantiate()
51 static int fuzz_rand_uninstantiate(ossl_unused void *vrng) in fuzz_rand_uninstantiate()
57 static int fuzz_rand_generate(ossl_unused void *vdrbg, in fuzz_rand_generate()
59 ossl_unused unsigned int strength, in fuzz_rand_generate()
[all …]
/freebsd/crypto/openssl/providers/implementations/rands/
H A Dseed_src.c74 ossl_unused const OSSL_PARAM params[]) in seed_src_instantiate()
92 ossl_unused int prediction_resistance, in seed_src_generate()
93 ossl_unused const unsigned char *adin, in seed_src_generate()
94 ossl_unused size_t adin_len) in seed_src_generate()
124 ossl_unused int prediction_resistance, in seed_src_reseed()
125 ossl_unused const unsigned char *ent, in seed_src_reseed()
126 ossl_unused size_t ent_len, in seed_src_reseed()
127 ossl_unused const unsigned char *adin, in seed_src_reseed()
128 ossl_unused size_t adin_len) in seed_src_reseed()
160 static const OSSL_PARAM *seed_src_gettable_ctx_params(ossl_unused void *vseed, in seed_src_gettable_ctx_params()
[all …]
H A Dtest_rng.c115 static int test_rng_reseed(ossl_unused void *vtest, in test_rng_reseed()
116 ossl_unused int prediction_resistance, in test_rng_reseed()
117 ossl_unused const unsigned char *ent, in test_rng_reseed()
118 ossl_unused size_t ent_len, in test_rng_reseed()
119 ossl_unused const unsigned char *adin, in test_rng_reseed()
120 ossl_unused size_t adin_len) in test_rng_reseed()
127 ossl_unused size_t min_noncelen, in test_rng_nonce()
128 ossl_unused size_t max_noncelen) in test_rng_nonce()
159 static const OSSL_PARAM *test_rng_gettable_ctx_params(ossl_unused void *vtest, in test_rng_gettable_ctx_params()
160 ossl_unused void *provctx) in test_rng_gettable_ctx_params()
[all …]
/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 …]
/freebsd/crypto/openssl/include/internal/
H A Drefcount.h31 ossl_unused void *lock) in CRYPTO_UP_REF()
48 ossl_unused void *lock) in CRYPTO_DOWN_REF()
62 static __inline__ int CRYPTO_UP_REF(int *val, int *ret, ossl_unused void *lock) in CRYPTO_UP_REF()
69 ossl_unused void *lock) in CRYPTO_DOWN_REF()
81 ossl_unused void *lock) in CRYPTO_UP_REF()
88 ossl_unused void *lock) in CRYPTO_DOWN_REF()
107 ossl_unused void *lock) in CRYPTO_UP_REF()
114 ossl_unused void *lock) in CRYPTO_DOWN_REF()
135 ossl_unused void *lock) in CRYPTO_UP_REF()
142 ossl_unused void *lock) in CRYPTO_DOWN_REF()
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()
/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 \
H A Drand.h111 size_t ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle,
114 void ossl_rand_cleanup_entropy(ossl_unused const OSSL_CORE_HANDLE *handle,
116 size_t ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle,
119 void ossl_rand_cleanup_nonce(ossl_unused const OSSL_CORE_HANDLE *handle,
/freebsd/crypto/openssl/test/testutil/
H A Dfake_random.c50 static int fake_rand_instantiate(void *vrng, ossl_unused unsigned int strength, in fake_rand_instantiate()
51 ossl_unused int prediction_resistance, in fake_rand_instantiate()
52 ossl_unused const unsigned char *pstr, in fake_rand_instantiate()
54 ossl_unused const OSSL_PARAM params[]) in fake_rand_instantiate()
96 static int fake_rand_get_ctx_params(ossl_unused void *vrng, OSSL_PARAM params[]) in fake_rand_get_ctx_params()
115 static const OSSL_PARAM *fake_rand_gettable_ctx_params(ossl_unused void *vrng, in fake_rand_gettable_ctx_params()
116 ossl_unused void *provctx) in fake_rand_gettable_ctx_params()
/freebsd/crypto/openssl/crypto/rand/
H A Dprov_seed.c15 size_t ossl_rand_get_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, in ossl_rand_get_entropy()
41 void ossl_rand_cleanup_entropy(ossl_unused const OSSL_CORE_HANDLE *handle, in ossl_rand_cleanup_entropy()
47 size_t ossl_rand_get_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, in ossl_rand_get_nonce()
72 void ossl_rand_cleanup_nonce(ossl_unused const OSSL_CORE_HANDLE *handle, in ossl_rand_cleanup_nonce()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_null.c116 static const OSSL_PARAM *null_gettable_ctx_params(ossl_unused void *cctx, in null_gettable_ctx_params()
117 ossl_unused void *provctx) in null_gettable_ctx_params()
153 static const OSSL_PARAM *null_settable_ctx_params(ossl_unused void *cctx, in null_settable_ctx_params()
154 ossl_unused void *provctx) in null_settable_ctx_params()
H A Dcipher_chacha20.c118 const OSSL_PARAM *chacha20_gettable_ctx_params(ossl_unused void *cctx, in chacha20_gettable_ctx_params()
119 ossl_unused void *provctx) in chacha20_gettable_ctx_params()
162 const OSSL_PARAM *chacha20_settable_ctx_params(ossl_unused void *cctx, in chacha20_settable_ctx_params()
163 ossl_unused void *provctx) in chacha20_settable_ctx_params()
H A Dcipher_rc4_hmac_md5.c108 const OSSL_PARAM *rc4_hmac_md5_gettable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_gettable_ctx_params()
109 ossl_unused void *provctx) in rc4_hmac_md5_gettable_ctx_params()
144 const OSSL_PARAM *rc4_hmac_md5_settable_ctx_params(ossl_unused void *cctx, in rc4_hmac_md5_settable_ctx_params()
145 ossl_unused void *provctx) in rc4_hmac_md5_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dcmac_prov.c157 static const OSSL_PARAM *cmac_gettable_ctx_params(ossl_unused void *ctx, in cmac_gettable_ctx_params()
158 ossl_unused void *provctx) in cmac_gettable_ctx_params()
184 static const OSSL_PARAM *cmac_settable_ctx_params(ossl_unused void *ctx, in cmac_settable_ctx_params()
185 ossl_unused void *provctx) in cmac_settable_ctx_params()
H A Dblake2_mac_impl.c152 static const OSSL_PARAM *blake2_gettable_ctx_params(ossl_unused void *ctx, in blake2_gettable_ctx_params()
153 ossl_unused void *provctx) in blake2_gettable_ctx_params()
181 ossl_unused void *ctx, ossl_unused void *p_ctx) in blake2_mac_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/asymciphers/
H A Dsm2_enc.c181 static const OSSL_PARAM *sm2_gettable_ctx_params(ossl_unused void *vpsm2ctx, in sm2_gettable_ctx_params()
182 ossl_unused void *provctx) in sm2_gettable_ctx_params()
210 static const OSSL_PARAM *sm2_settable_ctx_params(ossl_unused void *vpsm2ctx, in sm2_settable_ctx_params()
211 ossl_unused void *provctx) in sm2_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/digests/
H A Dmdc2_prov.c33 static const OSSL_PARAM *mdc2_settable_ctx_params(ossl_unused void *ctx, in mdc2_settable_ctx_params()
34 ossl_unused void *provctx) in mdc2_settable_ctx_params()
H A Dmd5_sha1_prov.c33 static const OSSL_PARAM *md5_sha1_settable_ctx_params(ossl_unused void *ctx, in md5_sha1_settable_ctx_params()
34 ossl_unused void *provctx) in md5_sha1_settable_ctx_params()
H A Dsha2_prov.c36 static const OSSL_PARAM *sha1_settable_ctx_params(ossl_unused void *ctx, in sha1_settable_ctx_params()
37 ossl_unused void *provctx) in sha1_settable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dpbkdf1.c205 static const OSSL_PARAM *kdf_pbkdf1_settable_ctx_params(ossl_unused void *ctx, in kdf_pbkdf1_settable_ctx_params()
206 ossl_unused void *p_ctx) in kdf_pbkdf1_settable_ctx_params()
228 static const OSSL_PARAM *kdf_pbkdf1_gettable_ctx_params(ossl_unused void *ctx, in kdf_pbkdf1_gettable_ctx_params()
229 ossl_unused void *p_ctx) in kdf_pbkdf1_gettable_ctx_params()
H A Dsshkdf.c179 static const OSSL_PARAM *kdf_sshkdf_settable_ctx_params(ossl_unused void *ctx, in kdf_sshkdf_settable_ctx_params()
180 ossl_unused void *p_ctx) in kdf_sshkdf_settable_ctx_params()
203 static const OSSL_PARAM *kdf_sshkdf_gettable_ctx_params(ossl_unused void *ctx, in kdf_sshkdf_gettable_ctx_params()
204 ossl_unused void *p_ctx) in kdf_sshkdf_gettable_ctx_params()
/freebsd/crypto/openssl/providers/implementations/kem/
H A Drsa_kem.c162 static const OSSL_PARAM *rsakem_gettable_ctx_params(ossl_unused void *vprsactx, in rsakem_gettable_ctx_params()
163 ossl_unused void *provctx) in rsakem_gettable_ctx_params()
197 static const OSSL_PARAM *rsakem_settable_ctx_params(ossl_unused void *vprsactx, in rsakem_settable_ctx_params()
198 ossl_unused void *provctx) in rsakem_settable_ctx_params()

1234