remove suspicious ;
This commit is contained in:
		
							parent
							
								
									08415d37f3
								
							
						
					
					
						commit
						9941648125
					
				| @ -104,6 +104,6 @@ int chacha20poly1305_test(void) | |||||||
| 
 | 
 | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| #endif | #endif | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -65,6 +65,6 @@ LBL_ERR: | |||||||
|    XFREE(buf); |    XFREE(buf); | ||||||
|    return err; |    return err; | ||||||
| #endif | #endif | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -44,6 +44,6 @@ LBL_ERR: | |||||||
|    zeromem(&st, sizeof(poly1305_state)); |    zeromem(&st, sizeof(poly1305_state)); | ||||||
| #endif | #endif | ||||||
|    return err; |    return err; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -58,6 +58,6 @@ LBL_ERR: | |||||||
| #endif | #endif | ||||||
|    va_end(args); |    va_end(args); | ||||||
|    return err; |    return err; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -45,6 +45,6 @@ int poly1305_test(void) | |||||||
|    if (compare_testvector(out, len, tag, sizeof(tag), "POLY1305-TV2", 1) != 0) return CRYPT_FAIL_TESTVECTOR; |    if (compare_testvector(out, len, tag, sizeof(tag), "POLY1305-TV2", 1) != 0) return CRYPT_FAIL_TESTVECTOR; | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| #endif | #endif | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -85,6 +85,6 @@ int chacha_crypt(chacha_state *st, const unsigned char *in, unsigned long inlen, | |||||||
|      in  += 64; |      in  += 64; | ||||||
|    } |    } | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -21,6 +21,6 @@ int chacha_done(chacha_state *st) | |||||||
|    LTC_ARGCHK(st != NULL); |    LTC_ARGCHK(st != NULL); | ||||||
|    XMEMSET(st, 0, sizeof(chacha_state)); |    XMEMSET(st, 0, sizeof(chacha_state)); | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -37,6 +37,6 @@ int chacha_ivctr32(chacha_state *st, const unsigned char *iv, unsigned long ivle | |||||||
|    LOAD32L(st->input[15], iv + 8); |    LOAD32L(st->input[15], iv + 8); | ||||||
|    st->ksleft = 0; |    st->ksleft = 0; | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -37,6 +37,6 @@ int chacha_ivctr64(chacha_state *st, const unsigned char *iv, unsigned long ivle | |||||||
|    LOAD32L(st->input[15], iv + 4); |    LOAD32L(st->input[15], iv + 4); | ||||||
|    st->ksleft = 0; |    st->ksleft = 0; | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -55,6 +55,6 @@ int chacha_setup(chacha_state *st, const unsigned char *key, unsigned long keyle | |||||||
|    LOAD32L(st->input[3],  constants + 12); |    LOAD32L(st->input[3],  constants + 12); | ||||||
|    st->rounds  = rounds; /* e.g. 20 for chacha20 */ |    st->rounds  = rounds; /* e.g. 20 for chacha20 */ | ||||||
|    return CRYPT_OK; |    return CRYPT_OK; | ||||||
| }; | } | ||||||
| 
 | 
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user