1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 * Public Key Signature Algorithm 3 * Public Key Signature Algorithm 4 * 4 * 5 * Copyright (c) 2023 Herbert Xu <herbert@gond 5 * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au> 6 */ 6 */ 7 #ifndef _CRYPTO_INTERNAL_SIG_H 7 #ifndef _CRYPTO_INTERNAL_SIG_H 8 #define _CRYPTO_INTERNAL_SIG_H 8 #define _CRYPTO_INTERNAL_SIG_H 9 9 10 #include <crypto/algapi.h> 10 #include <crypto/algapi.h> 11 #include <crypto/sig.h> 11 #include <crypto/sig.h> 12 12 13 static inline void *crypto_sig_ctx(struct cryp 13 static inline void *crypto_sig_ctx(struct crypto_sig *tfm) 14 { 14 { 15 return crypto_tfm_ctx(&tfm->base); 15 return crypto_tfm_ctx(&tfm->base); 16 } 16 } 17 #endif 17 #endif 18 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.