cmac.c (0337966d121ebebf73a1c346123e8112796e684e) | cmac.c (c4741b23059794bd99beef0f700103b0d983b3fd) |
---|---|
1/* 2 * CMAC: Cipher Block Mode for Authentication 3 * 4 * Copyright © 2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> 5 * 6 * Based on work by: 7 * Copyright © 2013 Tom St Denis <tstdenis@elliptictech.com> 8 * Based on crypto/xcbc.c: --- 299 unchanged lines hidden (view full) --- 308 return crypto_register_template(&crypto_cmac_tmpl); 309} 310 311static void __exit crypto_cmac_module_exit(void) 312{ 313 crypto_unregister_template(&crypto_cmac_tmpl); 314} 315 | 1/* 2 * CMAC: Cipher Block Mode for Authentication 3 * 4 * Copyright © 2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> 5 * 6 * Based on work by: 7 * Copyright © 2013 Tom St Denis <tstdenis@elliptictech.com> 8 * Based on crypto/xcbc.c: --- 299 unchanged lines hidden (view full) --- 308 return crypto_register_template(&crypto_cmac_tmpl); 309} 310 311static void __exit crypto_cmac_module_exit(void) 312{ 313 crypto_unregister_template(&crypto_cmac_tmpl); 314} 315 |
316module_init(crypto_cmac_module_init); | 316subsys_initcall(crypto_cmac_module_init); |
317module_exit(crypto_cmac_module_exit); 318 319MODULE_LICENSE("GPL"); 320MODULE_DESCRIPTION("CMAC keyed hash algorithm"); 321MODULE_ALIAS_CRYPTO("cmac"); | 317module_exit(crypto_cmac_module_exit); 318 319MODULE_LICENSE("GPL"); 320MODULE_DESCRIPTION("CMAC keyed hash algorithm"); 321MODULE_ALIAS_CRYPTO("cmac"); |