diff options
author | Paul Selkirk <paul@psgd.org> | 2018-01-04 13:15:30 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2018-01-04 13:46:44 -0500 |
commit | 894181009ad3002d84d2ce6ea74bbd5aea068999 (patch) | |
tree | 0c46b96872195194051b6afd03fd6fbc2fe89af1 /asn1.c | |
parent | bc167c214e97ed35f39d088a7dee3f1a9511340e (diff) |
Add hal_core_alloc2() to fix a dining philosophers problem in hal_modexp2().
Uncoordinated attempts to allocate two modexpa7 cores leads to deadlock if
multiple clients try to do concurrent RSA signing operations.
The simplest solution (back off and retry) could theoretically lead to
resource starvation, but we haven't seen it in actual testing.
Diffstat (limited to 'asn1.c')
0 files changed, 0 insertions, 0 deletions