]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/mac80211/aes_cmac.c
net: bcm63xx_enet: Utilize phy_ethtool_nway_reset
[linux.git] / net / mac80211 / aes_cmac.c
index bdf0790d89cca6fe3f64c097c84299ac35e1f3d0..d0bd5fff5f0a6241cd057183ed701de938c60757 100644 (file)
@@ -23,7 +23,7 @@
 #define AAD_LEN 20
 
 
-static void gf_mulx(u8 *pad)
+void gf_mulx(u8 *pad)
 {
        int i, carry;
 
@@ -35,9 +35,9 @@ static void gf_mulx(u8 *pad)
                pad[AES_BLOCK_SIZE - 1] ^= 0x87;
 }
 
-static void aes_cmac_vector(struct crypto_cipher *tfm, size_t num_elem,
-                           const u8 *addr[], const size_t *len, u8 *mac,
-                           size_t mac_len)
+void aes_cmac_vector(struct crypto_cipher *tfm, size_t num_elem,
+                    const u8 *addr[], const size_t *len, u8 *mac,
+                    size_t mac_len)
 {
        u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE];
        const u8 *pos, *end;