mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 3fe7ac0924
			
		
	
	
		3fe7ac0924
		
	
	
	
	
		
			
			And use it to parse RSA keys. As a bonus, this one shouldn't be reading out of bounds or messing with the stack (as much) anymore.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     ASN1/ASN1.cpp
 | |
|     ASN1/DER.cpp
 | |
|     ASN1/PEM.cpp
 | |
|     Authentication/GHash.cpp
 | |
|     BigInt/SignedBigInteger.cpp
 | |
|     BigInt/UnsignedBigInteger.cpp
 | |
|     Checksum/Adler32.cpp
 | |
|     Checksum/CRC32.cpp
 | |
|     Cipher/AES.cpp
 | |
|     Hash/MD5.cpp
 | |
|     Hash/SHA1.cpp
 | |
|     Hash/SHA2.cpp
 | |
|     NumberTheory/ModularFunctions.cpp
 | |
|     PK/RSA.cpp
 | |
| )
 | |
| 
 | |
| serenity_lib(LibCrypto crypto)
 | |
| target_link_libraries(LibCrypto LibC)
 |