HomeFreeBSD

Stop using des_cblock * for arguments to DES functions.

Description

Stop using des_cblock * for arguments to DES functions.

This amounts to a char ** since it is a char[8] *. Evil casts mostly
resolved the fact that what was actually passed in were plain char *.
Instead, change the DES functions to use 'unsigned char *' for keys
and for input and output buffers.

Reviewed by: cem, imp
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D21389

Details

Committed
jhbAug 26 2019, 5:25 PM
Reviewer
cem
Differential Revision
D21389: Stop using des_cblock * for arguments to DES functions.
Parents
rS351512: Don't hold the rs_mtx lock while calling malloc().
Branches
Unknown
Tags
Unknown