提交 9660cbcd 编写于 作者: D Dr. Stephen Henson

Change C++ style comments.

上级 9c9c83cc
...@@ -59,7 +59,7 @@ typedef struct { ...@@ -59,7 +59,7 @@ typedef struct {
unsigned long data[N_WORDS]; unsigned long data[N_WORDS];
} aes_block_t; } aes_block_t;
// XXX: probably some better way to do this /* XXX: probably some better way to do this */
#if defined(__i386__) || defined(__x86_64__) #if defined(__i386__) || defined(__x86_64__)
#define UNALIGNED_MEMOPS_ARE_FAST 1 #define UNALIGNED_MEMOPS_ARE_FAST 1
#endif #endif
......
...@@ -221,7 +221,7 @@ static int run_test_vectors(void) ...@@ -221,7 +221,7 @@ static int run_test_vectors(void)
++errs; ++errs;
} }
// try with in == out /* try with in == out */
memcpy(iv, v->iv, sizeof iv); memcpy(iv, v->iv, sizeof iv);
memcpy(buf, v->in, v->length); memcpy(buf, v->in, v->length);
AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt); AES_ige_encrypt(buf, buf, v->length, &key, iv, v->encrypt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册