⬢ DragonFlyBSD Kernel Audit
DF-3565 / build.log
← back to finding ↓ download raw
--- kernel sources -> userland objects ---
In file included from /usr/src/sys/crypto/des/des_setkey.c:61:
/root/kat2/shim/crypto/des/des_locl.h:1:27: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des_locl.h
                           ^
/root/kat2/shim/crypto/des/des_locl.h:2:27: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des_locl.h
                           ^
In file included from /usr/src/sys/crypto/des/des_locl.h:54,
                 from /root/kat2/shim/crypto/des/des_locl.h:3,
                 from /usr/src/sys/crypto/des/des_setkey.c:61:
/root/kat2/shim/crypto/des/des.h:1:22: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des.h
                      ^
/root/kat2/shim/crypto/des/des.h:2:22: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des.h
                      ^
In file included from /usr/src/sys/crypto/des/des_setkey.c:62:
/root/kat2/shim/crypto/des/podd.h:1:23: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_podd.h
                       ^
/root/kat2/shim/crypto/des/podd.h:2:23: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_podd.h
                       ^
In file included from /usr/src/sys/crypto/des/des_setkey.c:63:
/root/kat2/shim/crypto/des/sk.h:1:21: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_sk.h
                     ^
/root/kat2/shim/crypto/des/sk.h:2:21: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_sk.h
                     ^
In file included from /usr/src/sys/crypto/des/des_enc.c:64:
/root/kat2/shim/crypto/des/des_locl.h:1:27: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des_locl.h
                           ^
/root/kat2/shim/crypto/des/des_locl.h:2:27: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des_locl.h
                           ^
In file included from /usr/src/sys/crypto/des/des_locl.h:54,
                 from /root/kat2/shim/crypto/des/des_locl.h:3,
                 from /usr/src/sys/crypto/des/des_enc.c:64:
/root/kat2/shim/crypto/des/des.h:1:22: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des.h
                      ^
/root/kat2/shim/crypto/des/des.h:2:22: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des.h
                      ^
In file included from /usr/src/sys/crypto/des/des_ecb.c:54:
/root/kat2/shim/crypto/des/des_locl.h:1:27: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des_locl.h
                           ^
/root/kat2/shim/crypto/des/des_locl.h:2:27: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des_locl.h
                           ^
In file included from /usr/src/sys/crypto/des/des_locl.h:54,
                 from /root/kat2/shim/crypto/des/des_locl.h:3,
                 from /usr/src/sys/crypto/des/des_ecb.c:54:
/root/kat2/shim/crypto/des/des.h:1:22: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des.h
                      ^
/root/kat2/shim/crypto/des/des.h:2:22: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des.h
                      ^
In file included from /usr/src/sys/crypto/des/des_ecb.c:55:
/root/kat2/shim/crypto/des/spr.h:1:22: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_spr.h
                      ^
/root/kat2/shim/crypto/des/spr.h:2:22: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_spr.h
                      ^
--- harnesses ---
sha1_kat.c: In function 'cross_chunked':
sha1_kat.c:86:2: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  SHA1_Init(&rctx);
  ^~~~~~~~~
In file included from sha1_kat.c:13:
/usr/local/include/openssl/sha.h:49:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
                           ^~~~~~~~~
sha1_kat.c:98:3: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   SHA1_Update(&rctx, data + off, (unsigned long)take);
   ^~~~~~~~~~~
In file included from sha1_kat.c:13:
/usr/local/include/openssl/sha.h:50:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
                           ^~~~~~~~~~~
sha1_kat.c:102:2: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  SHA1_Final(ref, &rctx);
  ^~~~~~~~~~
In file included from sha1_kat.c:13:
/usr/local/include/openssl/sha.h:51:27: note: declared here
 OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
                           ^~~~~~~~~~
In file included from des_kat.c:23:
/root/kat2/shim/crypto/des/des.h:1:22: warning: extra tokens at end of #ifndef directive
 #ifndef _SHIM_DES_des.h
                      ^
/root/kat2/shim/crypto/des/des.h:2:22: warning: ISO C99 requires whitespace after the macro name
 #define _SHIM_DES_des.h
                      ^
des_kat.c: In function 'main':
des_kat.c:134:33: warning: passing argument 2 of 'des_set_key_checked' from incompatible pointer type [-Wincompatible-pointer-types]
   if (des_set_key_checked(&key, &sched) != -2) {
                                 ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:109:39: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 int des_set_key_checked(des_cblock *, des_key_schedule);
                                       ^~~~~~~~~~~~~~~~
des_kat.c:158:32: warning: passing argument 2 of 'des_set_key_checked' from incompatible pointer type [-Wincompatible-pointer-types]
  if (des_set_key_checked(&key, &sched) != -1) {
                                ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:109:39: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 int des_set_key_checked(des_cblock *, des_key_schedule);
                                       ^~~~~~~~~~~~~~~~
des_kat.c:178:30: warning: passing argument 2 of 'des_set_key' from incompatible pointer type [-Wincompatible-pointer-types]
   int rc = des_set_key(&key, &sched);
                              ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:107:31: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 int des_set_key(des_cblock *, des_key_schedule);
                               ^~~~~~~~~~~~~~~~
des_kat.c:196:31: warning: passing argument 2 of 'des_set_key_unchecked' from incompatible pointer type [-Wincompatible-pointer-types]
   des_set_key_unchecked(&key, &sched);
                               ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:110:42: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 void des_set_key_unchecked(des_cblock *, des_key_schedule);
                                          ^~~~~~~~~~~~~~~~
des_kat.c:217:31: warning: passing argument 2 of 'des_set_key_unchecked' from incompatible pointer type [-Wincompatible-pointer-types]
   des_set_key_unchecked(&key, &sched);
                               ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:110:42: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 void des_set_key_unchecked(des_cblock *, des_key_schedule);
                                          ^~~~~~~~~~~~~~~~
des_kat.c:234:31: warning: passing argument 2 of 'des_set_key_unchecked' from incompatible pointer type [-Wincompatible-pointer-types]
   des_set_key_unchecked(&key, &sched);
                               ^~~~~~
In file included from /root/kat2/shim/crypto/des/des.h:3,
                 from des_kat.c:23:
/usr/src/sys/crypto/des/des.h:110:42: note: expected 'struct des_ks_struct *' but argument is of type 'struct des_ks_struct (*)[16]'
 void des_set_key_unchecked(des_cblock *, des_key_schedule);
                                          ^~~~~~~~~~~~~~~~
--- source identity check (must match the audit targets) ---
SHA256 (/usr/src/sys/crypto/sha1.c) = 9f3c5a65bb32b43e31f42db918795f5463960b9397147b40304641e6ab326dec
SHA256 (/usr/src/sys/crypto/siphash/siphash.c) = 39aa9023e765c3d58fefe56c86cfe75f45b7b7d658df371b981ecbf13b4a64cf
SHA256 (/usr/src/sys/crypto/des/des_setkey.c) = 6d19c5f17cee8d3fe76621e92405bc6f46edbff018d770d7f58bf1940d23b23e
SHA256 (/usr/src/sys/crypto/blake2/blake2s.c) = b859877c32408bef463e9c2a1c1bd9e9f46269046c4e55c853eaaa1745c97321
BUILD OK