Searched refs:LTC_HMAC_BLOCKSIZE (Results 1 – 2 of 2) sorted by relevance
19 #define LTC_HMAC_BLOCKSIZE hash_descriptor[hash]->blocksize macro52 buf = XMALLOC(LTC_HMAC_BLOCKSIZE); in hmac_init()58 if (sizeof(hmac->key) < LTC_HMAC_BLOCKSIZE) { in hmac_init()64 if(keylen > LTC_HMAC_BLOCKSIZE) { in hmac_init()65 z = LTC_HMAC_BLOCKSIZE; in hmac_init()74 if(keylen < LTC_HMAC_BLOCKSIZE) { in hmac_init()75 zeromem((hmac->key) + keylen, (size_t)(LTC_HMAC_BLOCKSIZE - keylen)); in hmac_init()79 for(i=0; i < LTC_HMAC_BLOCKSIZE; i++) { in hmac_init()88 if ((err = hash_descriptor[hash]->process(&hmac->md, buf, LTC_HMAC_BLOCKSIZE)) != CRYPT_OK) { in hmac_init()94 zeromem(buf, LTC_HMAC_BLOCKSIZE); in hmac_init()
19 #define LTC_HMAC_BLOCKSIZE hash_descriptor[hash]->blocksize macro47 buf = XMALLOC(LTC_HMAC_BLOCKSIZE); in hmac_done()65 for(i=0; i < LTC_HMAC_BLOCKSIZE; i++) { in hmac_done()73 if ((err = hash_descriptor[hash]->process(&hmac->md, buf, LTC_HMAC_BLOCKSIZE)) != CRYPT_OK) { in hmac_done()
Completed in 2 milliseconds