/* Init routine for the ZigBee GP profile security.  */
static void gp_init_zbee_security(void)
/* Init routine for the ZigBee GP profile security.  */
static void gp_init_zbee_security(void)
{
    guint i;
    key_record_t key_record;
    for (i = 0; gp_uat_key_records && (i < num_uat_key_records); i++) {
        key_record.frame_num = 0;
        key_record.label = g_strdup(gp_uat_key_records[i].label);
        memcpy(key_record.key, gp_uat_key_records[i].key, ZBEE_SEC_CONST_KEYSIZE);
        zbee_gp_keyring = g_slist_prepend(zbee_gp_keyring, g_memdup(&key_record, sizeof(key_record_t)));
    }
}