Searched refs:mas_key (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/wanboot/keygen/ |
H A D | keygen.c | 266 uint8_t mas_key[WANBOOT_HMAC_KEY_SIZE]; in master_gen_key() local 330 if (gen_key(ka, mas_key) != KEYGEN_SUCCESS) { in master_gen_key() 335 ret = wbku_write_key(fp, &pos, ka, mas_key, B_TRUE); in master_gen_key() 364 uint8_t mas_key[WANBOOT_HMAC_KEY_SIZE]; in client_gen_key() local 423 ret = wbku_find_key(mas_fp, NULL, ka, mas_key, B_TRUE); in client_gen_key() 450 HMACInit(&ctx, mas_key, WANBOOT_HMAC_KEY_SIZE); in client_gen_key() 452 HMACFinal(&ctx, mas_key, WANBOOT_HMAC_KEY_SIZE, cli_key); in client_gen_key()
|