- completed mac verification. sm with pace is now fully functional.

- made pace_test more fault tolerant.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@72 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-04-13 21:06:17 +00:00
parent 985590c3a8
commit b798a6e3a2
3 changed files with 153 additions and 34 deletions

View File

@@ -487,13 +487,10 @@ static int sm_decrypt(const struct sm_ctx *ctx, sc_card_t *card,
goto err;
}
#if 0
/* XXX */
r = ctx->verify_authentication(card, ctx, mac, mac_len,
mac_data, r);
if (r < 0)
goto err;
#endif
} else {
r = SC_ERROR_ASN1_OBJECT_NOT_FOUND;
goto err;