Searched refs:HMAC_BLOCK_SIZE (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/hmac/ |
H A D | hmac.c | 22 #define HMAC_BLOCK_SIZE 64 macro 46 u_int8_t key[HMAC_BLOCK_SIZE]; 47 u_int8_t ipad[HMAC_BLOCK_SIZE]; 48 u_int8_t opad[HMAC_BLOCK_SIZE]; 52 memset(key, 0x00, HMAC_BLOCK_SIZE); 53 memset(ipad, 0x36, HMAC_BLOCK_SIZE); 54 memset(opad, 0x5C, HMAC_BLOCK_SIZE); 58 for (i = 0; i < HMAC_BLOCK_SIZE; i++) { 64 __db_SHA1Update(&ctx, ipad, HMAC_BLOCK_SIZE); 68 __db_SHA1Update(&ctx, opad, HMAC_BLOCK_SIZE); [all...] |
Completed in 62 milliseconds