~ubuntu-branches/ubuntu/vivid/dropbear/vivid-proposed

« back to all changes in this revision

Viewing changes to libtomcrypt/src/headers/tomcrypt_math.h

  • Committer: Package Import Robot
  • Author(s): Mattia Rizzolo
  • Date: 2014-08-12 11:04:21 UTC
  • mfrom: (14.1.10 sid)
  • Revision ID: package-import@ubuntu.com-20140812110421-4s76v0605k6uuvxv
Tags: 2014.65-1ubuntu1
* Merge from Debian unstable. (LP: #1355670) Remaining changes:
  + debian/initramfs/premount-devpts, debian/rules: drop the script, this is
    handled by initramfs-tools.
  + debian/initramfs/dropbear-hook: do not install dropbear in the initramfs
    if there's no uncommented line in /etc/crypttab.
  + debian/initramfs/premout-dropbear: fix so that the network configuration
    happens before dropbear takes hold of the network card.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   typedef void ecc_point;
12
12
#endif
13
13
 
14
 
/* Dropbear has its own rsa_key. We just comment this out. */
15
 
#if 0
16
14
#ifndef MRSA
17
15
   typedef void rsa_key;
18
16
#endif
19
 
#endif
20
17
 
21
18
/** math descriptor */
22
19
typedef struct {
389
386
                      ecc_point *C,
390
387
                           void *modulus);
391
388
 
392
 
/* Dropbear has its own rsa code */
393
 
#if 0
394
389
/* ---- (optional) rsa optimized math (for internal CRT) ---- */
395
390
 
396
391
   /** RSA Key Generation 
416
411
   int (*rsa_me)(const unsigned char *in,   unsigned long inlen,
417
412
                       unsigned char *out,  unsigned long *outlen, int which,
418
413
                       rsa_key *key);
419
 
#endif
420
414
} ltc_math_descriptor;
421
415
 
422
416
extern ltc_math_descriptor ltc_mp;