X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=crypto%2Ftcrypt.c;h=001f07cdb828d59101521162109b9f101c34a319;hb=55e0b071892c9112ab49496e924f7310843afb67;hp=25a5934f0e50a011f73db08a84735ae76b2a7f60;hpb=d64dab903fb3abb42ef2a3fc2d8aa064105e5dca;p=~andy%2Flinux diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 25a5934f0e5..001f07cdb82 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -493,7 +493,7 @@ static inline int do_one_ahash_op(struct ahash_request *req, int ret) ret = wait_for_completion_interruptible(&tr->completion); if (!ret) ret = tr->err; - INIT_COMPLETION(tr->completion); + reinit_completion(&tr->completion); } return ret; } @@ -721,7 +721,7 @@ static inline int do_one_acipher_op(struct ablkcipher_request *req, int ret) ret = wait_for_completion_interruptible(&tr->completion); if (!ret) ret = tr->err; - INIT_COMPLETION(tr->completion); + reinit_completion(&tr->completion); } return ret; @@ -1242,6 +1242,10 @@ static int do_test(int m) ret += tcrypt_test("cmac(des3_ede)"); break; + case 155: + ret += tcrypt_test("authenc(hmac(sha1),cbc(aes))"); + break; + case 200: test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0, speed_template_16_24_32);