EXPORT symbol statements in loop.c-2.6
"Leisner, Martin" <[email protected]> Wed, 28 Oct 2009 08:41:43 -0700
| Newsgroups | gmane.linux.cryptography |
|---|---|
| Message-ID | <76FA3B279DD9DA48896E2B4049449572040D2160@USA7061MS02.na.xerox.net> |
In this stanza: extern void loop_compute_sector_iv(sector_t, u_int32_t *); EXPORT_SYMBOL(loop_compute_sector_iv); extern void loop_compute_md5_iv_v3(sector_t, u_int32_t *, u_int32_t *); EXPORT_SYMBOL(loop_compute_md5_iv_v3); extern void loop_compute_md5_iv(sector_t, u_int32_t *, u_int32_t *); EXPORT_SYMBOL(loop_compute_md5_iv); extern void md5_transform_CPUbyteorder(u_int32_t *, u_int32_t const *); EXPORT_SYMBOL(md5_transform_CPUbyteorder); extern void md5_transform_CPUbyteorder_C(u_int32_t *, u_int32_t const *); EXPORT_SYMBOL(md5_transform_CPUbyteorder_C); Isn't it more standard if the EXPORT_SYMBOL appear next to the function definition? Why would they be exported? Who uses them other than the loopAES module? marty - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/