summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/linux
diff options
context:
space:
mode:
authorMichael Brown2012-03-18 21:02:25 +0100
committerMichael Brown2012-03-18 21:22:43 +0100
commit3ec773cd2b9d32c5a4bb3a7a6ae86e49fd278c8f (patch)
tree743d5b133e4469d9644319fd54f81c06822711c5 /src/include/ipxe/linux
parent[rng] Add Linux entropy source using /dev/random (diff)
downloadipxe-3ec773cd2b9d32c5a4bb3a7a6ae86e49fd278c8f.tar.gz
ipxe-3ec773cd2b9d32c5a4bb3a7a6ae86e49fd278c8f.tar.xz
ipxe-3ec773cd2b9d32c5a4bb3a7a6ae86e49fd278c8f.zip
[crypto] Force caller to provide temporary storage for modular calculations
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>
Diffstat (limited to 'src/include/ipxe/linux')
0 files changed, 0 insertions, 0 deletions