Searched refs:HMAC_BLOCKSIZE (Results 1 – 3 of 3) sorted by relevance
20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize macro53 buf = XMALLOC(HMAC_BLOCKSIZE); in hmac_init()59 hmac->key = XMALLOC(HMAC_BLOCKSIZE); in hmac_init()66 if(keylen > HMAC_BLOCKSIZE) { in hmac_init()67 z = HMAC_BLOCKSIZE; in hmac_init()71 if(hashsize < HMAC_BLOCKSIZE) { in hmac_init()72 zeromem((hmac->key) + hashsize, (size_t)(HMAC_BLOCKSIZE - hashsize)); in hmac_init()77 if(keylen < HMAC_BLOCKSIZE) { in hmac_init()78 zeromem((hmac->key) + keylen, (size_t)(HMAC_BLOCKSIZE - keylen)); in hmac_init()83 for(i=0; i < HMAC_BLOCKSIZE; i++) { in hmac_init()[all …]
20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize macro48 buf = XMALLOC(HMAC_BLOCKSIZE); in hmac_done()66 for(i=0; i < HMAC_BLOCKSIZE; i++) { in hmac_done()74 if ((err = hash_descriptor[hash].process(&hmac->md, buf, HMAC_BLOCKSIZE)) != CRYPT_OK) { in hmac_done()
20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize macro