HomeSort by relevance Sort by last modified time
    Searched refs:HMAC_BLOCKSIZE (Results 1 - 3 of 3) sorted by null

  /external/dropbear/libtomcrypt/src/mac/hmac/
hmac_init.c 20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize
53 buf = XMALLOC(HMAC_BLOCKSIZE);
59 hmac->key = XMALLOC(HMAC_BLOCKSIZE);
66 if(keylen > HMAC_BLOCKSIZE) {
67 z = HMAC_BLOCKSIZE;
71 if(hashsize < HMAC_BLOCKSIZE) {
72 zeromem((hmac->key) + hashsize, (size_t)(HMAC_BLOCKSIZE - hashsize));
77 if(keylen < HMAC_BLOCKSIZE) {
78 zeromem((hmac->key) + keylen, (size_t)(HMAC_BLOCKSIZE - keylen));
83 for(i=0; i < HMAC_BLOCKSIZE; i++)
    [all...]
hmac_done.c 20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize
48 buf = XMALLOC(HMAC_BLOCKSIZE);
66 for(i=0; i < HMAC_BLOCKSIZE; i++) {
74 if ((err = hash_descriptor[hash].process(&hmac->md, buf, HMAC_BLOCKSIZE)) != CRYPT_OK) {
hmac_test.c 20 #define HMAC_BLOCKSIZE hash_descriptor[hash].blocksize

Completed in 75 milliseconds