diff options
author | Paul Selkirk <paul@psgd.org> | 2018-09-19 17:09:56 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2018-09-19 17:09:56 -0400 |
commit | a4469079c753ff2c3146704f1e4eec3e3e1bb30b (patch) | |
tree | 99b35bb1a3b834aa42825c132703d49b9589dd1c /hal_rpc.h | |
parent | 7219e78b554a7b7e792a344b0c6cf133affe88b2 (diff) |
Make hal_core_alloc2 a little smarter.hal_core_alloc2-fix
Currently the only use of hal_core_alloc2 is to allocate two modexp cores.
If the bitstream only has one, we'd allocate that one, then try to allocate
it again, and spin forever.
Added a check for that, and let rsa_crt fall back to trying with one modexp
core if it can't find two.
Diffstat (limited to 'hal_rpc.h')
0 files changed, 0 insertions, 0 deletions