Move table in bn_primes.h to a .c file and get rid of prime_t
authortb <tb@openbsd.org>
Wed, 9 Nov 2022 22:52:51 +0000 (22:52 +0000)
committertb <tb@openbsd.org>
Wed, 9 Nov 2022 22:52:51 +0000 (22:52 +0000)
commit54ce1b6bc8f26ef57f56b30685eb483b0f7bf342
tree6f3a85452deaf6f5b9d20fa3d403d1c701cc53c1
parenteadad9f1af94df863ba43435828df1c86eadd88d
Move table in bn_primes.h to a .c file and get rid of prime_t

This way we deduplicate two inclusions of the same big table and eliminate
lots of stupid casts.

input and ok many
lib/libcrypto/Makefile
lib/libcrypto/bn/bn_prime.c
lib/libcrypto/bn/bn_prime.h
lib/libcrypto/bn/bn_prime.pl
lib/libcrypto/bn/bn_small_primes.c [new file with mode: 0644]