 90451d6bdb
			
		
	
	
	90451d6bdb
	
	
	
		
			
			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>
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			315 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			315 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef ASM_ARM_CRYPTO_SHA1_H
 | |
| #define ASM_ARM_CRYPTO_SHA1_H
 | |
| 
 | |
| #include <linux/crypto.h>
 | |
| #include <crypto/sha.h>
 | |
| 
 | |
| extern int sha1_update_arm(struct shash_desc *desc, const u8 *data,
 | |
| 			   unsigned int len);
 | |
| 
 | |
| extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data,
 | |
| 			   unsigned int len, u8 *out);
 | |
| 
 | |
| #endif
 |