diff options
| author | Harsh Jain <h.jain@amd.com> | 2025-09-15 19:00:26 +0530 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-10-17 16:03:57 +0800 |
| commit | ba0570bdf1d9956a63db2ddc50fa6a78d8c93f30 (patch) | |
| tree | 131376f6d8208386c39e8b1cb66b6d0444955848 /include/crypto | |
| parent | 6c4fed5fee42f5785e881ef2c28359724b18b80e (diff) | |
crypto: drbg - Replace AES cipher calls with library calls
Replace aes used in drbg with library calls.
Signed-off-by: Harsh Jain <h.jain@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
| -rw-r--r-- | include/crypto/df_sp80090a.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/crypto/df_sp80090a.h b/include/crypto/df_sp80090a.h index 182865538662..6b25305fe611 100644 --- a/include/crypto/df_sp80090a.h +++ b/include/crypto/df_sp80090a.h @@ -8,6 +8,7 @@ #define _CRYPTO_DF80090A_H #include <crypto/internal/cipher.h> +#include <crypto/aes.h> static inline int crypto_drbg_ctr_df_datalen(u8 statelen, u8 blocklen) { @@ -17,7 +18,7 @@ static inline int crypto_drbg_ctr_df_datalen(u8 statelen, u8 blocklen) statelen + blocklen; /* temp */ } -int crypto_drbg_ctr_df(struct crypto_cipher *tfm, +int crypto_drbg_ctr_df(struct crypto_aes_ctx *aes, unsigned char *df_data, size_t bytes_to_return, struct list_head *seedlist, |