US^RT and MC^2 V1 support for the i.MX6 processor family.
aboutsummaryrefslogblamecommitdiffstats
path: root/net/wireless/lib80211_crypt_tkip.c
blob: 7ea4f2b0770ecbbbbcd9c98cbd9fe690534c2bb8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
  
                                                                         
  
                                                   
                                                                






                                                                        

                                           
                      



                         
                              

                            
                     



                           


                            
 
                         

                        

                         
                               
                                           

                      

                      
                           





















                                               



                                             


                                                             
 
                            

  
                                                                             
 
                                                




                                               
                                                        
 
                                                


                            
                                            
 
                                        
 
                                                  

                          
 

                                
                                                                  
                                                                  
                                        
                                                                                  
                                         


                          


                                                                   
                                                                                         
                                            


                          


                                                                  
                                                                                  
                                         


                          


                                                                   
                                                                                         
                                            




                          
           
                   
                                         
                                                               
                                      
                                                                 
                                         
                                                               
                                      
                                                                 





                            
                                            
 
                                                

                                          
                                                                
                                       
                                                                  
                                          
                                                                
                                       
                                                                  
         


                    




                                        




                             




                             




                               




                               




                                      
                                     



                               
                              

































                                                                       





                                                    

                           

                                                                        



















                                                                         
                                                                             



                                                                             
                                        









                                                          








                                                               









                                                                        
                                                                      









                                                               
                                                              
                                                                  
 
                                               
                
                                  
 
                                                
 
                                                                   



                                          
 






                                                                            

                                                  
                       
 


                               
                                                                        




                                              




                                         
 
                            

 
                                                                              
 
                                               
                                                                  
                

                                  

                              
                                                                  
                                      

                                                              
                                                                            
                                                                 









                                                        
                                                                    

                          
                                      
                              




                           
                                                               
                                       
                                                                  

 












                                                           
                                                                              
 
                                               
                                                                  



                        
                                  




                              
                                                
 
                                                                  
                                      
                                                                            
                                                                         



                          
                                                  

                          




                                                                               
                                                               










                                                                           
                                                                          
                                                                               
                                                             




                                                                        
                            
 
                                                                          
                            

                                                                          
                                                                     
                                                        

                                                                         
      











                                                                               
                                                               
                                        


                                                                      

                                                            


                          











                                                                               
                            

                                                                          
                                                    
                 
      









                                                                       

                                                              




                                    
                                                                           
                                                            
 
                              

                                 
                                  
                                                                 

                          
                             

                                           
 
                                                    
                          
 
                               

                                                                 

 
                                                          
 
                                    
 
                                                  
 
                                                   

                                                                

                                                                        

                                   

                                                                        

                                                         

                                                                        

                      

                                                                        


                      
                                                          
                                                                                
                                                     


                                                      
                                                              

 
                                                                     
                                                
 
                                               










                                                                       
                                                                           





                                                                          

                                                                    
                                                     














                                                                  
                                                                            
 
 
                                                                       
                                                                
 
                                               





                                           
                                                                           


                                                                          

                                                        
                                                                            

                                                                     

                               
                                                                            













                                                                          
                                                                          
 
                                               
                   



                                                          



                                       



                                    


                                                     
                                                                     

                                                                         
                                                   









                                                               
                                                                          
 
                                               

























                                                                               
                                                           
 
                                               






















                                                                        
                                                         
                       

                                       






                                                    


                                                        

                                             
                             

  
                                                 
 
                                                                  

 
                                                  
 
                                                             

 

                                       
/*
 * lib80211 crypt: host-based TKIP encryption implementation for lib80211
 *
 * Copyright (c) 2003-2004, Jouni Malinen <j@w1.fi>
 * Copyright (c) 2008, John W. Linville <linville@tuxdriver.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation. See README and COPYING for
 * more details.
 */

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/err.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/scatterlist.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/mm.h>
#include <linux/if_ether.h>
#include <linux/if_arp.h>
#include <asm/string.h>

#include <linux/wireless.h>
#include <linux/ieee80211.h>