xref: /dpdk/drivers/common/cnxk/roc_aes.h (revision 45581c10679d1f4a348ae0111384a4c0cf3a84d2)
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2021 Marvell.
3  */
4 
5 #ifndef _ROC_AES_H_
6 #define _ROC_AES_H_
7 
8 /*
9  * Derive k1, k2, k3 from 128 bit AES key
10  */
11 void __roc_api roc_aes_xcbc_key_derive(const uint8_t *auth_key, uint8_t *derived_key);
12 void __roc_api roc_aes_hash_key_derive(const uint8_t *key, uint16_t len, uint8_t *hash_key);
13 
14 #endif /* _ROC_AES_H_ */
15