format with astyle (step 4)
This commit is contained in:
		
							parent
							
								
									4439fae168
								
							
						
					
					
						commit
						a20d9b102c
					
				| @ -19,14 +19,14 @@ | |||||||
| static const struct { | static const struct { | ||||||
|    int k, t; |    int k, t; | ||||||
| } sizes[] = { | } sizes[] = { | ||||||
| {   128,    28 }, |    {   128,    28 }, | ||||||
| {   256,    16 }, |    {   256,    16 }, | ||||||
| {   384,    10 }, |    {   384,    10 }, | ||||||
| {   512,     7 }, |    {   512,     7 }, | ||||||
| {   640,     6 }, |    {   640,     6 }, | ||||||
| {   768,     5 }, |    {   768,     5 }, | ||||||
| {   896,     4 }, |    {   896,     4 }, | ||||||
| {  1024,     4 } |    {  1024,     4 } | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /* returns # of RM trials required for a given bit size */ | /* returns # of RM trials required for a given bit size */ | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ int mp_shrink(mp_int *a) | |||||||
|    } |    } | ||||||
| 
 | 
 | ||||||
|    if (a->alloc != used) { |    if (a->alloc != used) { | ||||||
|     if ((tmp = OPT_CAST(mp_digit) XREALLOC(a->dp, sizeof (mp_digit) * used)) == NULL) { |       if ((tmp = OPT_CAST(mp_digit) XREALLOC(a->dp, sizeof(mp_digit) * used)) == NULL) { | ||||||
|          return MP_MEM; |          return MP_MEM; | ||||||
|       } |       } | ||||||
|       a->dp    = tmp; |       a->dp    = tmp; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user