Sfoglia il codice sorgente

disable AES_convert_key by #if 0'ing it out (suggested by mcb30)

tags/v0.9.3
Holger Lubitz 17 anni fa
parent
commit
426c2c150d
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      src/crypto/axtls/aes.c

+ 4
- 0
src/crypto/axtls/aes.c Vedi File

@@ -238,6 +238,9 @@ void AES_set_key(AES_CTX *ctx, const uint8_t *key,
238 238
     memcpy(ctx->iv, iv, 16);
239 239
 }
240 240
 
241
+#if 0
242
+/** currently unused function **/
243
+
241 244
 /**
242 245
  * Change a key for decryption.
243 246
  */
@@ -256,6 +259,7 @@ void AES_convert_key(AES_CTX *ctx)
256 259
         *k++ =w;
257 260
     }
258 261
 }
262
+#endif
259 263
 
260 264
 /**
261 265
  * Encrypt a byte sequence (with a block size 16) using the AES cipher.

Loading…
Annulla
Salva