mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-03 18:20:25 +02:00 
			
		
		
		
	crypto: fcrypt - drop unneeded alignmask
The fcrypt implementation uses memcpy() to access the input and output buffers so there is no need to set an alignmask. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
		
							parent
							
								
									80879dd9de
								
							
						
					
					
						commit
						e9cbaef511
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -396,7 +396,6 @@ static struct crypto_alg fcrypt_alg = {
 | 
				
			||||||
	.cra_blocksize		=	8,
 | 
						.cra_blocksize		=	8,
 | 
				
			||||||
	.cra_ctxsize		=	sizeof(struct fcrypt_ctx),
 | 
						.cra_ctxsize		=	sizeof(struct fcrypt_ctx),
 | 
				
			||||||
	.cra_module		=	THIS_MODULE,
 | 
						.cra_module		=	THIS_MODULE,
 | 
				
			||||||
	.cra_alignmask		=	3,
 | 
					 | 
				
			||||||
	.cra_u			=	{ .cipher = {
 | 
						.cra_u			=	{ .cipher = {
 | 
				
			||||||
	.cia_min_keysize	=	8,
 | 
						.cia_min_keysize	=	8,
 | 
				
			||||||
	.cia_max_keysize	=	8,
 | 
						.cia_max_keysize	=	8,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue