Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148803
b: refs/heads/master
c: 5d66732
h: refs/heads/master
i:
  148801: 91e98c5
  148799: 16d1539
v: v3
  • Loading branch information
Jarod Wilson authored and Herbert Xu committed Jun 2, 2009
1 parent 61932eb commit 1e4e47a
Show file tree
Hide file tree
Showing 4 changed files with 390 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e44a1b44c3a9794236fe038b89a0fbef5adcd523
refs/heads/master: 5d667322a25ab4ecb91176db118fd663fee4da35
4 changes: 4 additions & 0 deletions trunk/crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,10 @@ static void do_test(int m)
tcrypt_test("zlib");
break;

case 45:
tcrypt_test("rfc4309(ccm(aes))");
break;

case 100:
tcrypt_test("hmac(md5)");
break;
Expand Down
15 changes: 15 additions & 0 deletions trunk/crypto/testmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,6 +1878,21 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}
}, {
.alg = "rfc4309(ccm(aes))",
.test = alg_test_aead,
.suite = {
.aead = {
.enc = {
.vecs = aes_ccm_rfc4309_enc_tv_template,
.count = AES_CCM_4309_ENC_TEST_VECTORS
},
.dec = {
.vecs = aes_ccm_rfc4309_dec_tv_template,
.count = AES_CCM_4309_DEC_TEST_VECTORS
}
}
}
}, {
.alg = "rmd128",
.test = alg_test_hash,
Expand Down
Loading

0 comments on commit 1e4e47a

Please sign in to comment.