Change C++ style comments.
This commit is contained in:
parent
9c9c83ccb9
commit
9660cbcd6b
@ -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)
|
|||||||
++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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user