bsc_info = (bsc_info_t *) data_key;
SHA1Reset_32(&sha);
SHA1Input_32(&sha, (uint32_t *) data, data_len >> 2);
- SHA1Result_32(&sha, soft_hash_data);
+ SHA1Result_32(&sha, (unsigned char *)soft_hash_data);
memcpy(hash_copy, vlr_info->hash, sizeof(vlr_info->hash));
RSA_Decrypt(hash_copy, bsc_info->key.m, bsc_info->key.r2, (unsigned char *)(&bsc_info->key.e));