nhpoly1305.c (95d002e0a34cb0f238abb39987f9980f325d8332) nhpoly1305.c (c4741b23059794bd99beef0f700103b0d983b3fd)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * NHPoly1305 - ε-almost-∆-universal hash function for Adiantum
4 *
5 * Copyright 2018 Google LLC
6 */
7
8/*

--- 230 unchanged lines hidden (view full) ---

239 return crypto_register_shash(&nhpoly1305_alg);
240}
241
242static void __exit nhpoly1305_mod_exit(void)
243{
244 crypto_unregister_shash(&nhpoly1305_alg);
245}
246
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * NHPoly1305 - ε-almost-∆-universal hash function for Adiantum
4 *
5 * Copyright 2018 Google LLC
6 */
7
8/*

--- 230 unchanged lines hidden (view full) ---

239 return crypto_register_shash(&nhpoly1305_alg);
240}
241
242static void __exit nhpoly1305_mod_exit(void)
243{
244 crypto_unregister_shash(&nhpoly1305_alg);
245}
246
247module_init(nhpoly1305_mod_init);
247subsys_initcall(nhpoly1305_mod_init);
248module_exit(nhpoly1305_mod_exit);
249
250MODULE_DESCRIPTION("NHPoly1305 ε-almost-∆-universal hash function");
251MODULE_LICENSE("GPL v2");
252MODULE_AUTHOR("Eric Biggers <ebiggers@google.com>");
253MODULE_ALIAS_CRYPTO("nhpoly1305");
254MODULE_ALIAS_CRYPTO("nhpoly1305-generic");
248module_exit(nhpoly1305_mod_exit);
249
250MODULE_DESCRIPTION("NHPoly1305 ε-almost-∆-universal hash function");
251MODULE_LICENSE("GPL v2");
252MODULE_AUTHOR("Eric Biggers <ebiggers@google.com>");
253MODULE_ALIAS_CRYPTO("nhpoly1305");
254MODULE_ALIAS_CRYPTO("nhpoly1305-generic");