cipher-aes 0.2.0 → 0.2.1
raw patch · 2 files changed
+3/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- cbits/aes.c +2/−0
- cipher-aes.cabal +1/−1
cbits/aes.c view
@@ -166,6 +166,7 @@ #define aes_decrypt_block(o,k,i) aes-generic_decrypt_block(o,k,i) #endif +#if defined(ARCH_X86) && defined(WITH_AESNI) void initialize_table_ni(int aesni, int pclmul) { if (!aesni)@@ -197,6 +198,7 @@ branch_table[ENCRYPT_GCM_128] = aes_ni_gcm_encrypt128; branch_table[ENCRYPT_GCM_256] = aes_ni_gcm_encrypt256; }+#endif void aes_initkey(aes_key *key, uint8_t *origkey, uint8_t size) {
cipher-aes.cabal view
@@ -1,5 +1,5 @@ Name: cipher-aes-Version: 0.2.0+Version: 0.2.1 Description: Fast AES cipher implementation with advanced mode of operations. .