Hello,

In some application, I would like to be able to authenticate the
origin of a data file (such as a new program to flash on an EPROM),
to make sure it is a properly tested/validated version.

It seems like a digital signature system such as DSA is what I need.
But I really do not need any of the fluff (encodings of the signature,
certificate management, etc).

In the end, I am looking for a minimalist API looking like
(with each parameter being something like a buffer ptr+size):

void generateSignature( in data, in privateKey, out signature);
bool verifySignature  ( in data, in publicKey, in signature );
/* and something to generate a private+public key pair
   in binary form, which I will embed in the SW         */

I assume that a corresponding functionality can be found in NSS.
But where?

(I may have to extract the required source code, as this is
 eventually to be used on an embedded system).

Thanks in advance for any assistance,
Ivan
-- 
http://ivan.vecerina.com/contact/?subject=NG_POST <- e-mail contact form


_______________________________________________
mozilla-crypto mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to