Glenn Maynard
|
b5c81c7d7b
|
add GetSHA1ForString
|
2007-07-30 03:59:20 +00:00 |
|
Glenn Maynard
|
d401a01553
|
allow using CryptManager without generating global keys; remove CryptMan dependency on PrefsMan
|
2007-01-31 05:31:25 +00:00 |
|
Glenn Maynard
|
bf3aad4f45
|
split key generation and key writing
|
2007-01-31 05:15:18 +00:00 |
|
Glenn Maynard
|
c4f600fa9f
|
better api
|
2007-01-31 03:05:43 +00:00 |
|
Glenn Maynard
|
abe62b0920
|
GetMD5ForString: don't hex
|
2007-01-26 04:35:15 +00:00 |
|
Glenn Maynard
|
0cdddc34ae
|
don't require m_bSignProfileData
|
2007-01-26 04:23:24 +00:00 |
|
Glenn Maynard
|
8c6fe59973
|
split out CryptManager::Sign
|
2007-01-26 04:22:31 +00:00 |
|
Glenn Maynard
|
853c84c0a5
|
RSAKeyWrapper fixes
check keys on startup, not just existance (so if the old key format
is there, we regenerate)
|
2007-01-24 22:28:29 +00:00 |
|
Glenn Maynard
|
66a8ece036
|
remove "seed" parameter; it's never used usefully. Use AddEntropy()
if wanted. Add AddRandomEntropy.
|
2007-01-24 22:11:44 +00:00 |
|
Glenn Maynard
|
c94a044119
|
fix DISABLE_CRYPTO
|
2007-01-24 09:39:55 +00:00 |
|
Glenn Maynard
|
2dcc704b0a
|
HAVE_CRYPTOPP -> !DISABLE_CRYPTO
|
2007-01-24 09:38:51 +00:00 |
|
Glenn Maynard
|
766118b1f9
|
fixes
|
2007-01-24 07:39:19 +00:00 |
|
Glenn Maynard
|
e774124126
|
use libtomcrypt
|
2007-01-24 07:36:25 +00:00 |
|
Glenn Maynard
|
ea7e48e08e
|
move secure random code
|
2006-12-20 23:17:57 +00:00 |
|
Glenn Maynard
|
b8cb44c0be
|
remove unused
|
2006-12-20 23:08:45 +00:00 |
|
Chris Danford
|
304d4c33ae
|
add HexToBinary, move to RageUtil
|
2006-06-25 04:21:58 +00:00 |
|
Chris Danford
|
ede57d64ad
|
add GetNumSelectableAndUnlockedSongs, add GetMD5ForString
|
2006-05-16 00:47:02 +00:00 |
|
Glenn Maynard
|
2b9f484548
|
spacing (only)
|
2006-02-14 11:30:53 +00:00 |
|
Chris Danford
|
7f821e8cfc
|
CString -> RString
|
2006-01-22 01:00:06 +00:00 |
|
Glenn Maynard
|
ac1a1e3817
|
remove hack
|
2005-10-29 03:13:48 +00:00 |
|
Chris Danford
|
48ebc53549
|
return NULL -> return CString() for clarity and efficiency
|
2005-09-04 16:55:21 +00:00 |
|
Glenn Maynard
|
7c7c547131
|
missing headers
|
2005-09-03 21:26:04 +00:00 |
|
Chris Danford
|
e439ae2a96
|
return "" -> return NULL
|
2005-09-02 00:14:07 +00:00 |
|
Glenn Maynard
|
e77a860f60
|
fix !HAVE_CRYPTOPP
|
2005-06-02 08:33:38 +00:00 |
|
Glenn Maynard
|
812c1d5f45
|
isolate low-level crypto stuff in CryptHelpers, so it can be used without dragging in PREFSMAN
|
2005-05-20 04:48:29 +00:00 |
|
Glenn Maynard
|
e1c1a6db20
|
fix messages
|
2005-05-20 03:50:47 +00:00 |
|
Glenn Maynard
|
57d9817c5c
|
split out crypto++-specific signing code; prefer to create our own RageFileBasic
|
2005-05-20 01:42:25 +00:00 |
|
Glenn Maynard
|
f098157a4f
|
split out crypto++-specific verify code; prefer to create our own RageFileBasic
|
2005-05-20 01:19:47 +00:00 |
|
Glenn Maynard
|
54bed650e4
|
check size before reading
|
2005-05-20 01:02:56 +00:00 |
|
Glenn Maynard
|
1cc8495a26
|
simplify: read files ourselves
|
2005-05-20 00:58:09 +00:00 |
|
Glenn Maynard
|
b547c631e6
|
simplify: read files ourselves, don't bother using SecByteBlock
|
2005-05-20 00:45:05 +00:00 |
|
Glenn Maynard
|
aa5c8699fb
|
allow validating from alternate keys
fix missing HAVE_CRYPTOPP defs
|
2005-05-19 21:27:14 +00:00 |
|
Glenn Maynard
|
d406068148
|
reduce crypto++ code by doing our own file writing (simpler)
|
2005-05-19 21:21:37 +00:00 |
|
Chris Danford
|
e836c16466
|
stub out cryptopp for Xbox
|
2005-04-27 01:17:47 +00:00 |
|
Glenn Maynard
|
c9e7232970
|
better error messages
|
2005-04-24 22:04:39 +00:00 |
|
Glenn Maynard
|
73caca5eea
|
Use NonblockingRng instead of AutoSeededRandomPool. AutoSeededRandomPool allows adding entropy from various sources, but we only have one source (the OS's random number generation). If we really want to seed entropy from multiple sources, we can use the code in crypto/ from Putty, which does the same thing in a tiny fraction of the code.
|
2005-01-15 02:36:07 +00:00 |
|
Glenn Maynard
|
367f192d6d
|
create keys with the same object that we sign/verify; not instantiating encrypt/decrypt objects saves ~100k stripped
|
2005-01-14 01:57:56 +00:00 |
|
Glenn Maynard
|
3d3f3a4702
|
fix compile on archs without OS_RNG_AVAILABLE
|
2004-06-15 01:46:03 +00:00 |
|
Glenn Maynard
|
733127d8ed
|
license update
|
2004-06-08 01:24:17 +00:00 |
|
Glenn Maynard
|
c53220b05e
|
fix CryptManager::GenerateRSAKey errors being fatal
|
2004-05-26 03:27:43 +00:00 |
|
Chris Danford
|
a12cc31f3a
|
add size check for signature files
|
2004-05-22 19:50:16 +00:00 |
|
Chris Danford
|
633133f19f
|
clean up key file names
|
2004-05-16 22:16:42 +00:00 |
|
Glenn Maynard
|
604f5badd4
|
unneeded
|
2004-05-14 22:20:00 +00:00 |
|
Glenn Maynard
|
fb8c64b387
|
crypto51 debug/release libraries were swapped
always link to release; we can't be uploading a 6.5 meg debug .lib every
time something in crypto51 changes
|
2004-05-14 05:45:46 +00:00 |
|
Glenn Maynard
|
031bf4c242
|
cleanup
|
2004-05-14 01:04:53 +00:00 |
|
Glenn Maynard
|
e959c76b9e
|
cleanup
|
2004-05-14 00:58:05 +00:00 |
|
Glenn Maynard
|
6e399ab8ab
|
use Putty code for MD5
|
2004-05-14 00:31:53 +00:00 |
|
Glenn Maynard
|
7da7aa9c85
|
cleanup
|
2004-05-13 23:43:12 +00:00 |
|
Glenn Maynard
|
0e7ba7af0b
|
fix crash on signature error
|
2004-05-13 23:40:55 +00:00 |
|
Chris Danford
|
890cac4c24
|
Putty -> Crypto++
|
2004-05-13 06:02:32 +00:00 |
|