summaryrefslogtreecommitdiff
path: root/aes-encrypt.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2002-02-15 22:04:36 +0100
committerNiels Möller <nisse@lysator.liu.se>2002-02-15 22:04:36 +0100
commit8cf186c5f66e42e407e96cdc0012610f264a0538 (patch)
treedbefad55fd774ef3739f690ca02ee1f1f9a14188 /aes-encrypt.c
parent06c72e3945b85208a087a8e62e649e13447bed28 (diff)
downloadnettle-8cf186c5f66e42e407e96cdc0012610f264a0538.tar.gz
*** empty log message ***
Rev: src/nettle/aes-encrypt.c:1.3
Diffstat (limited to 'aes-encrypt.c')
-rw-r--r--aes-encrypt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/aes-encrypt.c b/aes-encrypt.c
index 30511793..95149c57 100644
--- a/aes-encrypt.c
+++ b/aes-encrypt.c
@@ -351,6 +351,11 @@ _aes_encrypt_table =
}
};
+/* On my sparc, encryption is significantly slower than decryption,
+ * even though the *only* difference is which table is passed to _aes_crypt.
+ *
+ * Really strange.
+ */
void
aes_encrypt(struct aes_ctx *ctx,
unsigned length, uint8_t *dst,