summaryrefslogtreecommitdiff
path: root/rsa.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2010-03-24 20:51:35 +0100
committerNiels Möller <nisse@lysator.liu.se>2010-03-24 20:51:35 +0100
commit0b8083147b2ce8a5083b6eb8979ccfea1f46182e (patch)
tree56fbc044d072dedb71c828e1eddbfcd46273acd4 /rsa.h
parent09e1ddf0bb8412b90f0fdf94fce0f76148231de3 (diff)
downloadnettle-0b8083147b2ce8a5083b6eb8979ccfea1f46182e.tar.gz
Indentation fix.
Rev: nettle/rsa.h:1.5
Diffstat (limited to 'rsa.h')
-rw-r--r--rsa.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/rsa.h b/rsa.h
index 2105daa5..9631e502 100644
--- a/rsa.h
+++ b/rsa.h
@@ -76,13 +76,13 @@ extern "C" {
#define _rsa_verify _nettle_rsa_verify
#define _rsa_check_size _nettle_rsa_check_size
- /* This limit is somewhat arbitrary. Technically, the smallest
- modulo which makes sense at all is 15 = 3*5, phi(15) = 8, size 4
- bits. But for ridiculously small keys, not all odd e are possible
- (e.g., for 5 bits, the only possible modulo is 3*7 = 21, phi(21)
- = 12, and e = 3 don't work). The smallest size that makes sense
- with pkcs#1, and which allows RSA encryption of one byte
- messages, is 12 octets, 89 bits. */
+/* This limit is somewhat arbitrary. Technically, the smallest modulo
+ which makes sense at all is 15 = 3*5, phi(15) = 8, size 4 bits. But
+ for ridiculously small keys, not all odd e are possible (e.g., for
+ 5 bits, the only possible modulo is 3*7 = 21, phi(21) = 12, and e =
+ 3 don't work). The smallest size that makes sense with pkcs#1, and
+ which allows RSA encryption of one byte messages, is 12 octets, 89
+ bits. */
#define RSA_MINIMUM_N_OCTETS 12
#define RSA_MINIMUM_N_BITS (8*RSA_MINIMUM_N_OCTETS - 7)