1. 16 Jan, 2002 1 commit
  2. 14 Jan, 2002 3 commits
    • Niels Möller's avatar
      * rsa.c (rsa_init_private_key, rsa_clear_private_key): Handle d. · d47dccb1
      Niels Möller authored
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated
      callers.
      (rsa_prepare_private_key): Compute the size of the key by
      computing n = p * q.
      
      * rsa.c (rsa_check_size): New function, for computing and checking
      the size of the modulo in octets.
      (rsa_prepare_public_key): Usa rsa_check_size.
      (rsa_init_private_key): Removed code handling n, e and d.
      (rsa_clear_private_key): Likewise.
      (rsa_compute_root): Always use CRT.
      
      Rev: src/nettle/rsa.c:1.6
      d47dccb1
    • Niels Möller's avatar
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated · 5c707978
      Niels Möller authored
      callers.
      (rsa_prepare_private_key): Compute the size of the key by
      computing n = p * q.
      
      * rsa.c (rsa_check_size): New function, for computing and checking
      the size of the modulo in octets.
      (rsa_prepare_public_key): Usa rsa_check_size.
      (rsa_init_private_key): Removed code handling n, e and d.
      (rsa_clear_private_key): Likewise.
      (rsa_compute_root): Always use CRT.
      
      Rev: src/nettle/rsa.c:1.5
      5c707978
    • Niels Möller's avatar
      (rsa_check_size): New function, for computing and checking · 17c7e236
      Niels Möller authored
      the size of the modulo in octets.
      (rsa_prepare_public_key): Usa rsa_check_size.
      (rsa_init_private_key): Removed code handling n, e and d.
      (rsa_clear_private_key): Likewise.
      (rsa_compute_root): Always use CRT.
      
      Rev: src/nettle/rsa.c:1.4
      17c7e236
  3. 12 Jan, 2002 1 commit
    • Niels Möller's avatar
      (rsa_init_public_key): New function. · 0fb4bd32
      Niels Möller authored
      (rsa_clear_public_key): Likewise.
      (rsa_init_private_key): Likewise.
      (rsa_clear_private_key): Likewise.
      
      Rev: src/nettle/rsa.c:1.3
      Rev: src/nettle/rsa.h:1.4
      0fb4bd32
  4. 09 Jan, 2002 1 commit
    • Niels Möller's avatar
      * rsa_md5.c: Represent a signature as an mpz_t, not a string. · 6e0c5d8e
      Niels Möller authored
      Updated calls of md5 functions.
      * rsa_sha1.c: Likewise.
      
      * rsa.c (rsa_prepare_public_key): Renamed function, was
      rsa_init_public_key.
      (rsa_prepare_private_key): Renamed function, was
      rsa_init_private_key.
      
      Rev: src/nettle/rsa.c:1.2
      Rev: src/nettle/rsa.h:1.3
      Rev: src/nettle/rsa_md5.c:1.2
      Rev: src/nettle/rsa_sha1.c:1.2
      6e0c5d8e
  5. 30 Oct, 2001 1 commit