comp.lang.ada
 help / color / mirror / Atom feed
* Side-channel Attacks (Time)
@ 2014-04-25  4:28 Shark8
  2014-04-25  5:09 ` Pascal J. Bourguignon
  0 siblings, 1 reply; 6+ messages in thread
From: Shark8 @ 2014-04-25  4:28 UTC (permalink / raw)


Considering the needs for a secure, verified security library [to 
replace OpenSSL] I was wondering about using the TASK construct in 
conjunction with DELAY UNTIL /OP_UPPERBOUND/* would be an acceptable 
countermeasure.

Psudeocode-ish Example:

task body Protocol is
   Upperbound : Time;
   Working    : Data;
begin
--...
   accept request ([...]) do
     Upperbound:= Clock + operation_length;
   end request;

   Working:= do_operation;
   delay until Upperbound;

   accept response ( Result : out Data )
     Result := Working;
   end response;
--...
end Protocol;


* OP_UPPERBOUND would be the the time the request was made plus the time 
needed to perform the [cryptographic] function.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-04-25 19:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-25  4:28 Side-channel Attacks (Time) Shark8
2014-04-25  5:09 ` Pascal J. Bourguignon
2014-04-25  5:36   ` Shark8
2014-04-25  5:51     ` Pascal J. Bourguignon
2014-04-25  6:26       ` Shark8
2014-04-25 19:43     ` Simon Clubley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox