Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								d5600e966a 
								
							 
						 
						
							
							
								
								LibTLS+LibCrypto: Remove all remaining uses of ByteBuffer::wrap()  
							
							
							
						 
						
							2020-12-19 18:29:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								a8dbfc3398 
								
							 
						 
						
							
							
								
								LibCrypto: Yet more ByteBuffer::wrap() removal. Not much left now!  
							
							
							
						 
						
							2020-12-19 18:29:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								f82b0a78ef 
								
							 
						 
						
							
							
								
								LibTLS+LibCrypto: More ByteBuffer -> Span conversion  
							
							
							
						 
						
							2020-12-19 18:29:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								8e20208dd6 
								
							 
						 
						
							
							
								
								LibTLS+LibCrypto: Replace a whole bunch of ByteBuffers with Spans  
							
							
							
						 
						
							2020-12-19 18:29:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									asynts 
								
							 
						 
						
							
							
							
							
								
							
							
								fff581cd72 
								
							 
						 
						
							
							
								
								AK: Rename span() to bytes() when appropriate.  
							
							... 
							
							
							
							I originally defined the bytes() method for the String class, because it
made it obvious that it's a span of bytes instead of span of characters.
This commit makes this more consistent by defining a bytes() method when
the type of the span is known to be u8.
Additionaly, the cast operator to Bytes is overloaded for ByteBuffer and
such. 
							
						 
						
							2020-08-15 21:21:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								b00ffc860b 
								
							 
						 
						
							
							
								
								LibCrypto: Do not trim leading zeros in export_data by default  
							
							... 
							
							
							
							This fixes the issue with the exported data having a leading zero,
causing RSA::encrypt to trim the block down, and ruining the encryption.
Fixes  #2691  :^) 
							
						 
						
							2020-07-31 18:25:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									asynts 
								
							 
						 
						
							
							
							
							
								
							
							
								ed327e7feb 
								
							 
						 
						
							
							
								
								LibCrypto: Change the signatures of RSA::import_[XXX]_key to use Span.  
							
							
							
						 
						
							2020-07-27 19:58:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									asynts 
								
							 
						 
						
							
							
							
							
								
							
							
								3de4e08b46 
								
							 
						 
						
							
							
								
								LibCrypto: Change the signature of decode_pem to use Span.  
							
							
							
						 
						
							2020-07-27 19:58:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									asynts 
								
							 
						 
						
							
							
							
							
								
							
							
								0d782e1dfb 
								
							 
						 
						
							
							
								
								LibCrypto: Change the signature of RSA::parse_rsa_key to use Span.  
							
							
							
						 
						
							2020-07-27 19:58:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									asynts 
								
							 
						 
						
							
							
							
							
								
							
							
								4709b700bd 
								
							 
						 
						
							
							
								
								LibCrypto: Change [XXX]BigInteger::export_data() to use Span.  
							
							
							
						 
						
							2020-07-27 19:58:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c1dd67e792 
								
							 
						 
						
							
							
								
								LibCrypto+LibTLS: Use AK/Random.h  
							
							... 
							
							
							
							This makes it possible to build both of these on Linux. 
							
						 
						
							2020-05-27 12:28:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								b0eca4023f 
								
							 
						 
						
							
							
								
								LibCrypto: Put some debug spam behind CRYPTO_DEBUG  
							
							
							
						 
						
							2020-05-26 23:46:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								e015ffd5f0 
								
							 
						 
						
							
							
								
								LibCrypto: Ensure that EME padding does not contain zeros  
							
							... 
							
							
							
							With this fix, we can now reliably open TLS connections! 
							
						 
						
							2020-05-02 12:24:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								05e2c7d9cf 
								
							 
						 
						
							
							
								
								LibCrypto+LibTLS: Reformat everything  
							
							... 
							
							
							
							I have no idea how I'll squash _this_ one... 
							
						 
						
							2020-05-02 12:24:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									AnotherTest 
								
							 
						 
						
							
							
							
							
								
							
							
								7adb93ede9 
								
							 
						 
						
							
							
								
								LibCrypto: Implement RSA in terms of UnsignedBigInteger  
							
							... 
							
							
							
							This commit also adds enough ASN.1/DER to parse RSA keys 
							
						 
						
							2020-05-02 12:24:10 +02:00