ecb.c (95d002e0a34cb0f238abb39987f9980f325d8332) ecb.c (c4741b23059794bd99beef0f700103b0d983b3fd)
1/*
2 * ECB: Electronic CodeBook mode
3 *
4 * Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

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

96 return crypto_register_template(&crypto_ecb_tmpl);
97}
98
99static void __exit crypto_ecb_module_exit(void)
100{
101 crypto_unregister_template(&crypto_ecb_tmpl);
102}
103
1/*
2 * ECB: Electronic CodeBook mode
3 *
4 * Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation; either version 2 of the License, or (at your option)

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

96 return crypto_register_template(&crypto_ecb_tmpl);
97}
98
99static void __exit crypto_ecb_module_exit(void)
100{
101 crypto_unregister_template(&crypto_ecb_tmpl);
102}
103
104module_init(crypto_ecb_module_init);
104subsys_initcall(crypto_ecb_module_init);
105module_exit(crypto_ecb_module_exit);
106
107MODULE_LICENSE("GPL");
108MODULE_DESCRIPTION("ECB block cipher mode of operation");
109MODULE_ALIAS_CRYPTO("ecb");
105module_exit(crypto_ecb_module_exit);
106
107MODULE_LICENSE("GPL");
108MODULE_DESCRIPTION("ECB block cipher mode of operation");
109MODULE_ALIAS_CRYPTO("ecb");