mirror of
https://github.com/ipxe/ipxe
synced 2026-02-09 23:29:33 +03:00
[crypto] Add AES key-wrap mode (RFC 3394)
The unwrapping half is used by WPA2 code; the wrapping half is currently unused. Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
committed by
Marty Connor
parent
2dfe4c414a
commit
6c6db8647b
@@ -24,4 +24,7 @@ struct aes_context {
|
||||
extern struct cipher_algorithm aes_algorithm;
|
||||
extern struct cipher_algorithm aes_cbc_algorithm;
|
||||
|
||||
int aes_wrap ( const void *kek, const void *src, void *dest, int nblk );
|
||||
int aes_unwrap ( const void *kek, const void *src, void *dest, int nblk );
|
||||
|
||||
#endif /* _GPXE_AES_H */
|
||||
|
||||
Reference in New Issue
Block a user