| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Driver for VIA PadLock | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (c) 2004 Michal Ludvig <michal@logix.cz> | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify it | 
					
						
							|  |  |  |  * under the terms of the GNU General Public License as published by the Free | 
					
						
							|  |  |  |  * Software Foundation; either version 2 of the License, or (at your option)  | 
					
						
							|  |  |  |  * any later version. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef _CRYPTO_PADLOCK_H
 | 
					
						
							|  |  |  | #define _CRYPTO_PADLOCK_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-07-06 13:52:27 -07:00
										 |  |  | #define PADLOCK_ALIGNMENT 16
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-07 14:52:00 +11:00
										 |  |  | #define PFX	KBUILD_MODNAME ": "
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-07-15 10:23:49 +10:00
										 |  |  | #define PADLOCK_CRA_PRIORITY	300
 | 
					
						
							| 
									
										
										
										
											2006-08-21 21:38:42 +10:00
										 |  |  | #define PADLOCK_COMPOSITE_PRIORITY 400
 | 
					
						
							| 
									
										
										
										
											2006-07-15 10:23:49 +10:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-01-07 14:52:00 +11:00
										 |  |  | #ifdef CONFIG_64BIT
 | 
					
						
							|  |  |  | #define STACK_ALIGN 16
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define STACK_ALIGN 4
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | #endif	/* _CRYPTO_PADLOCK_H */
 |