Lines Matching refs:ek
403 u32 ek[32], work[2]; in des_encrypt() local
414 deskey(pkey, 0, ek); in des_encrypt()
418 desfunc(work, ek); in des_encrypt()
423 os_memset(ek, 0, sizeof(ek)); in des_encrypt()
427 void des_key_setup(const u8 *key, u32 *ek, u32 *dk) in des_key_setup() argument
429 deskey(key, 0, ek); in des_key_setup()
434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt) in des_block_encrypt() argument
439 desfunc(work, ek); in des_block_encrypt()
458 deskey(key, 0, dkey->ek[0]); in des3_key_setup()
459 deskey(key + 8, 1, dkey->ek[1]); in des3_key_setup()
460 deskey(key + 16, 0, dkey->ek[2]); in des3_key_setup()
474 desfunc(work, key->ek[0]); in des3_encrypt()
475 desfunc(work, key->ek[1]); in des3_encrypt()
476 desfunc(work, key->ek[2]); in des3_encrypt()