21.03.2013 Views

Problem - Kevin Tafuro

Problem - Kevin Tafuro

Problem - Kevin Tafuro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

for (j = 0; j < PRF_OUT_LEN; j++) out[j] ^= ulast[j];<br />

pkcs5_subsequent_prf(p, plen, ulast, PRF_OUT_LEN, ulast, &outlen);<br />

}<br />

for (j = 0; j < PRF_OUT_LEN; j++) out[j] ^= ulast[j];<br />

}<br />

void spc_pbkdf2(unsigned char *pw, unsigned int pwlen, char *salt,<br />

spc_uint64_t saltlen, unsigned int ic, unsigned char *dk,<br />

spc_uint64_t dklen) {<br />

unsigned long i, l, r;<br />

unsigned char final[PRF_OUT_LEN] = {0,};<br />

if (dklen > ((((spc_uint64_t)1)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!