- added untested function to decrypt sm

- function cipher now always disables automatic padding


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@52 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2010-03-31 21:58:49 +00:00
parent 2a1afd8fd2
commit ae3e7ae862
4 changed files with 183 additions and 44 deletions

View File

@@ -20,6 +20,3 @@ struct sm_ctx {
EVP_MD_CTX * md_ctx;
ENGINE *md_engine;
};
int sm_encrypt(const struct sm_ctx *ctx, sc_card_t *card, sc_apdu_t *apdu,
sc_apdu_t *sm_apdu);