HelenOS sources
HMAC_BLOCK_LENGTH 281 uspace/lib/crypto/crypto.c uint8_t work_key[HMAC_BLOCK_LENGTH];
HMAC_BLOCK_LENGTH 282 uspace/lib/crypto/crypto.c uint8_t o_key_pad[HMAC_BLOCK_LENGTH];
HMAC_BLOCK_LENGTH 283 uspace/lib/crypto/crypto.c uint8_t i_key_pad[HMAC_BLOCK_LENGTH];
HMAC_BLOCK_LENGTH 285 uspace/lib/crypto/crypto.c memset(work_key, 0, HMAC_BLOCK_LENGTH);
HMAC_BLOCK_LENGTH 287 uspace/lib/crypto/crypto.c if (key_size > HMAC_BLOCK_LENGTH)
HMAC_BLOCK_LENGTH 292 uspace/lib/crypto/crypto.c for (size_t i = 0; i < HMAC_BLOCK_LENGTH; i++) {
HMAC_BLOCK_LENGTH 297 uspace/lib/crypto/crypto.c uint8_t temp_work[HMAC_BLOCK_LENGTH + max(msg_size, hash_sel)];
HMAC_BLOCK_LENGTH 298 uspace/lib/crypto/crypto.c memcpy(temp_work, i_key_pad, HMAC_BLOCK_LENGTH);
HMAC_BLOCK_LENGTH 299 uspace/lib/crypto/crypto.c memcpy(temp_work + HMAC_BLOCK_LENGTH, msg, msg_size);
HMAC_BLOCK_LENGTH 301 uspace/lib/crypto/crypto.c create_hash(temp_work, HMAC_BLOCK_LENGTH + msg_size, temp_hash,
HMAC_BLOCK_LENGTH 304 uspace/lib/crypto/crypto.c memcpy(temp_work, o_key_pad, HMAC_BLOCK_LENGTH);
HMAC_BLOCK_LENGTH 305 uspace/lib/crypto/crypto.c memcpy(temp_work + HMAC_BLOCK_LENGTH, temp_hash, hash_sel);
HMAC_BLOCK_LENGTH 307 uspace/lib/crypto/crypto.c create_hash(temp_work, HMAC_BLOCK_LENGTH + hash_sel, hash, hash_sel);
HelenOS homepage, sources at GitHub