comp.lang.ada
 help / color / mirror / Atom feed
From: Shark8 <OneWingedShark@gmail.com>
Subject: Side-channel Attacks (Time)
Date: Thu, 24 Apr 2014 22:28:44 -0600
Date: 2014-04-24T22:28:44-06:00	[thread overview]
Message-ID: <2wl6v.162063$kp1.28371@fx14.iad> (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.

             reply	other threads:[~2014-04-25  4:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-25  4:28 Shark8 [this message]
2014-04-25  5:09 ` Side-channel Attacks (Time) 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
replies disabled

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