From 2b2ad2c10770c6a864f3ada1e2803ed72c8dfa1b Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 11 Mar 2019 17:40:01 +1300 Subject: Move comments to headers where applicable --- key_update.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'key_update.h') diff --git a/key_update.h b/key_update.h index 66512b6..ff6271d 100644 --- a/key_update.h +++ b/key_update.h @@ -1,3 +1,6 @@ #include +/* re-calculate the decryption key `d` for the given key + * the product of e and d must be congruent to 1, and since we are messing + * with e to generate our keys, we must re-calculate d */ int key_update_d(RSA *rsa_key); -- cgit v1.1