3ec773cd2b
bigint_mod_multiply() and bigint_mod_exp() require a fixed amount of temporary storage for intermediate results. (The amount of temporary storage required depends upon the size of the integers involved.) When performing calculations for 4096-bit RSA the amount of temporary storage space required will exceed 2.5kB, which is too much to allocate on the stack. Avoid this problem by forcing the caller to allocate temporary storage. Signed-off-by: Michael Brown <mcb30@ipxe.org> |
||
---|---|---|
.. | ||
hci | ||
ipxe | ||
readline | ||
sys | ||
usr | ||
.gitignore | ||
alloca.h | ||
assert.h | ||
big_bswap.h | ||
bootp.h | ||
btext.h | ||
byteswap.h | ||
coff.h | ||
compiler.h | ||
cpu.h | ||
ctype.h | ||
curses.h | ||
elf.h | ||
endian.h | ||
errno.h | ||
etherboot.h | ||
fs.h | ||
getopt.h | ||
i82365.h | ||
libgen.h | ||
linux_api.h | ||
little_bswap.h | ||
mii.h | ||
nic.h | ||
old_tcp.h | ||
pc_kbd.h | ||
pcmcia-opts.h | ||
pcmcia.h | ||
stdarg.h | ||
stddef.h | ||
stdint.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
sys_info.h | ||
time.h | ||
unistd.h |