$ 100 bounty

Im having a problem that I can't seem to work.

Im trying to compile libscrypt and scrypt-jane

both are available on git

https://github.com/Technion/libscrypt

https://github.com/floodyberry/scrypt-Jane

I can compile both for my desktop computer intel very well. both run their tests and pass successfully.   I created a blackberry10 build script to build libscrypt for blackberry 10 Simulator.   the script compiles again very well. However Im getting an error undefined reference that I could not move for the last 4 days. I'm stuck officially.

IM offering $100 to anyone who can effectively solve this $I(&*$ issue for me. #)

Here's my build for libscrypt script

http://pastebin.com/kQeFjZ5q

The error im getting is

undefined reference to `libscrypt_scrypt(unsigned char const, unsigned int, unsigned char const, unsigned int, unsigned long long, unsigned int, unsigned int, unsigned char*, unsigned int)'

Scrypt-jane has no me helped either. In the end I found myself with

undefined reference to `scrypt(unsigned char const*, unsigned int, unsigned char const*, unsigned int, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'

Use a C library in a C++ application.

Had to encapsulate the methods in the libscrypt.h header in an extern.

#ifdef __cplusplus
extern "C"{
#endif

int libscry...

#ifdef __cplusplus
}
#endif

who did.

Tags: BlackBerry Developers

Similar Questions

  • I have someone just showed about 100 pictures of my iPad. Now, the pictures are missing, and the "recently deleted" folder is also empty. What can I do?

    I have someone just showed about 100 pictures of my iPad. Now, the pictures are missing, and the "recently deleted" folder is also empty. What can I do?

    Have you done something after their show.

  • How long "sweep of the face" in App Photos 100 000 photos?

    After update my Mac to the Sierra, the "photoanalysisd" keep treatment and looks than my photo library (100 000 photos) digitizing. Checking the status of scanning in Photos App, it took a full day to analyze only 9 000 photos (only 10% of my photo library). So, I have to wait 10 more days to complete his analysis. I didn't use the Photos App in the meantime. Is it really take that long for scanning?

    In addition, it seems to my Time Machine backup process to suck too.

    Any idea or something wrong?

    Thank you.

    Kind regards

    Is it really take that long for scanning?

    Yes. I did not attempt to achieve something more than a rough estimate, but I think it took about an hour to complete a library of about 1000 photos.

    When it's over... it's pretty amazing, but I'm not a professional photographer. Photos is no more than a simple organizational tool. For a person of 100 000 photographs you probably already an organization plan, then perhaps you will not find these automatic features also useful as I do.

  • Is it true that only charge your iphone at 100% can shorten its battery life?

    Because some say it may decrease the battery life if you always or often recharge your iphone to 100%. They said that it is better not to load it 100%, and some have said it's ok to charge your phone to 100%.

    your phone/ipad/computer laptop/ipod is designed to be loaded until it reaches capacity. That's what it is designed by engineers. Then no. Tell the 'they' who says 'it is better do not reach' 04:20 occurs only twice a day and they have to keep it up to two times per day to book all the cells of the brain are left in hiding.

  • 10 IOS on iPhone 6 battery always shows 100%

    Hi everyone, I have updated my Iphone 6 (sprint) in iOS10 and since then my percentage of dough is always 100%. The phone dies, I'll do it, he will return to 100% and then shows never any number below in addition to 100 until he died. This happened exactly when I updated to iOS10 and the battery life / percentage was fine before. Any ideas or advice? Others have this problem?

    Force a reboot of your device in now the home and power buttons until the Apple logo appears.

  • Apple Watch series 2 battery level stuck at 100%

    My new Apple Watch series 2 battery level indicator is stuck at 100%, regardless of the current battery level. I tried to restart the watch and it did not help. Anyone else know this and know a fix?

    Hello

    As you've already restarted your watch, it can help to disable the pairing and re-pair the headset:

  • 100% battery.

    No iPhone 5s connected automatically often after obtaining 100% charged?

    Batteries lithium polymer, such as those used in the iPhone, are a well understood chemical composition and specific Chargers to handle their load.

    When last charging ICs Apple uses are owners (they work with the dialog box for their ICs power management) it is unlikely that Apple makes a charge significantly different than any other manufacturer of battery charge.

    This process has to recharge the battery as soon as reasonable while protecting the battery from damage or increased wear. Please note that the IC - or Power Management IC load - is inside the iPhone. If this applies regardless of the external USB powered device that you use to load.

    When the battery is fully charged, the charger turns off the charging process. The battery is left alone without current in or out of it. This is because most of the Lithium chemistry batteries don't like slow charge (a process that you can hear from others where constant tension and low current is applied to a battery all the time to keep upgraded).

    Load what ics so turn the power completely off and the phone itself of the power charger. This is the only time that the battery is not loading or unloading - when it's full and that the phone is connected.

  • iPhone 6 s - 100% carbon copy backup/restore to iTunes - is that possible?

    Hello

    I am trying to find a way to save/restore an iPhone via iTunes installation so that the restoration of places any return on the phone with the same configuration (essentially, an exact clone of the original installation that is being backed up).

    Questions that I met with attempts to use iTunes for backup/restore:

    • Passwords and other security information do not restore.
    • Applications not getting restored
    • WIFI networks not get restored
    • attached randomly do not restore (some, not all).

    iCloud backups solve this problem (sort of).

    • It takes an internet connection takes too long and medium, and you are left without a phone can be used for a period of time, so that the restore process is complete. I'd rather do it via iTunes.
    • Passwords and other security information do not restore.

    Any help please? In the end, I'm looking for a way to backup my phone to a PC and restore it so it looks identical to how it did before the backup.

    For a long time (perhaps in the iPhone 4/5 days?) this process described above works, 100%. Apple changed something in recent years.

    Thank you

    Bob

    The backup does not contain music or apps, because they should be in the media library iTunes on your computer, and if you synchronize right after that the restoration of the backup is then reinstalled. Normally this is done automatically when you perform a restore if you not to interrupt.

    Passwords and health data are only saved if you choose encrypted backup.

    There is no way to make a backup "image" of the phone, but if you use Encrypted and let run until the end, that it will restore everything the way it was.

    See this Apple trick for some details: about backups in iCloud and iTunes - Apple Support

  • Channel 100 on airport Time Capsule

    Is it possible to lock the channel 5 on channel 100 GHz in the United Kingdom? The 5th generation using 3 TB Time Capsule.

    Channels that you see that are listed are the only option for simple use indoors. Ch100 requires DFS and TPC:

    https://en.Wikipedia.org/wiki/Channel_allocation_schemes#DFS

    https://en.Wikipedia.org/wiki/Power_control#Transmit_Power_Control

    which obviously are not provided by the airport and are probably not relevant for normal household use.

    https://en.Wikipedia.org/wiki/List_of_WLAN_channels

  • My iPhone 6 is stuck at 100%

    Seems to have begun about 9.3.4 update

    Seen the first time over the weekend. A supplement per night and the hard reset all of a sudden he brought back to life and showing a little normal depletion of the layer. But the issue came last yet. And even if the phone is plugged into the USB of car, he died on the way back (I also suspect WAZE, but do not know how he could keep the percentage does not change).

    Today is hard reset not reset all settings and a normal power supply on/off voltage and so far no change.

    A friend was able to get a diagnosis that I ran on my phone and it said no problems with battery (only the issue with apps to quit smoking).

    Phone is almost 2 years and I'm ready to replace the battery, just do not know who will correct this problem.

    Other thoughts (in addition to a full erase and restore which I'll try).

    Thank you

    Laz

    If you have not yet tried, draining the battery at 0% then re charge to 100%. That could re calibrate.

    You can go to see the battery app in settings > battery

  • distnoted consume 100% cpu

    Every now and then my mbp will be completely insensitive because of a process called "distnoted" consume 100% cpu on a period of time.

    Why is this happening? Is this a virus? I have 16 GB of RAM + SSD - surely that should be record high enough to run OSX 10.11?

    The good news is that this is not a virus. This process was created by Apple and runs along the side to provide iTunes supported mobile devices. I would just try and force them to leave the application. http://www.groovypost.com/HOWTO/distnoted-exe-process-running-background-safe/

    Alternatively, you can try going here ... Step by step to fix your Mac

    Hope this helps, good luck to you.

  • How can I stay on zoom 120 all the time? It goes back to 100 and some Web sites in new tabs

    Between Web pages he keeps going back down to 100. Is it possible to set it to 120 between the tabs and Web pages?

    The zoom settings are on a per site basis.

    NoSquint {web link}
    NoSquint allows you to adjust the text-only and the full page
    (text and images) zoom and color settings levels
    both globally (for all sites) and by site.

  • Is it possible to install Firefox on Epson Moverio BT - 100 Android 2.2?

    Dear Firefox team,
    I am trying to install Firefox on an Epson Moverio BT-100 HMD. I don't want to use Google game store. Is it possible to install it?
    The Android version is froyo 2.2.

    Thank you
    Greetings
    Aaron

    Android 2. 3 is a minimum from mobile Firefox 31.0 and also ARMv6 was abandoned so that only ARMv7 and Intel cpu is supported for x 86...

  • Percentage of maximum CPU Windows 7 constantly frequency > 100%

    Under Windows, I find that my CPU fan runs constantly audible. The fan made ramp immediately after Windows starts, even with no applications running. Windows resource monitor shows the CPU usage in the range of 25 to 40%. However, the maximum percentage of CPU frequency is consistently above 100% (usually around 110-115%). This means that the system is too overclocking? If so, is it logical to deduce that this may cause the CPU fan to run so much? Finally, how can I get this back to 100% (or less)?

    The fan does not this way under MacOS.

    MB Pro (by 2012) running Windows 7 under Bootcamp (MacOS 10.11.6).

    reset the SMC

    Reset the management system (SCM) controller on your Mac - Apple Support

  • I can not go on my messages, it crashes whenever I try to go about it, after I have recived a text with like 100 emojis, HELP PLEASE!

    I have recived a text and theres like 100 on emoticons and now whenever I try to go on my messages, it crashes and I'm not able to see your messages or text from there, I'm trying to find a way to solve this problem without having to remove the convo, help me please!

    Hello

    You list only an iPhone.

    You are only using an iPhone because it's Cougar (OS X 10.8.x)?

    On Mac, you may be able to use a backup to return to the conversation before you were sent the emoticons.

    You need open a Finder window, then use the Menu go, all holding the key pressed ALT.

    This shows the library menu you need choose.

    Then navigate to the Messages.

    If you use Time Machine, you need to launch, and then move them in time just before the emoticons have been sent to and then restore you the three points to chat.db.

    I read the posts on this and I have only seen it happen on a Mac and then especially what people had large data quantities sent to them as a text copy / paste or in some cases, the same fact with the emoticons.

    If your Mac is not properly iMessage slot and it crashes the app is the only way to stop the app thinking that it is still to try to "Download" or accept the iMessage, as I described above.

    Once you have done this, then you can restart Messages and he must think that you already have iMessage responsible Emoji.

    If it's your iPhone, I'm afraid that I don't know how to fix this.

    However I think that restore iPhone to a backup taken just before the arrival of the iMessages Emoji would be the way to go.

    20:39 Wednesday. August 10, 2016

     iMac 2.5 Ghz i5 2011 (El Capitan)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     iPhone and iPad (2)

Maybe you are looking for