added libtomcrypt-1.03

This commit is contained in:
Tom St Denis
2005-06-09 00:08:13 +00:00
committed by Steffen Jaeckel
parent 65c1317eee
commit 3964a6523a
285 changed files with 5920 additions and 2287 deletions
+4
View File
@@ -98,3 +98,7 @@ int base64_decode(const unsigned char *in, unsigned long inlen,
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -74,3 +74,7 @@ int base64_encode(const unsigned char *in, unsigned long inlen,
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -28,3 +28,7 @@ void burn_stack(unsigned long len)
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+10
View File
@@ -295,8 +295,18 @@ const char *crypt_build_settings =
#endif
#if defined(LTC_NO_ASM)
" LTC_NO_ASM "
#endif
#if defined(LTC_NO_TEST)
" LTC_NO_TEST "
#endif
#if defined(LTC_NO_TABLES)
" LTC_NO_TABLES "
#endif
"\n"
"\n\n\n"
;
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -24,3 +24,7 @@ void crypt_argchk(char *v, char *s, int d)
(void)raise(SIGABRT);
}
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -19,3 +19,7 @@ struct ltc_cipher_descriptor cipher_descriptor[TAB_SIZE] = {
{ NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
};
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -27,3 +27,7 @@ int cipher_is_valid(int idx)
}
return CRYPT_OK;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -32,3 +32,7 @@ int find_cipher(const char *name)
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -41,3 +41,7 @@ int find_cipher_any(const char *name, int blocklen, int keylen)
}
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -30,3 +30,7 @@ int find_cipher_id(unsigned char ID)
}
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -31,3 +31,7 @@ int find_hash(const char *name)
}
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -41,3 +41,7 @@
}
return z;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -30,3 +30,7 @@ int find_hash_id(unsigned char ID)
}
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -32,3 +32,7 @@ int find_prng(const char *name)
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -18,3 +18,7 @@
struct ltc_hash_descriptor hash_descriptor[TAB_SIZE] = {
{ NULL, 0, 0, 0, { 0 }, 0, NULL, NULL, NULL, NULL }
};
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -27,3 +27,7 @@ int hash_is_valid(int idx)
}
return CRYPT_OK;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -17,3 +17,7 @@
struct ltc_prng_descriptor prng_descriptor[TAB_SIZE] = {
{ NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
};
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -27,3 +27,7 @@ int prng_is_valid(int idx)
}
return CRYPT_OK;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -44,3 +44,7 @@ int register_cipher(const struct ltc_cipher_descriptor *cipher)
/* no spot */
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -44,3 +44,7 @@ int register_hash(const struct ltc_hash_descriptor *hash)
/* no spot */
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -44,3 +44,7 @@ int register_prng(const struct ltc_prng_descriptor *prng)
/* no spot */
return -1;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -36,3 +36,7 @@ int unregister_cipher(const struct ltc_cipher_descriptor *cipher)
}
return CRYPT_ERROR;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -35,3 +35,7 @@ int unregister_hash(const struct ltc_hash_descriptor *hash)
}
return CRYPT_ERROR;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -35,3 +35,7 @@ int unregister_prng(const struct ltc_prng_descriptor *prng)
}
return CRYPT_ERROR;
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -68,3 +68,7 @@ const char *error_to_string(int err)
}
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -30,3 +30,7 @@ int is_prime(mp_int *N, int *result)
}
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -9042,3 +9042,7 @@ int KARATSUBA_MUL_CUTOFF = 74, /* Min. number of digits before Karatsub
/* EOF */
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -42,3 +42,7 @@ int mpi_to_ltc_error(int err)
}
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -64,3 +64,7 @@ int rand_prime(mp_int *N, long len, prng_state *prng, int wprng)
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -100,3 +100,7 @@ LBL_ERR:
}
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -123,3 +123,7 @@ LBL_ERR:
#endif
/* $Source$ */
/* $Revision$ */
/* $Date$ */
+4
View File
@@ -28,3 +28,7 @@ void zeromem(void *out, size_t outlen)
*mem++ = 0;
}
}
/* $Source$ */
/* $Revision$ */
/* $Date$ */