Skip to content
Snippets Groups Projects
Select Git revision
0 results

rsa.c

Blame
  • Forked from Nettle / nettle
    Source project has a limited visibility.
    • Niels Möller's avatar
      5c707978
      * 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
      History
      * rsa.c (rsa_check_size): Changed argument to an mpz_t. Updated
      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