Hacker News new | ask | show | jobs
by adrianN 3516 days ago
Verifying a signature is not the simplest thing to do on hardware that doesn't even support a normal OS.
1 comments

I see, that makes sense. Let's say you implement verification as:

1. Hashing the incoming data

2. Decrypting an attached signature

3. Verifying the decrypted and calculated hash are the same

Even though Step 2 would involve RSA or ECC, wouldn't Step 1 be the most expensive part regardless?