equal
deleted
inserted
replaced
49 |
49 |
50 static TInt |
50 static TInt |
51 md_open (sc_md_hd_t *h, int algo, int secure, int hmac) |
51 md_open (sc_md_hd_t *h, int algo, int secure, int hmac) |
52 { |
52 { |
53 TInt err = KErrNone; |
53 TInt err = KErrNone; |
54 int bufsize = secure ? 512 : 1024; |
54 //int bufsize = secure ? 512 : 1024; |
55 sc_md_hd_t hd; |
55 sc_md_hd_t hd; |
56 hd = (sc_md_hd_t)malloc (sizeof (struct sc_md_handle)); |
56 hd = (sc_md_hd_t)malloc (sizeof (struct sc_md_handle)); |
57 if (! hd) |
57 if (! hd) |
58 err = KErrNoMemory; |
58 err = KErrNoMemory; |
59 if (! err) |
59 if (! err) |