diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/shash.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/shash.c b/crypto/shash.c index 8f9d8831e293..97f6c8ba103a 100644 --- a/crypto/shash.c +++ b/crypto/shash.c | |||
@@ -509,5 +509,14 @@ void shash_free_instance(struct crypto_instance *inst) | |||
509 | } | 509 | } |
510 | EXPORT_SYMBOL_GPL(shash_free_instance); | 510 | EXPORT_SYMBOL_GPL(shash_free_instance); |
511 | 511 | ||
512 | int crypto_init_shash_spawn(struct crypto_shash_spawn *spawn, | ||
513 | struct shash_alg *alg, | ||
514 | struct crypto_instance *inst) | ||
515 | { | ||
516 | return crypto_init_spawn2(&spawn->base, &alg->base, inst, | ||
517 | &crypto_shash_type); | ||
518 | } | ||
519 | EXPORT_SYMBOL_GPL(crypto_init_shash_spawn); | ||
520 | |||
512 | MODULE_LICENSE("GPL"); | 521 | MODULE_LICENSE("GPL"); |
513 | MODULE_DESCRIPTION("Synchronous cryptographic hash type"); | 522 | MODULE_DESCRIPTION("Synchronous cryptographic hash type"); |