Commit 0b808314 authored by Niels Möller's avatar Niels Möller
Browse files

Indentation fix.

Rev: nettle/rsa.h:1.5
parent 09e1ddf0
...@@ -76,13 +76,13 @@ extern "C" { ...@@ -76,13 +76,13 @@ extern "C" {
#define _rsa_verify _nettle_rsa_verify #define _rsa_verify _nettle_rsa_verify
#define _rsa_check_size _nettle_rsa_check_size #define _rsa_check_size _nettle_rsa_check_size
/* This limit is somewhat arbitrary. Technically, the smallest /* This limit is somewhat arbitrary. Technically, the smallest modulo
modulo which makes sense at all is 15 = 3*5, phi(15) = 8, size 4 which makes sense at all is 15 = 3*5, phi(15) = 8, size 4 bits. But
bits. But for ridiculously small keys, not all odd e are possible for ridiculously small keys, not all odd e are possible (e.g., for
(e.g., for 5 bits, the only possible modulo is 3*7 = 21, phi(21) 5 bits, the only possible modulo is 3*7 = 21, phi(21) = 12, and e =
= 12, and e = 3 don't work). The smallest size that makes sense 3 don't work). The smallest size that makes sense with pkcs#1, and
with pkcs#1, and which allows RSA encryption of one byte which allows RSA encryption of one byte messages, is 12 octets, 89
messages, is 12 octets, 89 bits. */ bits. */
#define RSA_MINIMUM_N_OCTETS 12 #define RSA_MINIMUM_N_OCTETS 12
#define RSA_MINIMUM_N_BITS (8*RSA_MINIMUM_N_OCTETS - 7) #define RSA_MINIMUM_N_BITS (8*RSA_MINIMUM_N_OCTETS - 7)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment