X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Faes128.c;h=9d8d2fc41eba1888c43902c1cb420123f3ef82d5;hb=f80022d9df98d29ee41176a4bc6cb91025da84b8;hp=aa7f5609b9e4fab74ae90a798af2b2c8815eb3e6;hpb=58fda1dab104041fc693032475ec4662c1a52849;p=sliver-openvswitch.git diff --git a/lib/aes128.c b/lib/aes128.c index aa7f5609b..9d8d2fc41 100644 --- a/lib/aes128.c +++ b/lib/aes128.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009 Nicira Networks. + * Copyright (c) 2009, 2012 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,8 +26,6 @@ #include "aes128.h" -#include - #include "util.h" static const uint32_t Te0[256] = { @@ -748,7 +746,7 @@ aes128_schedule(struct aes128 *aes, const uint8_t key[16]) rk[6] = rk[2] ^ rk[5]; rk[7] = rk[3] ^ rk[6]; } - assert(rk == &aes->rk[40]); + ovs_assert(rk == &aes->rk[40]); } void