skcipher.h 560 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Cryptographic API.
  4. *
  5. * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au>
  6. */
  7. #ifndef _LOCAL_CRYPTO_SKCIPHER_H
  8. #define _LOCAL_CRYPTO_SKCIPHER_H
  9. #include <crypto/internal/skcipher.h>
  10. #include "internal.h"
  11. int crypto_lskcipher_encrypt_sg(struct skcipher_request *req);
  12. int crypto_lskcipher_decrypt_sg(struct skcipher_request *req);
  13. int crypto_init_lskcipher_ops_sg(struct crypto_tfm *tfm);
  14. int skcipher_prepare_alg_common(struct skcipher_alg_common *alg);
  15. #endif /* _LOCAL_CRYPTO_SKCIPHER_H */