} cfg; /* config block */
 
        skein_assert_ret(hash_bit_len > 0, SKEIN_BAD_HASHLEN);
-       skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL);
+       skein_assert_ret(key_bytes == 0 || key, SKEIN_FAIL);
 
        /* compute the initial chaining values ctx->x[], based on key */
        if (key_bytes == 0) { /* is there a key? */
        } cfg;                              /* config block */
 
        skein_assert_ret(hash_bit_len > 0, SKEIN_BAD_HASHLEN);
-       skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL);
+       skein_assert_ret(key_bytes == 0 || key, SKEIN_FAIL);
 
        /* compute the initial chaining values ctx->x[], based on key */
        if (key_bytes == 0) { /* is there a key? */
        } cfg;                              /* config block */
 
        skein_assert_ret(hash_bit_len > 0, SKEIN_BAD_HASHLEN);
-       skein_assert_ret(key_bytes == 0 || key != NULL, SKEIN_FAIL);
+       skein_assert_ret(key_bytes == 0 || key, SKEIN_FAIL);
 
        /* compute the initial chaining values ctx->x[], based on key */
        if (key_bytes == 0) { /* is there a key? */