cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sha256_glue.h (412B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _CRYPTO_SHA256_GLUE_H
      3#define _CRYPTO_SHA256_GLUE_H
      4
      5#include <linux/crypto.h>
      6
      7extern struct shash_alg sha256_neon_algs[2];
      8
      9int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data,
     10			     unsigned int len);
     11
     12int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data,
     13			    unsigned int len, u8 *hash);
     14
     15#endif /* _CRYPTO_SHA256_GLUE_H */