Home | History | Annotate | Download | only in crypto

Lines Matching refs:crypt

434 void des_block_encrypt(const u8 *plain, const u32 *ek, u8 *crypt)
440 WPA_PUT_BE32(crypt, work[0]);
441 WPA_PUT_BE32(crypt + 4, work[1]);
445 void des_block_decrypt(const u8 *crypt, const u32 *dk, u8 *plain)
448 work[0] = WPA_GET_BE32(crypt);
449 work[1] = WPA_GET_BE32(crypt + 4);
468 void des3_encrypt(const u8 *plain, const struct des3_key_s *key, u8 *crypt)
477 WPA_PUT_BE32(crypt, work[0]);
478 WPA_PUT_BE32(crypt + 4, work[1]);
482 void des3_decrypt(const u8 *crypt, const struct des3_key_s *key, u8 *plain)
486 work[0] = WPA_GET_BE32(crypt);
487 work[1] = WPA_GET_BE32(crypt + 4);