[Ocf-linux-users] crypto_newsession vs. crypto_freesession
                
                Brought to you by:
                
                    david-m
                    
                
            
            
        
        
        
    | 
      
      
      From: Pirasenna T. <pir...@gm...> - 2009-01-28 23:22:57
      
     | 
| I've used OCF patch and attempting to use the cryptodev interface. I see crypto_newsession's session ID is passed in as a u_int32_t *, whereas, the crypto_freesession takes the session id as u_int64_t. It seems like the crypto_newsession definition has an error. It should be u_int64_t *. I see the sid being defined as u_int64_t in cryptodev_ioctl, where it is being called. Thanks, Piras |