diff --git a/wolfcrypt/src/port/devcrypto/README.md b/wolfcrypt/src/port/devcrypto/README.md index 7844dca86..1d158f938 100644 --- a/wolfcrypt/src/port/devcrypto/README.md +++ b/wolfcrypt/src/port/devcrypto/README.md @@ -22,7 +22,7 @@ modprobe cryptodev For default build with all supported features use: ``` -./configure --enable-cryptodev +./configure --enable-devcrypto ``` Or for more control over features used: diff --git a/wolfcrypt/src/port/devcrypto/wc_devcrypto.c b/wolfcrypt/src/port/devcrypto/wc_devcrypto.c index 2a21d676c..97ad93e0f 100644 --- a/wolfcrypt/src/port/devcrypto/wc_devcrypto.c +++ b/wolfcrypt/src/port/devcrypto/wc_devcrypto.c @@ -122,7 +122,7 @@ int wc_DevCryptoCreate(WC_CRYPTODEV* ctx, int type, byte* key, word32 keySz) case CRYPTO_SHA2_512_HMAC: ctx->sess.cipher = 0; ctx->sess.mac = type; - ctx->sess.mackey = (u_int8_t*)key; + ctx->sess.mackey = (byte*)key; ctx->sess.mackeylen = keySz; break;