Re: [PATCH v3 5/7] config: Allow MAC algorithms to specify a function to validate their keys

2020-11-26 Thread Toke Høiland-Jørgensen
Toke Høiland-Jørgensen writes: > From: Toke Høiland-Jørgensen > > This adds a new field to the MAC algorithm description which is a pointer > that will allow an algorithm to validate a key before it is used. Add this > validate to the Blake algorithms, validating that the key length is exactly >

[PATCH v3 5/7] config: Allow MAC algorithms to specify a function to validate their keys

2020-11-24 Thread Toke Høiland-Jørgensen
From: Toke Høiland-Jørgensen This adds a new field to the MAC algorithm description which is a pointer that will allow an algorithm to validate a key before it is used. Add this validate to the Blake algorithms, validating that the key length is exactly equal to their respective output sizes. Si