tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libcrypto
/
bn
/
at
trash-bin2
1 folder
32 files
asm
Remove superfluous datatype that is 32 by default. Clang complains about it and it's ok to remove it. This only came up as our clang is targeted at armv7 which enables the NEON instructions.
9 years ago
bn.h
Move BN structs to bn_lcl.h
4 years ago
bn_add.c
Clean up our disgusting implementations of BN_{,u}{add,sub}(), following changes made in OpenSSL by Davide Galassi and others, so that one can actually follow what is going on. There is no performance impact from this change as the code still does essentially the same thing. There's a ton of work still to be done to make the BN code less terrible.
7 years ago
bn_asm.c
use freezero() instead of memset/explicit_bzero + free. Substantially reduces conditional logic (-218, +82).
9 years ago
bn_blind.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_const.c
Provide BN_get_rfc2409_prime_*() and BN_get_rfc3526_prime_*().
8 years ago
bn_ctx.c
make BN_CTX_end(NULL) a NOOP for compatibility with documented behaviour in OpenSSL 1.1.1 even though in general, letting random functions accept NULL is not advisable because it can hide programming errors;
6 years ago
bn_depr.c
None of these need to include <openssl/rand.h>
11 years ago
bn_div.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_err.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_exp.c
Avoid use of uninitialized in BN_mod_exp_recp()
4 years ago
bn_exp2.c
Avoid a NULL dereference in BN_mod_exp2_mont()
4 years ago
bn_gcd.c
Consistently call BN_init() before BN_with_flags()
4 years ago
bn_gf2m.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_kron.c
BN_CTX_get() can fail - consistently check its return value.
11 years ago
bn_lcl.h
Move BN structs to bn_lcl.h
4 years ago
bn_lib.c
Pull BN_{new,init,clear,clear_free,free} up to the top of bn_lib.c
4 years ago
bn_mod.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_mont.c
Check for zero modulus in BN_MONT_CTX_set().
4 years ago
bn_mpi.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_mul.c
BN_CTX_get() can fail - consistently check its return value.
11 years ago
bn_nist.c
Avoid strict aliasing violations in BN_nist_mod_*()
3 years ago
bn_prime.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_prime.h
Explicitly export a list of symbols from libcrypto.
9 years ago
bn_prime.pl
Try to clean the maze of <openssl/bn.h> defines regarding the BN internals.
12 years ago
bn_print.c
Add check for BN functions return value
4 years ago
bn_rand.c
whitespace
4 years ago
bn_recp.c
Send the function codes from the error functions to the bit bucket, as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
9 years ago
bn_shift.c
deregister; no binary change ok jsing@ miod@
11 years ago
bn_sqr.c
BN_CTX_get() can fail - consistently check its return value.
11 years ago
bn_sqrt.c
Fix infinite loop in BN_mod_sqrt()
4 years ago
bn_word.c
On systems where we do not have BN_ULLONG defined (most 64-bit systems), BN_mod_word() can return incorrect results if the supplied modulus is too big, so we need to fall back to BN_div_word.
9 years ago
bn_x931p.c
Add and fix check for BN functions return value
4 years ago