kernel/include/crypto/sm3.h
.. .. @@ -35,6 +35,8 @@ 35 35 extern int crypto_sm3_update(struct shash_desc *desc, const u8 *data, 36 36 unsigned int len); 37 37 38 +extern int crypto_sm3_final(struct shash_desc *desc, u8 *out);39 +38 40 extern int crypto_sm3_finup(struct shash_desc *desc, const u8 *data, 39 41 unsigned int len, u8 *hash); 40 42 #endif