Searched refs:prfInput (Results 1 – 1 of 1) sorted by relevance
680 uint8_t prfInput[OT_CRYPTO_PBDKF2_MAX_SALT_SIZE + 4]; // Salt || INT(), for U1 calculation in otPlatCryptoPbkdf2GenerateKey() local691 OT_ASSERT(aSaltLen <= sizeof(prfInput)); in otPlatCryptoPbkdf2GenerateKey()692 memcpy(prfInput, aSalt, aSaltLen); in otPlatCryptoPbkdf2GenerateKey()704 prfInput[aSaltLen + 0] = static_cast<uint8_t>(blockCounter >> 24); in otPlatCryptoPbkdf2GenerateKey()705 prfInput[aSaltLen + 1] = static_cast<uint8_t>(blockCounter >> 16); in otPlatCryptoPbkdf2GenerateKey()706 prfInput[aSaltLen + 2] = static_cast<uint8_t>(blockCounter >> 8); in otPlatCryptoPbkdf2GenerateKey()707 prfInput[aSaltLen + 3] = static_cast<uint8_t>(blockCounter); in otPlatCryptoPbkdf2GenerateKey()710 ret = mbedtls_aes_cmac_prf_128(aPassword, aPasswordLen, prfInput, aSaltLen + 4, in otPlatCryptoPbkdf2GenerateKey()