 b59e2ae369
			
		
	
	
	b59e2ae369
	
	
	
		
			
			This removes all the boilerplate from the existing implementation, and replaces it with calls into the base layer. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			373 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			373 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _CRYPTO_SHA256_GLUE_H
 | |
| #define _CRYPTO_SHA256_GLUE_H
 | |
| 
 | |
| #include <linux/crypto.h>
 | |
| 
 | |
| extern struct shash_alg sha256_neon_algs[2];
 | |
| 
 | |
| int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
 | |
| 			     unsigned int len);
 | |
| 
 | |
| int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
 | |
| 			    unsigned int len, u8 *hash);
 | |
| 
 | |
| #endif /* _CRYPTO_SHA256_GLUE_H */
 |