[Ocf-linux-users] crypto_newsession / crypto_freesession
                
                Brought to you by:
                
                    david-m
                    
                
            
            
        
        
        
    | 
      
      
      From: Pirasenna T. <pir...@gm...> - 2009-01-28 23:32:52
      
     | 
| I've used OCF patch and attempting to use the cryptodev interface. In ocf-compat.h, 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 this is in error. Looks like sid data type should be u_int64_t *sidp. In cryptodev.c where it is used, the sid is defined as u_int64_t in cryptodev_ioctl. Piras |