comparison libtomcrypt/src/math/ltm_desc.c @ 1435:f849a5ca2efc

update to libtomcrypt 1.17 (with Dropbear changes)
author Matt Johnston <matt@ucc.asn.au>
date Sat, 24 Jun 2017 17:50:50 +0800
parents 0cbe8f6dbf9e
children 6dba84798cd5
comparison
equal deleted inserted replaced
1434:27b9ddb06b09 1435:f849a5ca2efc
4 * algorithms in a highly modular and flexible manner. 4 * algorithms in a highly modular and flexible manner.
5 * 5 *
6 * The library is free for all purposes without any express 6 * The library is free for all purposes without any express
7 * guarantee it works. 7 * guarantee it works.
8 * 8 *
9 * Tom St Denis, [email protected], http://libtomcrypt.com 9 * Tom St Denis, [email protected], http://libtom.org
10 */ 10 */
11 11
12 #define DESC_DEF_ONLY 12 #define DESC_DEF_ONLY
13 #include "tomcrypt.h" 13 #include "tomcrypt.h"
14 14
443 &montgomery_deinit, 443 &montgomery_deinit,
444 444
445 &exptmod, 445 &exptmod,
446 &isprime, 446 &isprime,
447 447
448 #ifdef MECC 448 #ifdef LTC_MECC
449 #ifdef MECC_FP 449 #ifdef LTC_MECC_FP
450 &ltc_ecc_fp_mulmod, 450 &ltc_ecc_fp_mulmod,
451 #else 451 #else
452 &ltc_ecc_mulmod, 452 &ltc_ecc_mulmod,
453 #endif 453 #endif
454 &ltc_ecc_projective_add_point, 454 &ltc_ecc_projective_add_point,
455 &ltc_ecc_projective_dbl_point, 455 &ltc_ecc_projective_dbl_point,
456 &ltc_ecc_map, 456 &ltc_ecc_map,
457 #ifdef LTC_ECC_SHAMIR 457 #ifdef LTC_ECC_SHAMIR
458 #ifdef MECC_FP 458 #ifdef LTC_MECC_FP
459 &ltc_ecc_fp_mul2add, 459 &ltc_ecc_fp_mul2add,
460 #else 460 #else
461 &ltc_ecc_mul2add, 461 &ltc_ecc_mul2add,
462 #endif /* MECC_FP */ 462 #endif /* LTC_MECC_FP */
463 #else 463 #else
464 NULL, 464 NULL,
465 #endif /* LTC_ECC_SHAMIR */ 465 #endif /* LTC_ECC_SHAMIR */
466 #else 466 #else
467 NULL, NULL, NULL, NULL, NULL, 467 NULL, NULL, NULL, NULL, NULL,
468 #endif /* MECC */ 468 #endif /* LTC_MECC */
469 469
470 #ifdef MRSA 470 #ifdef LTC_MRSA
471 &rsa_make_key, 471 &rsa_make_key,
472 &rsa_exptmod, 472 &rsa_exptmod,
473 #else 473 #else
474 NULL, NULL 474 NULL, NULL
475 #endif 475 #endif
476 }; 476 };
477 477
478 478
479 #endif 479 #endif
480 480
481 /* $Source: /cvs/libtom/libtomcrypt/src/math/ltm_desc.c,v $ */ 481 /* $Source$ */
482 /* $Revision: 1.29 $ */ 482 /* $Revision$ */
483 /* $Date: 2006/12/03 00:39:56 $ */ 483 /* $Date$ */