mirror of
				https://github.com/yuzu-emu/mbedtls.git
				synced 2025-11-04 10:35:02 +00:00 
			
		
		
		
	Use single-line string literals.
Signed-off-by: Guido Vranken <guidovranken@gmail.com>
This commit is contained in:
		
							parent
							
								
									027fe00d2e
								
							
						
					
					
						commit
						962e4ee4a6
					
				| 
						 | 
				
			
			@ -287,8 +287,7 @@ static const unsigned char md2_test_str[7][81] =
 | 
			
		|||
    { "message digest" },
 | 
			
		||||
    { "abcdefghijklmnopqrstuvwxyz" },
 | 
			
		||||
    { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" },
 | 
			
		||||
    { ("12345678901234567890123456789012345678901234567890123456789012"
 | 
			
		||||
      "345678901234567890") }
 | 
			
		||||
    { "12345678901234567890123456789012345678901234567890123456789012345678901234567890" }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const size_t md2_test_strlen[7] =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -408,8 +408,7 @@ static const unsigned char md4_test_str[7][81] =
 | 
			
		|||
    { "message digest" },
 | 
			
		||||
    { "abcdefghijklmnopqrstuvwxyz" },
 | 
			
		||||
    { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" },
 | 
			
		||||
    { ("12345678901234567890123456789012345678901234567890123456789012"
 | 
			
		||||
      "345678901234567890") }
 | 
			
		||||
    { "12345678901234567890123456789012345678901234567890123456789012345678901234567890" }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const size_t md4_test_strlen[7] =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -422,8 +422,7 @@ static const unsigned char md5_test_buf[7][81] =
 | 
			
		|||
    { "message digest" },
 | 
			
		||||
    { "abcdefghijklmnopqrstuvwxyz" },
 | 
			
		||||
    { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" },
 | 
			
		||||
    { ("12345678901234567890123456789012345678901234567890123456789012"
 | 
			
		||||
      "345678901234567890") }
 | 
			
		||||
    { "12345678901234567890123456789012345678901234567890123456789012345678901234567890" }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const size_t md5_test_buflen[7] =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -478,8 +478,7 @@ static const unsigned char ripemd160_test_str[TESTS][81] =
 | 
			
		|||
    { "abcdefghijklmnopqrstuvwxyz" },
 | 
			
		||||
    { "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" },
 | 
			
		||||
    { "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" },
 | 
			
		||||
    { ("12345678901234567890123456789012345678901234567890123456789012"
 | 
			
		||||
      "345678901234567890") },
 | 
			
		||||
    { "12345678901234567890123456789012345678901234567890123456789012345678901234567890" },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static const size_t ripemd160_test_strlen[TESTS] =
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -516,8 +516,7 @@ void mbedtls_sha512( const unsigned char *input,
 | 
			
		|||
static const unsigned char sha512_test_buf[3][113] =
 | 
			
		||||
{
 | 
			
		||||
    { "abc" },
 | 
			
		||||
    { ("abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
 | 
			
		||||
      "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu") },
 | 
			
		||||
    { "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu" },
 | 
			
		||||
    { "" }
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue