Home
last modified time | relevance | path

Searched refs:bn_rand (Results 1 – 25 of 149) sorted by relevance

123456

/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/lang/erlang/otp-OTP-24.1.7/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/crypto/c_src/
H A Drand.c54 BIGNUM *bn_range = NULL, *bn_rand = NULL; in strong_rand_range_nif() local
62 if ((bn_rand = BN_new()) == NULL) in strong_rand_range_nif()
64 if (!BN_rand_range(bn_rand, bn_range)) in strong_rand_range_nif()
78 if (bn_rand) in strong_rand_range_nif()
79 BN_free(bn_rand); in strong_rand_range_nif()
102 if (!BN_sub(bn_to, bn_rand, bn_from)) in rand_uniform_nif()
106 if (!BN_add(bn_rand, bn_rand, bn_from)) in rand_uniform_nif()
109 if ((dlen = BN_num_bytes(bn_rand)) < 0) in rand_uniform_nif()
115 BN_bn2bin(bn_rand, data+4); in rand_uniform_nif()
124 if (bn_rand) in rand_uniform_nif()
[all …]
/dports/net/p5-Socket-Class/Socket-Class-2.258/xs/sc_ssl/openssl/source/crypto/bn/
H A Dbn_rand.c232 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
254 if (!bn_rand(r, n + 1, -1, 0)) return 0; in bn_rand_range()
281 if (!bn_rand(r, n, -1, 0)) return 0; in bn_rand_range()
H A DMakefile28 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
34 bn_print.o bn_rand.o bn_shift.o bn_word.o bn_blind.o \
317 bn_rand.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
318 bn_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
319 bn_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
320 bn_rand.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
321 bn_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
322 bn_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
323 bn_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
324 bn_rand.o: ../cryptlib.h bn_lcl.h bn_rand.c
/dports/devel/godot2/godot-2.1.6-stable/thirdparty/openssl/crypto/bn/
H A Dbn_rand.c223 int (*bn_rand) (BIGNUM *, int, int, int) = in bn_rand_range() local
245 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
271 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/devel/godot2-tools/godot-2.1.6-stable/thirdparty/openssl/crypto/bn/
H A Dbn_rand.c223 int (*bn_rand) (BIGNUM *, int, int, int) = in bn_rand_range() local
245 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
271 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/security/openssl-unsafe/openssl-c9ba19c/crypto/bn/
H A Dbn_rand.c223 int (*bn_rand) (BIGNUM *, int, int, int) = in bn_rand_range() local
245 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
271 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
H A DMakefile26 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
32 bn_print.o bn_rand.o bn_shift.o bn_word.o bn_blind.o \
342 bn_rand.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
343 bn_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
344 bn_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
345 bn_rand.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
346 bn_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
347 bn_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
348 bn_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
349 bn_rand.o: ../cryptlib.h bn_lcl.h bn_rand.c
/dports/security/openssl-legacy-static/openssl-1.0.2u/crypto/bn/
H A Dbn_rand.c223 int (*bn_rand) (BIGNUM *, int, int, int) = in bn_rand_range() local
245 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
271 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
H A DMakefile26 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
32 bn_print.o bn_rand.o bn_shift.o bn_word.o bn_blind.o \
358 bn_rand.o: ../../e_os.h ../../include/openssl/bio.h ../../include/openssl/bn.h
359 bn_rand.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h
360 bn_rand.o: ../../include/openssl/e_os2.h ../../include/openssl/err.h
361 bn_rand.o: ../../include/openssl/lhash.h ../../include/openssl/opensslconf.h
362 bn_rand.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h
363 bn_rand.o: ../../include/openssl/rand.h ../../include/openssl/safestack.h
364 bn_rand.o: ../../include/openssl/stack.h ../../include/openssl/symhacks.h
365 bn_rand.o: ../bn_int.h ../cryptlib.h bn_lcl.h bn_rand.c
/dports/sysutils/shim/shim-0.9/Cryptlib/OpenSSL/crypto/bn/
H A Dbn_rand.c218 int (*bn_rand) (BIGNUM *, int, int, int) = in bn_rand_range() local
240 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
266 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/security/libressl-static/libressl-3.3.5/crypto/bn/
H A Dbn_rand.c222 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
241 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
265 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/security/libressl/libressl-3.4.3/crypto/bn/
H A Dbn_rand.c222 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
241 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
265 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/emulators/citra-qt5/citra-ac98458e0/externals/libressl/crypto/bn/
H A Dbn_rand.c222 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
241 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
265 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/emulators/citra/citra-ac98458e0/externals/libressl/crypto/bn/
H A Dbn_rand.c222 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
241 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
265 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/www/obhttpd/libressl-3.4.1/crypto/bn/
H A Dbn_rand.c222 int (*bn_rand)(BIGNUM *, int, int, int) = pseudo ? BN_pseudo_rand : BN_rand; in bn_rand_range() local
241 if (!bn_rand(r, n + 1, -1, 0)) in bn_rand_range()
265 if (!bn_rand(r, n, -1, 0)) in bn_rand_range()
/dports/security/py-m2crypto/M2Crypto-0.38.0/src/M2Crypto/
H A DBN.py24 return m2.bn_rand(bits, top, bottom)
/dports/security/py-m2crypto/M2Crypto-0.38.0/src/SWIG/
H A D_bn.i18 PyObject *bn_rand(int bits, int top, int bottom) in bn_rand() function
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/bn/
H A Dbuild.info4 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/openssl-src-111.16.0+1.1.1l/openssl/crypto/bn/
H A Dbuild.info4 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/CryptoPkg/Library/OpensslLib/openssl/crypto/bn/
H A Dbuild.info4 bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \

123456