/* SPDX-License-Identifier: GPL-2.0 */12/*3* Copyright Stephan Mueller <[email protected]>, 20144*/56#ifndef _CRYPTO_DF80090A_H7#define _CRYPTO_DF80090A_H89#include <crypto/internal/cipher.h>10#include <crypto/aes.h>1112static inline int crypto_drbg_ctr_df_datalen(u8 statelen, u8 blocklen)13{14return statelen + /* df_data */15blocklen + /* pad */16blocklen + /* iv */17statelen + blocklen; /* temp */18}1920int crypto_drbg_ctr_df(struct crypto_aes_ctx *aes,21unsigned char *df_data,22size_t bytes_to_return,23struct list_head *seedlist,24u8 blocklen_bytes,25u8 statelen);2627#endif /* _CRYPTO_DF80090A_H */282930