rename time_cipher[2-4]? appropriately
This commit is contained in:
parent
9d4094b8e9
commit
8ef805817c
@ -18,10 +18,10 @@ register_algs();
|
||||
#endif
|
||||
|
||||
time_keysched();
|
||||
time_cipher();
|
||||
time_cipher2();
|
||||
time_cipher3();
|
||||
time_cipher4();
|
||||
time_cipher_ecb();
|
||||
time_cipher_cbc();
|
||||
time_cipher_ctr();
|
||||
time_cipher_lrw();
|
||||
time_hash();
|
||||
time_macs();
|
||||
time_encmacs();
|
||||
|
@ -154,7 +154,7 @@ int time_keysched(void)
|
||||
}
|
||||
|
||||
#ifdef LTC_ECB_MODE
|
||||
int time_cipher(void)
|
||||
int time_cipher_ecb(void)
|
||||
{
|
||||
unsigned long x, y1;
|
||||
ulong64 t1, t2, c1, c2, a1, a2;
|
||||
@ -225,11 +225,11 @@ int time_cipher(void)
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int time_cipher(void) { fprintf(stderr, "NO ECB\n"); return 0; }
|
||||
int time_cipher_ecb(void) { fprintf(stderr, "NO ECB\n"); return 0; }
|
||||
#endif
|
||||
|
||||
#ifdef LTC_CBC_MODE
|
||||
int time_cipher2(void)
|
||||
int time_cipher_cbc(void)
|
||||
{
|
||||
unsigned long x, y1;
|
||||
ulong64 t1, t2, c1, c2, a1, a2;
|
||||
@ -300,11 +300,11 @@ int time_cipher2(void)
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int time_cipher2(void) { fprintf(stderr, "NO CBC\n"); return 0; }
|
||||
int time_cipher_cbc(void) { fprintf(stderr, "NO CBC\n"); return 0; }
|
||||
#endif
|
||||
|
||||
#ifdef LTC_CTR_MODE
|
||||
int time_cipher3(void)
|
||||
int time_cipher_ctr(void)
|
||||
{
|
||||
unsigned long x, y1;
|
||||
ulong64 t1, t2, c1, c2, a1, a2;
|
||||
@ -375,11 +375,11 @@ int time_cipher3(void)
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int time_cipher3(void) { fprintf(stderr, "NO CTR\n"); return 0; }
|
||||
int time_cipher_ctr(void) { fprintf(stderr, "NO CTR\n"); return 0; }
|
||||
#endif
|
||||
|
||||
#ifdef LTC_LRW_MODE
|
||||
int time_cipher4(void)
|
||||
int time_cipher_lrw(void)
|
||||
{
|
||||
unsigned long x, y1;
|
||||
ulong64 t1, t2, c1, c2, a1, a2;
|
||||
@ -452,7 +452,7 @@ int time_cipher4(void)
|
||||
return 0;
|
||||
}
|
||||
#else
|
||||
int time_cipher4(void) { fprintf(stderr, "NO LRW\n"); return 0; }
|
||||
int time_cipher_lrw(void) { fprintf(stderr, "NO LRW\n"); return 0; }
|
||||
#endif
|
||||
|
||||
|
||||
@ -1155,7 +1155,7 @@ void time_macs(void)
|
||||
time_macs_(32);
|
||||
}
|
||||
|
||||
void time_encmacs_(unsigned long MAC_SIZE)
|
||||
static void time_encmacs_(unsigned long MAC_SIZE)
|
||||
{
|
||||
#if defined(LTC_EAX_MODE) || defined(LTC_OCB_MODE) || defined(LTC_OCB3_MODE) || defined(LTC_CCM_MODE) || defined(LTC_GCM_MODE)
|
||||
unsigned char *buf, IV[16], key[16], tag[16];
|
||||
|
@ -77,10 +77,10 @@ void init_timer(void);
|
||||
|
||||
/* register default algs */
|
||||
int time_keysched(void);
|
||||
int time_cipher(void);
|
||||
int time_cipher2(void);
|
||||
int time_cipher3(void);
|
||||
int time_cipher4(void);
|
||||
int time_cipher_ecb(void);
|
||||
int time_cipher_cbc(void);
|
||||
int time_cipher_ctr(void);
|
||||
int time_cipher_lrw(void);
|
||||
int time_hash(void);
|
||||
void time_mult(void);
|
||||
void time_sqr(void);
|
||||
|
Loading…
Reference in New Issue
Block a user