Lines Matching refs:strength
777 des_keycheck(uint8_t *key, des_strength_t strength, uint8_t *corrected_key) in des_keycheck() argument
779 if (strength == DES) { in des_keycheck()
781 } else if (strength == DES2) { in des_keycheck()
783 } else if (strength == DES3) { in des_keycheck()
791 des_parity_fix(uint8_t *key, des_strength_t strength, uint8_t *corrected_key) in des_parity_fix() argument
798 if (strength == DES) in des_parity_fix()
804 while (strength > i) { in des_parity_fix()
837 bcopy(paritied_key, corrected_key, DES_KEYSIZE * strength); in des_parity_fix()
845 des_init_keysched(uint8_t *cipherKey, des_strength_t strength, void *ks) in des_init_keysched() argument
854 switch (strength) { in des_init_keysched()
902 switch (strength) { in des_init_keysched()
942 des_alloc_keysched(size_t *keysched_size, des_strength_t strength, int kmflag) in des_alloc_keysched() argument
948 switch (strength) { in des_alloc_keysched()