1

(2 replies, posted in wolfCrypt)

I am trying to port wolfCrypt library for STM32G071RB. Purpose of porting is derive key from password and salt using PBKDF2.
After following each step mentioned in https://github.com/wolfSSL/wolfssl/blob … /README.md given link I tried calling
if (wc_PBKDF2(key, (const byte*)password, pLen, (const byte*)salt, sLen, iteration_count, KEY_SIZE, WC_HASH_TYPE_SHA256) != 0) {
        printf("Error deriving key\n");
        return;
    }
But this is returning MEMORY_E error code which is out of memory error.
I just want to know is it due to Microcontroller's insufficient RAM memory or any other reason?