Commit 56a2b9a2 authored by Stefan Budeanu's avatar Stefan Budeanu Committed by James M Snell
Browse files

crypto: disable crypto.createCipher in FIPS mode

FIPS 140-2 disallows use of MD5, which is used to derive the
initialization vector and key for createCipher(). Modify
all tests to expect exceptions in FIPS mode when disallowed
API is used, or to avoid testing such API in FIPS Mode.

PR-URL: https://github.com/nodejs/node/pull/3754


Reviewed-By: default avatarMichael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: default avatarShigeki Ohtsu <ohtsu@iij.ad.jp>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 6de82c69
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment