Changeset 1069 for trunk/library/des.c


Ignore:
Timestamp:
07/06/11 16:37:33 (11 months ago)
Author:
paul
Message:
  • Made des_key_check_weak() conform to other functions in return values.
  • Added documentation for des_key_check_weak() and des_key_check_key_parity()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/library/des.c

    r1014 r1069  
    372372    for( i = 0; i < WEAK_KEY_COUNT; i++ ) 
    373373        if( memcmp( weak_key_table[i], key, DES_KEY_SIZE) == 0) 
    374             return( 0 ); 
    375  
    376     return( 1 ); 
     374            return( 1 ); 
     375 
     376    return( 0 ); 
    377377} 
    378378 
Note: See TracChangeset for help on using the changeset viewer.

What are you looking for?