Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/nettle-3.6/nettle-meta-armors.c
Examining data/nettle-3.6/dsa-keygen.c
Examining data/nettle-3.6/ed448-shake256-pubkey.c
Examining data/nettle-3.6/desdata.c
Examining data/nettle-3.6/gcm-aes128.c
Examining data/nettle-3.6/sha256-compress.c
Examining data/nettle-3.6/cbc.h
Examining data/nettle-3.6/dsa.c
Examining data/nettle-3.6/hmac-gosthash94.c
Examining data/nettle-3.6/sha3-512.c
Examining data/nettle-3.6/chacha.h
Examining data/nettle-3.6/chacha-crypt.c
Examining data/nettle-3.6/buffer-init.c
Examining data/nettle-3.6/md2.c
Examining data/nettle-3.6/dsa-gen-params.c
Examining data/nettle-3.6/aes.h
Examining data/nettle-3.6/sha512-256-meta.c
Examining data/nettle-3.6/aes-invert-internal.c
Examining data/nettle-3.6/dsa.h
Examining data/nettle-3.6/chacha-poly1305.h
Examining data/nettle-3.6/rsa-sha512-sign-tr.c
Examining data/nettle-3.6/write-le32.c
Examining data/nettle-3.6/hmac-sha224-meta.c
Examining data/nettle-3.6/pkcs1-rsa-sha1.c
Examining data/nettle-3.6/gostdsa-verify.c
Examining data/nettle-3.6/rsa-pkcs1-sign-tr.c
Examining data/nettle-3.6/eddsa-sign.c
Examining data/nettle-3.6/arctwo.c
Examining data/nettle-3.6/rsa.h
Examining data/nettle-3.6/gostdsa-vko.c
Examining data/nettle-3.6/ctr.h
Examining data/nettle-3.6/blowfish.c
Examining data/nettle-3.6/nettle-internal.h
Examining data/nettle-3.6/chacha-poly1305-meta.c
Examining data/nettle-3.6/base64-encode.c
Examining data/nettle-3.6/blowfish.h
Examining data/nettle-3.6/sexp-format.c
Examining data/nettle-3.6/ccm-aes256.c
Examining data/nettle-3.6/desCode.h
Examining data/nettle-3.6/des3.c
Examining data/nettle-3.6/serpent-set-key.c
Examining data/nettle-3.6/umac96.c
Examining data/nettle-3.6/camellia256-crypt.c
Examining data/nettle-3.6/dsa-sha256-sign.c
Examining data/nettle-3.6/sha1-meta.c
Examining data/nettle-3.6/hmac-md5-meta.c
Examining data/nettle-3.6/twofish-meta.c
Examining data/nettle-3.6/rsa-sha1-sign-tr.c
Examining data/nettle-3.6/ecc-gostdsa-sign.c
Examining data/nettle-3.6/twofish.h
Examining data/nettle-3.6/cast128_sboxes.h
Examining data/nettle-3.6/gcm-aes128-meta.c
Examining data/nettle-3.6/shake256.c
Examining data/nettle-3.6/ecc-add-thh.c
Examining data/nettle-3.6/rsa-pkcs1-verify.c
Examining data/nettle-3.6/ccm.h
Examining data/nettle-3.6/nettle-meta-aeads.c
Examining data/nettle-3.6/ecc-curve25519.c
Examining data/nettle-3.6/sec-sub-1.c
Examining data/nettle-3.6/rsa-sha256-sign.c
Examining data/nettle-3.6/pgp.h
Examining data/nettle-3.6/rsa-md5-sign-tr.c
Examining data/nettle-3.6/gmp-glue.c
Examining data/nettle-3.6/realloc.h
Examining data/nettle-3.6/ecc-scalar.c
Examining data/nettle-3.6/eddsa-decompress.c
Examining data/nettle-3.6/ecc-mul-g.c
Examining data/nettle-3.6/ecc-dup-jj.c
Examining data/nettle-3.6/examples/rsa-session.h
Examining data/nettle-3.6/examples/rsa-keygen.c
Examining data/nettle-3.6/examples/rsa-sign.c
Examining data/nettle-3.6/examples/ecc-benchmark.c
Examining data/nettle-3.6/examples/timing.c
Examining data/nettle-3.6/examples/nettle-openssl.c
Examining data/nettle-3.6/examples/read_rsa_key.c
Examining data/nettle-3.6/examples/io.c
Examining data/nettle-3.6/examples/rsa-encrypt.c
Examining data/nettle-3.6/examples/base64dec.c
Examining data/nettle-3.6/examples/rsa-decrypt.c
Examining data/nettle-3.6/examples/timing.h
Examining data/nettle-3.6/examples/rsa-verify.c
Examining data/nettle-3.6/examples/io.h
Examining data/nettle-3.6/examples/random-prime.c
Examining data/nettle-3.6/examples/base64enc.c
Examining data/nettle-3.6/examples/nettle-benchmark.c
Examining data/nettle-3.6/examples/hogweed-benchmark.c
Examining data/nettle-3.6/examples/base16enc.c
Examining data/nettle-3.6/examples/base16dec.c
Examining data/nettle-3.6/hmac-md5.c
Examining data/nettle-3.6/ccm.c
Examining data/nettle-3.6/arcfour-crypt.c
Examining data/nettle-3.6/poly1305.h
Examining data/nettle-3.6/ed25519-sha512-pubkey.c
Examining data/nettle-3.6/aes-encrypt-table.c
Examining data/nettle-3.6/salsa20-internal.h
Examining data/nettle-3.6/chacha-set-nonce.c
Examining data/nettle-3.6/ecc-add-th.c
Examining data/nettle-3.6/aes128-meta.c
Examining data/nettle-3.6/aes-decrypt-internal.c
Examining data/nettle-3.6/aes192-set-encrypt-key.c
Examining data/nettle-3.6/siv-cmac-aes256.c
Examining data/nettle-3.6/cmac-aes128.c
Examining data/nettle-3.6/ecc-secp384r1.c
Examining data/nettle-3.6/umac-l2.c
Examining data/nettle-3.6/cast128-meta.c
Examining data/nettle-3.6/hmac-sha512.c
Examining data/nettle-3.6/sexp.c
Examining data/nettle-3.6/rsa-sha1-sign.c
Examining data/nettle-3.6/rsa-sec-decrypt.c
Examining data/nettle-3.6/salsa20-crypt.c
Examining data/nettle-3.6/block-internal.h
Examining data/nettle-3.6/xts.h
Examining data/nettle-3.6/rsa-sec-compute-root.c
Examining data/nettle-3.6/dsa-sign.c
Examining data/nettle-3.6/memxor.c
Examining data/nettle-3.6/ecc-gostdsa-verify.c
Examining data/nettle-3.6/xts.c
Examining data/nettle-3.6/rsa-keygen.c
Examining data/nettle-3.6/camellia-absorb.c
Examining data/nettle-3.6/ctr.c
Examining data/nettle-3.6/serpent-internal.h
Examining data/nettle-3.6/gcm-aes256.c
Examining data/nettle-3.6/sha1-compress.c
Examining data/nettle-3.6/memxor3.c
Examining data/nettle-3.6/asn1.h
Examining data/nettle-3.6/ed448-shake256-verify.c
Examining data/nettle-3.6/sexp2dsa.c
Examining data/nettle-3.6/ecc-eh-to-a.c
Examining data/nettle-3.6/eax.c
Examining data/nettle-3.6/siv-cmac.c
Examining data/nettle-3.6/rsa-sign.c
Examining data/nettle-3.6/ecdsa.h
Examining data/nettle-3.6/curve448-mul.c
Examining data/nettle-3.6/ed25519-sha512-verify.c
Examining data/nettle-3.6/eddsa-compress.c
Examining data/nettle-3.6/aes192-set-decrypt-key.c
Examining data/nettle-3.6/yarrow_key_event.c
Examining data/nettle-3.6/pss-mgf1.c
Examining data/nettle-3.6/desinfo.h
Examining data/nettle-3.6/rotors.h
Examining data/nettle-3.6/pss-mgf1.h
Examining data/nettle-3.6/sha3-256.c
Examining data/nettle-3.6/ecdsa-verify.c
Examining data/nettle-3.6/siv-cmac-aes128.c
Examining data/nettle-3.6/buffer.h
Examining data/nettle-3.6/salsa20.h
Examining data/nettle-3.6/pgp-encode.c
Examining data/nettle-3.6/rsa-md5-sign.c
Examining data/nettle-3.6/ripemd160-meta.c
Examining data/nettle-3.6/ecc-point.c
Examining data/nettle-3.6/siv-cmac.h
Examining data/nettle-3.6/ccm-aes128.c
Examining data/nettle-3.6/cmac.h
Examining data/nettle-3.6/camellia-invert-key.c
Examining data/nettle-3.6/gmp-glue.h
Examining data/nettle-3.6/sha3-512-meta.c
Examining data/nettle-3.6/base64url-meta.c
Examining data/nettle-3.6/sexp-transport.c
Examining data/nettle-3.6/des.c
Examining data/nettle-3.6/aes-set-decrypt-key.c
Examining data/nettle-3.6/pss.h
Examining data/nettle-3.6/ecc-mul-a.c
Examining data/nettle-3.6/camellia256-set-decrypt-key.c
Examining data/nettle-3.6/sha3-224.c
Examining data/nettle-3.6/sha512-meta.c
Examining data/nettle-3.6/rsa-sha256-verify.c
Examining data/nettle-3.6/cmac.c
Examining data/nettle-3.6/ecc-hash.c
Examining data/nettle-3.6/nettle-meta.h
Examining data/nettle-3.6/dsa-verify.c
Examining data/nettle-3.6/curve25519-mul.c
Examining data/nettle-3.6/rsa2openpgp.c
Examining data/nettle-3.6/pkcs1-internal.h
Examining data/nettle-3.6/gostdsa.h
Examining data/nettle-3.6/sha-example.c
Examining data/nettle-3.6/cmac-aes256-meta.c
Examining data/nettle-3.6/version.c
Examining data/nettle-3.6/salsa20r12-crypt.c
Examining data/nettle-3.6/hmac-ripemd160.c
Examining data/nettle-3.6/xts-aes256.c
Examining data/nettle-3.6/memops.h
Examining data/nettle-3.6/ecc-add-eh.c
Examining data/nettle-3.6/cmac-des3.c
Examining data/nettle-3.6/base16-decode.c
Examining data/nettle-3.6/rsa-pss-sha256-verify.c
Examining data/nettle-3.6/ecc-secp521r1.c
Examining data/nettle-3.6/sha256-meta.c
Examining data/nettle-3.6/ecc-point-mul.c
Examining data/nettle-3.6/cmac-des3-meta.c
Examining data/nettle-3.6/eddsa-verify.c
Examining data/nettle-3.6/salsa20-set-nonce.c
Examining data/nettle-3.6/gosthash94-meta.c
Examining data/nettle-3.6/ecc-secp256r1.c
Examining data/nettle-3.6/ecc-ecdsa-verify.c
Examining data/nettle-3.6/macros.h
Examining data/nettle-3.6/rsa-internal.h
Examining data/nettle-3.6/rsa-blind.c
Examining data/nettle-3.6/pkcs1-encrypt.c
Examining data/nettle-3.6/cast128.c
Examining data/nettle-3.6/realloc.c
Examining data/nettle-3.6/gcm-camellia256-meta.c
Examining data/nettle-3.6/sha512-224-meta.c
Examining data/nettle-3.6/dsa-compat-keygen.c
Examining data/nettle-3.6/hmac.h
Examining data/nettle-3.6/eddsa.h
Examining data/nettle-3.6/md5-compat.h
Examining data/nettle-3.6/chacha-poly1305.c
Examining data/nettle-3.6/sha256.c
Examining data/nettle-3.6/md5-compress.c
Examining data/nettle-3.6/der2rsa.c
Examining data/nettle-3.6/ecc-add-jja.c
Examining data/nettle-3.6/camellia192-meta.c
Examining data/nettle-3.6/arcfour.c
Examining data/nettle-3.6/dsa-hash.c
Examining data/nettle-3.6/ecc-ecdsa-sign.c
Examining data/nettle-3.6/ed448-shake256-sign.c
Examining data/nettle-3.6/ecc-j-to-a.c
Examining data/nettle-3.6/ecc-add-ehh.c
Examining data/nettle-3.6/camellia256-set-encrypt-key.c
Examining data/nettle-3.6/gcm-camellia128-meta.c
Examining data/nettle-3.6/getopt1.c
Examining data/nettle-3.6/umac-nh.c
Examining data/nettle-3.6/pbkdf2-hmac-sha256.c
Examining data/nettle-3.6/pkcs1-rsa-sha256.c
Examining data/nettle-3.6/salsa20-256-set-key.c
Examining data/nettle-3.6/rsa-decrypt-tr.c
Examining data/nettle-3.6/bignum.c
Examining data/nettle-3.6/ecc-mod-arith.c
Examining data/nettle-3.6/sexp2bignum.c
Examining data/nettle-3.6/ecdsa-sign.c
Examining data/nettle-3.6/nettle-lookup-hash.c
Examining data/nettle-3.6/sha512.c
Examining data/nettle-3.6/rsa-pss-sha512-sign-tr.c
Examining data/nettle-3.6/tools/nettle-pbkdf2.c
Examining data/nettle-3.6/tools/input.c
Examining data/nettle-3.6/tools/misc.h
Examining data/nettle-3.6/tools/input.h
Examining data/nettle-3.6/tools/misc.c
Examining data/nettle-3.6/tools/output.h
Examining data/nettle-3.6/tools/output.c
Examining data/nettle-3.6/tools/nettle-lfib-stream.c
Examining data/nettle-3.6/tools/parse.h
Examining data/nettle-3.6/tools/nettle-hash.c
Examining data/nettle-3.6/tools/pkcs1-conv.c
Examining data/nettle-3.6/tools/sexp-conv.c
Examining data/nettle-3.6/tools/parse.c
Examining data/nettle-3.6/md5-meta.c
Examining data/nettle-3.6/hmac.c
Examining data/nettle-3.6/umac-l3.c
Examining data/nettle-3.6/keymap.h
Examining data/nettle-3.6/sha384-meta.c
Examining data/nettle-3.6/hmac-sha384-meta.c
Examining data/nettle-3.6/ecc-curve448.c
Examining data/nettle-3.6/nettle-write.h
Examining data/nettle-3.6/pbkdf2.h
Examining data/nettle-3.6/ecc-size.c
Examining data/nettle-3.6/testsuite/sha1-huge-test.c
Examining data/nettle-3.6/testsuite/gosthash94-test.c
Examining data/nettle-3.6/testsuite/curve25519-dh-test.c
Examining data/nettle-3.6/testsuite/ecc-dup-test.c
Examining data/nettle-3.6/testsuite/ecc-mul-g-test.c
Examining data/nettle-3.6/testsuite/rsa2sexp-test.c
Examining data/nettle-3.6/testsuite/ecdsa-keygen-test.c
Examining data/nettle-3.6/testsuite/des-test.c
Examining data/nettle-3.6/testsuite/ecc-mod-test.c
Examining data/nettle-3.6/testsuite/dsa-keygen-test.c
Examining data/nettle-3.6/testsuite/pss-test.c
Examining data/nettle-3.6/testsuite/siv-test.c
Examining data/nettle-3.6/testsuite/ecdh-test.c
Examining data/nettle-3.6/testsuite/eddsa-verify-test.c
Examining data/nettle-3.6/testsuite/ecdsa-verify-test.c
Examining data/nettle-3.6/testsuite/umac-test.c
Examining data/nettle-3.6/testsuite/ripemd160-test.c
Examining data/nettle-3.6/testsuite/ed448-test.c
Examining data/nettle-3.6/testsuite/eddsa-sign-test.c
Examining data/nettle-3.6/testsuite/meta-aead-test.c
Examining data/nettle-3.6/testsuite/gostdsa-vko-test.c
Examining data/nettle-3.6/testsuite/gostdsa-sign-test.c
Examining data/nettle-3.6/testsuite/cast128-test.c
Examining data/nettle-3.6/testsuite/twofish-test.c
Examining data/nettle-3.6/testsuite/sha1-test.c
Examining data/nettle-3.6/testsuite/rsa-encrypt-test.c
Examining data/nettle-3.6/testsuite/sha3-512-test.c
Examining data/nettle-3.6/testsuite/serpent-test.c
Examining data/nettle-3.6/testsuite/memxor-test.c
Examining data/nettle-3.6/testsuite/cbc-test.c
Examining data/nettle-3.6/testsuite/poly1305-test.c
Examining data/nettle-3.6/testsuite/rsa-test.c
Examining data/nettle-3.6/testsuite/sexp2rsa-test.c
Examining data/nettle-3.6/testsuite/rsa-pss-sign-tr-test.c
Examining data/nettle-3.6/testsuite/ecc-redc-test.c
Examining data/nettle-3.6/testsuite/camellia-test.c
Examining data/nettle-3.6/testsuite/sha3-permute-test.c
Examining data/nettle-3.6/testsuite/ecdsa-sign-test.c
Examining data/nettle-3.6/testsuite/bignum-test.c
Examining data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c
Examining data/nettle-3.6/testsuite/base64-test.c
Examining data/nettle-3.6/testsuite/base16-test.c
Examining data/nettle-3.6/testsuite/chacha-poly1305-test.c
Examining data/nettle-3.6/testsuite/arcfour-test.c
Examining data/nettle-3.6/testsuite/salsa20-test.c
Examining data/nettle-3.6/testsuite/ecc-modinv-test.c
Examining data/nettle-3.6/testsuite/ecc-sqrt-test.c
Examining data/nettle-3.6/testsuite/ccm-test.c
Examining data/nettle-3.6/testsuite/hmac-test.c
Examining data/nettle-3.6/testsuite/hkdf-test.c
Examining data/nettle-3.6/testsuite/buffer-test.c
Examining data/nettle-3.6/testsuite/sha512-256-test.c
Examining data/nettle-3.6/testsuite/md2-test.c
Examining data/nettle-3.6/testsuite/blowfish-test.c
Examining data/nettle-3.6/testsuite/rsa-keygen-test.c
Examining data/nettle-3.6/testsuite/gostdsa-verify-test.c
Examining data/nettle-3.6/testsuite/xts-test.c
Examining data/nettle-3.6/testsuite/md4-test.c
Examining data/nettle-3.6/testsuite/x86-ibt-test.c
Examining data/nettle-3.6/testsuite/pbkdf2-test.c
Examining data/nettle-3.6/testsuite/ed25519-test.c
Examining data/nettle-3.6/testsuite/cnd-memcpy-test.c
Examining data/nettle-3.6/testsuite/dsa-test.c
Examining data/nettle-3.6/testsuite/eddsa-compress-test.c
Examining data/nettle-3.6/testsuite/curve448-dh-test.c
Examining data/nettle-3.6/testsuite/knuth-lfib-test.c
Examining data/nettle-3.6/testsuite/sha3-224-test.c
Examining data/nettle-3.6/testsuite/cfb-test.c
Examining data/nettle-3.6/testsuite/shake256-test.c
Examining data/nettle-3.6/testsuite/gostdsa-keygen-test.c
Examining data/nettle-3.6/testsuite/testutils.h
Examining data/nettle-3.6/testsuite/sha384-test.c
Examining data/nettle-3.6/testsuite/cxx-test.cxx
Examining data/nettle-3.6/testsuite/memeql-test.c
Examining data/nettle-3.6/testsuite/meta-armor-test.c
Examining data/nettle-3.6/testsuite/ecc-mul-a-test.c
Examining data/nettle-3.6/testsuite/yarrow-test.c
Examining data/nettle-3.6/testsuite/md5-test.c
Examining data/nettle-3.6/testsuite/md5-compat-test.c
Examining data/nettle-3.6/testsuite/pss-mgf1-test.c
Examining data/nettle-3.6/testsuite/pkcs1-test.c
Examining data/nettle-3.6/testsuite/meta-cipher-test.c
Examining data/nettle-3.6/testsuite/sha256-test.c
Examining data/nettle-3.6/testsuite/chacha-test.c
Examining data/nettle-3.6/testsuite/version-test.c
Examining data/nettle-3.6/testsuite/sexp-format-test.c
Examining data/nettle-3.6/testsuite/sha3-384-test.c
Examining data/nettle-3.6/testsuite/meta-mac-test.c
Examining data/nettle-3.6/testsuite/sexp-test.c
Examining data/nettle-3.6/testsuite/cmac-test.c
Examining data/nettle-3.6/testsuite/arctwo-test.c
Examining data/nettle-3.6/testsuite/sha224-test.c
Examining data/nettle-3.6/testsuite/meta-hash-test.c
Examining data/nettle-3.6/testsuite/ecc-add-test.c
Examining data/nettle-3.6/testsuite/sha3-256-test.c
Examining data/nettle-3.6/testsuite/dlopen-test.c
Examining data/nettle-3.6/testsuite/eax-test.c
Examining data/nettle-3.6/testsuite/rsa-sec-decrypt-test.c
Examining data/nettle-3.6/testsuite/rsa-sign-tr-test.c
Examining data/nettle-3.6/testsuite/rsa-compute-root-test.c
Examining data/nettle-3.6/testsuite/aes-test.c
Examining data/nettle-3.6/testsuite/gcm-test.c
Examining data/nettle-3.6/testsuite/des3-test.c
Examining data/nettle-3.6/testsuite/ctr-test.c
Examining data/nettle-3.6/testsuite/random-prime-test.c
Examining data/nettle-3.6/testsuite/sha512-224-test.c
Examining data/nettle-3.6/testsuite/sha512-test.c
Examining data/nettle-3.6/testsuite/testutils.c
Examining data/nettle-3.6/bignum.h
Examining data/nettle-3.6/hkdf.c
Examining data/nettle-3.6/md4-meta.c
Examining data/nettle-3.6/aes256-set-decrypt-key.c
Examining data/nettle-3.6/sexp2rsa.c
Examining data/nettle-3.6/yarrow256.c
Examining data/nettle-3.6/aesdata.c
Examining data/nettle-3.6/pkcs1-rsa-digest.c
Examining data/nettle-3.6/fat-x86_64.c
Examining data/nettle-3.6/sha3.c
Examining data/nettle-3.6/curve448-eh-to-x.c
Examining data/nettle-3.6/bignum-random.c
Examining data/nettle-3.6/rsa-pkcs1-sign.c
Examining data/nettle-3.6/aes192-meta.c
Examining data/nettle-3.6/eddsa-expand.c
Examining data/nettle-3.6/chacha-core-internal.c
Examining data/nettle-3.6/salsa20-128-set-key.c
Examining data/nettle-3.6/base16-meta.c
Examining data/nettle-3.6/gosthash94.h
Examining data/nettle-3.6/camellia-internal.h
Examining data/nettle-3.6/cmac64.c
Examining data/nettle-3.6/aes-decrypt.c
Examining data/nettle-3.6/getopt_int.h
Examining data/nettle-3.6/ecc-mul-a-eh.c
Examining data/nettle-3.6/salsa20-set-key.c
Examining data/nettle-3.6/base64url-decode.c
Examining data/nettle-3.6/hmac-sha384.c
Examining data/nettle-3.6/pkcs1-sec-decrypt.c
Examining data/nettle-3.6/umac-nh-n.c
Examining data/nettle-3.6/sec-add-1.c
Examining data/nettle-3.6/poly1305-aes.c
Examining data/nettle-3.6/base64.h
Examining data/nettle-3.6/curve25519.h
Examining data/nettle-3.6/arctwo-meta.c
Examining data/nettle-3.6/camellia128-set-decrypt-key.c
Examining data/nettle-3.6/aes128-set-decrypt-key.c
Examining data/nettle-3.6/bignum-random-prime.c
Examining data/nettle-3.6/hmac-ripemd160-meta.c
Examining data/nettle-3.6/nettle-types.h
Examining data/nettle-3.6/pbkdf2.c
Examining data/nettle-3.6/write-be32.c
Examining data/nettle-3.6/memeql-sec.c
Examining data/nettle-3.6/sec-tabselect.c
Examining data/nettle-3.6/nettle-internal.c
Examining data/nettle-3.6/serpent-encrypt.c
Examining data/nettle-3.6/hmac-sha224.c
Examining data/nettle-3.6/nettle-meta-hashes.c
Examining data/nettle-3.6/ecc-dup-eh.c
Examining data/nettle-3.6/nettle-meta-macs.c
Examining data/nettle-3.6/aes-set-key-internal.c
Examining data/nettle-3.6/hmac-sha1-meta.c
Examining data/nettle-3.6/dsa2sexp.c
Examining data/nettle-3.6/sha3-384.c
Examining data/nettle-3.6/rsa-md5-verify.c
Examining data/nettle-3.6/gcmdata.c
Examining data/nettle-3.6/ecc-secp192r1.c
Examining data/nettle-3.6/gcm-camellia256.c
Examining data/nettle-3.6/md5.h
Examining data/nettle-3.6/umac-poly64.c
Examining data/nettle-3.6/serpent-meta.c
Examining data/nettle-3.6/pkcs1.c
Examining data/nettle-3.6/ed448-shake256.c
Examining data/nettle-3.6/memxor-internal.h
Examining data/nettle-3.6/eddsa-pubkey.c
Examining data/nettle-3.6/rsa-sha512-sign.c
Examining data/nettle-3.6/umac32.c
Examining data/nettle-3.6/getopt.h
Examining data/nettle-3.6/ctr16.c
Examining data/nettle-3.6/chacha-set-key.c
Examining data/nettle-3.6/gcm-aes192-meta.c
Examining data/nettle-3.6/rsa-pss-sha256-sign-tr.c
Examining data/nettle-3.6/aes-encrypt-internal.c
Examining data/nettle-3.6/camellia.h
Examining data/nettle-3.6/eddsa-internal.h
Examining data/nettle-3.6/eax-aes128.c
Examining data/nettle-3.6/umac-set-key.c
Examining data/nettle-3.6/chacha-internal.h
Examining data/nettle-3.6/dsa-compat.c
Examining data/nettle-3.6/salsa20-core-internal.c
Examining data/nettle-3.6/hmac-sha256.c
Examining data/nettle-3.6/hmac-sha1.c
Examining data/nettle-3.6/ccm-aes192.c
Examining data/nettle-3.6/sexp-transport-format.c
Examining data/nettle-3.6/umac64.c
Examining data/nettle-3.6/write-le64.c
Examining data/nettle-3.6/cnd-memcpy.c
Examining data/nettle-3.6/eddsa-hash.c
Examining data/nettle-3.6/curve448.h
Examining data/nettle-3.6/base64-meta.c
Examining data/nettle-3.6/umac-poly128.c
Examining data/nettle-3.6/aes-encrypt.c
Examining data/nettle-3.6/md5-compat.c
Examining data/nettle-3.6/serpent-decrypt.c
Examining data/nettle-3.6/serpent.h
Examining data/nettle-3.6/mini-gmp.h
Examining data/nettle-3.6/rsa-sha256-sign-tr.c
Examining data/nettle-3.6/ecc-add-jjj.c
Examining data/nettle-3.6/cmac-aes128-meta.c
Examining data/nettle-3.6/gost28147-internal.h
Examining data/nettle-3.6/rsa-encrypt.c
Examining data/nettle-3.6/twofishdata.c
Examining data/nettle-3.6/fat-arm.c
Examining data/nettle-3.6/hogweed-internal.h
Examining data/nettle-3.6/ecc-dup-th.c
Examining data/nettle-3.6/twofish.c
Examining data/nettle-3.6/dsa-internal.h
Examining data/nettle-3.6/xts-aes128.c
Examining data/nettle-3.6/hmac-sha512-meta.c
Examining data/nettle-3.6/pkcs1-rsa-md5.c
Examining data/nettle-3.6/poly1305-internal.c
Examining data/nettle-3.6/aes256-meta.c
Examining data/nettle-3.6/knuth-lfib.h
Examining data/nettle-3.6/ecc-point-mul-g.c
Examining data/nettle-3.6/md4.h
Examining data/nettle-3.6/ed25519-sha512.c
Examining data/nettle-3.6/pkcs1-decrypt.c
Examining data/nettle-3.6/ripemd160-internal.h
Examining data/nettle-3.6/mini-gmp.c
Examining data/nettle-3.6/sha2.h
Examining data/nettle-3.6/umac128.c
Examining data/nettle-3.6/gcm.h
Examining data/nettle-3.6/curve25519-eh-to-x.c
Examining data/nettle-3.6/gcm-camellia128.c
Examining data/nettle-3.6/curve25519-mul-g.c
Examining data/nettle-3.6/sha3.h
Examining data/nettle-3.6/aes256-set-encrypt-key.c
Examining data/nettle-3.6/ecc-curve.h
Examining data/nettle-3.6/rsa.c
Examining data/nettle-3.6/eccdata.c
Examining data/nettle-3.6/ecc-pm1-redc.c
Examining data/nettle-3.6/umac-internal.h
Examining data/nettle-3.6/gcm-aes256-meta.c
Examining data/nettle-3.6/rsa-sha512-verify.c
Examining data/nettle-3.6/gosthash94.c
Examining data/nettle-3.6/cfb.c
Examining data/nettle-3.6/rsa2sexp.c
Examining data/nettle-3.6/base64-decode.c
Examining data/nettle-3.6/gost28147.c
Examining data/nettle-3.6/sha1.c
Examining data/nettle-3.6/yarrow.h
Examining data/nettle-3.6/sha1.h
Examining data/nettle-3.6/md2-meta.c
Examining data/nettle-3.6/aes-internal.h
Examining data/nettle-3.6/ecc-pp1-redc.c
Examining data/nettle-3.6/rsa-decrypt.c
Examining data/nettle-3.6/cmac-aes256.c
Examining data/nettle-3.6/camellia-table.c
Examining data/nettle-3.6/ecc-gost-gc512a.c
Examining data/nettle-3.6/ctr-internal.h
Examining data/nettle-3.6/sha3-internal.h
Examining data/nettle-3.6/ecc-gost-gc256b.c
Examining data/nettle-3.6/poly1305-internal.h
Examining data/nettle-3.6/rsa-sign-tr.c
Examining data/nettle-3.6/camellia128-set-encrypt-key.c
Examining data/nettle-3.6/eax.h
Examining data/nettle-3.6/memxor.h
Examining data/nettle-3.6/curve448-mul-g.c
Examining data/nettle-3.6/ripemd160-compress.c
Examining data/nettle-3.6/ecc-a-to-j.c
Examining data/nettle-3.6/dsa-sha1-sign.c
Examining data/nettle-3.6/camellia256-meta.c
Examining data/nettle-3.6/dsa-compat.h
Examining data/nettle-3.6/md2.h
Examining data/nettle-3.6/ecc-secp224r1.c
Examining data/nettle-3.6/cfb.h
Examining data/nettle-3.6/rsa-verify.c
Examining data/nettle-3.6/nettle-meta-ciphers.c
Examining data/nettle-3.6/sha3-256-meta.c
Examining data/nettle-3.6/dsa-sha1-verify.c
Examining data/nettle-3.6/sha2-internal.h
Examining data/nettle-3.6/sexp.h
Examining data/nettle-3.6/gcm-aes.c
Examining data/nettle-3.6/shadata.c
Examining data/nettle-3.6/md5.c
Examining data/nettle-3.6/cnd-copy.c
Examining data/nettle-3.6/ecc-mod-inv.c
Examining data/nettle-3.6/ecc-mod.c
Examining data/nettle-3.6/cbc.c
Examining data/nettle-3.6/camellia128-crypt.c
Examining data/nettle-3.6/base16.h
Examining data/nettle-3.6/hkdf.h
Examining data/nettle-3.6/ripemd160.c
Examining data/nettle-3.6/pkcs1.h
Examining data/nettle-3.6/md4.c
Examining data/nettle-3.6/pkcs1-rsa-sha512.c
Examining data/nettle-3.6/arcfour.h
Examining data/nettle-3.6/rsa-pss-sha512-verify.c
Examining data/nettle-3.6/hmac-sha256-meta.c
Examining data/nettle-3.6/sha3-384-meta.c
Examining data/nettle-3.6/sha3-permute.c
Examining data/nettle-3.6/base64url-encode.c
Examining data/nettle-3.6/gostdsa-sign.c
Examining data/nettle-3.6/ecc-random.c
Examining data/nettle-3.6/base16-encode.c
Examining data/nettle-3.6/sha.h
Examining data/nettle-3.6/ecc-mul-g-eh.c
Examining data/nettle-3.6/sha512-compress.c
Examining data/nettle-3.6/camellia-crypt-internal.c
Examining data/nettle-3.6/rsa-sha1-verify.c
Examining data/nettle-3.6/gcm-aes192.c
Examining data/nettle-3.6/ecdsa-keygen.c
Examining data/nettle-3.6/der-iterator.c
Examining data/nettle-3.6/knuth-lfib.c
Examining data/nettle-3.6/eax-aes128-meta.c
Examining data/nettle-3.6/pbkdf2-hmac-sha1.c
Examining data/nettle-3.6/fat-setup.h
Examining data/nettle-3.6/umac.h
Examining data/nettle-3.6/aes-set-encrypt-key.c
Examining data/nettle-3.6/ripemd160.h
Examining data/nettle-3.6/ecc.h
Examining data/nettle-3.6/gcm.c
Examining data/nettle-3.6/ed25519-sha512-sign.c
Examining data/nettle-3.6/pbkdf2-hmac-gosthash94.c
Examining data/nettle-3.6/cast128.h
Examining data/nettle-3.6/des.h
Examining data/nettle-3.6/sha224-meta.c
Examining data/nettle-3.6/pss.c
Examining data/nettle-3.6/der2dsa.c
Examining data/nettle-3.6/aes128-set-encrypt-key.c
Examining data/nettle-3.6/getopt.c
Examining data/nettle-3.6/sha3-224-meta.c
Examining data/nettle-3.6/ecc-internal.h
Examining data/nettle-3.6/ecc-mul-m.c
Examining data/nettle-3.6/camellia128-meta.c
Examining data/nettle-3.6/arctwo.h
Examining data/nettle-3.6/buffer.c
Examining data/nettle-3.6/dsa-sha256-verify.c

FINAL RESULTS:

data/nettle-3.6/aesdata.c:164:2:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	printf(BYTE_FORMAT ",", table[i + j]);
data/nettle-3.6/aesdata.c:184:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
	    printf(WORD_FORMAT ",", table[k][i + j]);
data/nettle-3.6/examples/hogweed-benchmark.c:78:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/examples/io.c:72:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf(stderr, format, args);
data/nettle-3.6/examples/nettle-benchmark.c:122:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/examples/nettle-benchmark.c:199:23:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  nettle_cipher_func *crypt;
data/nettle-3.6/examples/nettle-benchmark.c:207:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  info->crypt(info->ctx, BENCH_BLOCK, info->data, info->data);
data/nettle-3.6/examples/nettle-benchmark.c:213:23:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  nettle_cipher_func *crypt;
data/nettle-3.6/examples/nettle-benchmark.c:226:32:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  cbc_encrypt(info->ctx, info->crypt,
data/nettle-3.6/examples/nettle-benchmark.c:235:32:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  cbc_decrypt(info->ctx, info->crypt,
data/nettle-3.6/examples/nettle-benchmark.c:244:30:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  ctr_crypt(info->ctx, info->crypt,
data/nettle-3.6/examples/nettle-benchmark.c:252:22:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  nettle_crypt_func *crypt;
data/nettle-3.6/examples/nettle-benchmark.c:261:9:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  info->crypt (info->ctx, BENCH_BLOCK, info->data, info->data);
data/nettle-3.6/examples/nettle-openssl.c:345:41:  [4] (crypto) EVP_des_ecb:
  DES only supports a 56-bit keysize, which is too small given today's
  computers (CWE-327). Use a different patent-free encryption algorithm with
  a larger keysize, such as 3DES or AES.
  openssl_evp_set_encrypt_key(ctx, key, EVP_des_ecb());
data/nettle-3.6/examples/nettle-openssl.c:351:41:  [4] (crypto) EVP_des_ecb:
  DES only supports a 56-bit keysize, which is too small given today's
  computers (CWE-327). Use a different patent-free encryption algorithm with
  a larger keysize, such as 3DES or AES.
  openssl_evp_set_decrypt_key(ctx, key, EVP_des_ecb());
data/nettle-3.6/examples/rsa-keygen.c:141:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(pub_name, "%s.pub", priv_name);
data/nettle-3.6/examples/timing.c:54:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/testsuite/salsa20-test.c:125:29:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
_test_salsa20(salsa20_func *crypt,
data/nettle-3.6/testsuite/salsa20-test.c:145:3:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  crypt(&ctx, length, data, cleartext->data);
data/nettle-3.6/testsuite/salsa20-test.c:167:3:  [4] (crypto) crypt:
  The crypt functions use a poor one-way hashing algorithm; since they only
  accept passwords of 8 characters or fewer and only a two-byte salt, they
  are excessively vulnerable to dictionary attacks given today's faster
  computing equipment (CWE-327). Use a different algorithm, such as SHA-256,
  with a larger, non-repeating salt.
  crypt(&ctx, length, data, data);
data/nettle-3.6/testsuite/testutils.c:21:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/testsuite/yarrow-test.c:50:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(buf, "%s/%s", srcdir, name);
data/nettle-3.6/tools/misc.c:47:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/tools/misc.c:58:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, format, args);
data/nettle-3.6/bignum-random-prime.c:332:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				    void *ctx, nettle_random_func *random, 
data/nettle-3.6/bignum-random-prime.c:389:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      nettle_mpz_random (r, ctx, random, r_range);
data/nettle-3.6/bignum-random-prime.c:405:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random(ctx, sizeof(buf), buf);
data/nettle-3.6/bignum-random-prime.c:466:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/bignum-random-prime.c:478:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random (random_ctx, sizeof(buf), &buf);
data/nettle-3.6/bignum-random-prime.c:497:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random (random_ctx, sizeof(buf), buf);
data/nettle-3.6/bignum-random-prime.c:520:58:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      nettle_random_prime (q, (bits+3)/2, 0, random_ctx, random,
data/nettle-3.6/bignum-random-prime.c:524:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
					  random_ctx, random,
data/nettle-3.6/bignum-random.c:45:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *ctx, nettle_random_func *random,
data/nettle-3.6/bignum-random.c:53:3:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  random(ctx, length, data);
data/nettle-3.6/bignum-random.c:65:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  void *ctx, nettle_random_func *random,
data/nettle-3.6/bignum-random.c:92:10:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			 ctx, random,
data/nettle-3.6/bignum.h:93:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *ctx, nettle_random_func *random,
data/nettle-3.6/bignum.h:100:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  void *ctx, nettle_random_func *random,
data/nettle-3.6/bignum.h:105:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat-keygen.c:54:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat-keygen.c:79:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			    random_ctx, random,
data/nettle-3.6/dsa-compat-keygen.c:84:61:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  dsa_generate_keypair (params, pub->y, key->x, random_ctx, random);
data/nettle-3.6/dsa-compat.h:126:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat.h:133:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat.h:150:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat.h:156:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-compat.h:175:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-gen-params.c:52:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-gen-params.c:65:58:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  nettle_random_prime (params->q, q_bits, 0, random_ctx, random,
data/nettle-3.6/dsa-gen-params.c:70:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
					random_ctx, random,
data/nettle-3.6/dsa-gen-params.c:81:19:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			   random_ctx, random,
data/nettle-3.6/dsa-gen-params.c:91:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
					  random_ctx, random,
data/nettle-3.6/dsa-keygen.c:52:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		      void *random_ctx, nettle_random_func *random)
data/nettle-3.6/dsa-keygen.c:58:38:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  nettle_mpz_random(key, random_ctx, random, r);
data/nettle-3.6/dsa-sha1-sign.c:43:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-sha1-sign.c:48:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  random_ctx, random,
data/nettle-3.6/dsa-sha1-sign.c:56:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-sha1-sign.c:64:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  random_ctx, random,
data/nettle-3.6/dsa-sha256-sign.c:43:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-sha256-sign.c:48:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  random_ctx, random,
data/nettle-3.6/dsa-sha256-sign.c:55:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-sha256-sign.c:63:17:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		  random_ctx, random,
data/nettle-3.6/dsa-sign.c:50:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa-sign.c:70:36:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  nettle_mpz_random(k, random_ctx, random, tmp);
data/nettle-3.6/dsa.h:107:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa.h:124:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/dsa.h:131:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		      void *random_ctx, nettle_random_func *random);
data/nettle-3.6/ecc-internal.h:262:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *ctx, nettle_random_func *random, mp_limb_t *scratch);
data/nettle-3.6/ecc-random.c:68:34:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *ctx, nettle_random_func *random, mp_limb_t *scratch)
data/nettle-3.6/ecc-random.c:79:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random (ctx, nbytes, buf);
data/nettle-3.6/ecc-random.c:89:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random)
data/nettle-3.6/ecc-random.c:94:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ecc_mod_random (&x->ecc->q, x->p, random_ctx, random, scratch);
data/nettle-3.6/ecc.h:108:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random);
data/nettle-3.6/ecdsa-keygen.c:48:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			void *random_ctx, nettle_random_func *random)
data/nettle-3.6/ecdsa-keygen.c:59:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ecc_mod_random (&ecc->q, key->p, random_ctx, random, p);
data/nettle-3.6/ecdsa-sign.c:47:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/ecdsa-sign.c:64:52:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      ecc_mod_random (&key->ecc->q, k, random_ctx, random, k + size);
data/nettle-3.6/ecdsa.h:59:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/ecdsa.h:72:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			void *random_ctx, nettle_random_func *random);
data/nettle-3.6/examples/nettle-benchmark.c:969:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "f:", options, NULL)) != -1)
data/nettle-3.6/examples/random-prime.c:85:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "vr:", options, NULL)) != -1)
data/nettle-3.6/examples/rsa-encrypt.c:194:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "o:r:", options, NULL)) != -1)
data/nettle-3.6/examples/rsa-keygen.c:104:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "o:r:e:s:", options, NULL)) != -1)
data/nettle-3.6/fat-arm.c:186:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  verbose = getenv (ENV_VERBOSE) != NULL;
data/nettle-3.6/fat-setup.h:124:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv (ENV_VERBOSE))					  \
data/nettle-3.6/fat-setup.h:143:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
    if (getenv (ENV_VERBOSE))					\
data/nettle-3.6/fat-x86_64.c:145:13:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  verbose = getenv (ENV_VERBOSE) != NULL;
data/nettle-3.6/getopt.c:145:9:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
#ifndef getenv
data/nettle-3.6/getopt.c:146:14:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
extern char *getenv ();
data/nettle-3.6/getopt.c:283:46:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  d->__posixly_correct = posixly_correct | !!getenv ("POSIXLY_CORRECT");
data/nettle-3.6/getopt.c:1188:1:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt (int argc, char *const *argv, const char *optstring)
data/nettle-3.6/getopt.c:1224:11:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt (argc, argv, "abc:d:0123456789");
data/nettle-3.6/getopt.h:150:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
data/nettle-3.6/getopt.h:159:30:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  extern int __REDIRECT_NTH (getopt, (int ___argc, char *const *___argv,
data/nettle-3.6/getopt.h:165:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
#   define getopt __posix_getopt
data/nettle-3.6/getopt.h:169:12:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt ();
data/nettle-3.6/getopt.h:173:12:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
extern int getopt_long (int ___argc, char *const *___argv,
data/nettle-3.6/getopt1.c:62:1:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
getopt_long (int argc, char *const *argv, const char *options,
data/nettle-3.6/getopt1.c:125:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long (argc, argv, "abc:d:0123456789",
data/nettle-3.6/gostdsa-sign.c:46:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/gostdsa-sign.c:65:56:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
          ecc_mod_random (&key->ecc->q, k, random_ctx, random, k + size);
data/nettle-3.6/gostdsa.h:62:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/hogweed-internal.h:40:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				    void *ctx, nettle_random_func *random,
data/nettle-3.6/pkcs1-encrypt.c:50:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/pkcs1-encrypt.c:77:3:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  random(random_ctx, padding, em + 1);
data/nettle-3.6/pkcs1.h:65:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-blind.c:47:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-blind.c:59:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      nettle_mpz_random(r, random_ctx, random, pub->n);
data/nettle-3.6/rsa-decrypt-tr.c:46:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-decrypt-tr.c:60:57:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  res = _rsa_sec_compute_root_tr (pub, key, random_ctx, random, m,
data/nettle-3.6/rsa-encrypt.c:46:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-encrypt.c:50:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  if (pkcs1_encrypt (key->size, random_ctx, random,
data/nettle-3.6/rsa-internal.h:66:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-internal.h:85:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-keygen.c:57:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-keygen.c:102:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      random_ctx, random,
data/nettle-3.6/rsa-keygen.c:126:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      random_ctx, random,
data/nettle-3.6/rsa-keygen.c:168:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-md5-sign-tr.c:49:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-md5-sign-tr.c:58:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-md5-sign-tr.c:67:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-md5-sign-tr.c:77:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-pkcs1-sign-tr.c:46:50:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	          void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-pkcs1-sign-tr.c:56:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	 && rsa_compute_root_tr (pub, key, random_ctx, random,
data/nettle-3.6/rsa-pss-sha256-sign-tr.c:47:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-pss-sha256-sign-tr.c:60:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-pss-sha512-sign-tr.c:47:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-pss-sha512-sign-tr.c:60:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-pss-sha512-sign-tr.c:70:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-pss-sha512-sign-tr.c:83:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sec-decrypt.c:50:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	        void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sec-decrypt.c:61:57:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  res = _rsa_sec_compute_root_tr (pub, key, random_ctx, random, m,
data/nettle-3.6/rsa-sha1-sign-tr.c:49:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha1-sign-tr.c:59:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sha1-sign-tr.c:68:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha1-sign-tr.c:79:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sha256-sign-tr.c:49:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha256-sign-tr.c:59:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sha256-sign-tr.c:68:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			  void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha256-sign-tr.c:79:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sha512-sign-tr.c:49:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha512-sign-tr.c:59:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sha512-sign-tr.c:68:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			  void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sha512-sign-tr.c:79:18:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				 random_ctx, random,
data/nettle-3.6/rsa-sign-tr.c:53:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	   void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:65:40:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      nettle_mpz_random(r, random_ctx, random, pub->n);
data/nettle-3.6/rsa-sign-tr.c:93:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:112:31:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  rsa_blind (pub, random_ctx, random, mb, ri, m);
data/nettle-3.6/rsa-sign-tr.c:133:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:146:51:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  res = rsa_compute_root_tr(pub, key, random_ctx, random, xz, mz);
data/nettle-3.6/rsa-sign-tr.c:160:54:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
               void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:193:7:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
      random(random_ctx, nn * sizeof(mp_limb_t), (uint8_t *)r);
data/nettle-3.6/rsa-sign-tr.c:301:43:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:330:35:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  rsa_sec_blind (pub, random_ctx, random, x, ri, m, mn);
data/nettle-3.6/rsa-sign-tr.c:356:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa-sign-tr.c:365:57:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  res = _rsa_sec_compute_root_tr (pub, key, random_ctx, random, l,
data/nettle-3.6/rsa.h:203:50:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	          void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:219:41:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:236:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		 void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:253:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:270:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		   void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:288:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		       void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:304:42:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:321:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			  void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:338:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			  void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:351:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:365:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:379:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
			      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:400:44:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:418:47:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	       void *random_ctx, nettle_random_func *random,	       
data/nettle-3.6/rsa.h:427:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	        void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:441:45:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		    void *random_ctx, nettle_random_func *random,
data/nettle-3.6/rsa.h:451:46:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
		     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/testsuite/cbc-test.c:13:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  struct knuth_lfib_ctx random;
data/nettle-3.6/testsuite/cbc-test.c:27:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_init(&random, CBC_BULK_DATA);
data/nettle-3.6/testsuite/cbc-test.c:28:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_random(&random, CBC_BULK_DATA, clear);
data/nettle-3.6/testsuite/cfb-test.c:14:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  struct knuth_lfib_ctx random;
data/nettle-3.6/testsuite/cfb-test.c:28:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_init(&random, CFB_BULK_DATA);
data/nettle-3.6/testsuite/cfb-test.c:29:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_random(&random, CFB_BULK_DATA, clear);
data/nettle-3.6/testsuite/cfb-test.c:71:25:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  struct knuth_lfib_ctx random;
data/nettle-3.6/testsuite/cfb-test.c:85:20:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_init(&random, CFB8_BULK_DATA);
data/nettle-3.6/testsuite/cfb-test.c:86:22:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  knuth_lfib_random(&random, CFB8_BULK_DATA, clear);
data/nettle-3.6/testsuite/ecc-mod-test.c:197:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  nettle_test_seed = getenv ("NETTLE_TEST_SEED");
data/nettle-3.6/testsuite/ed25519-test.c:161:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *input = getenv ("ED25519_SIGN_INPUT");
data/nettle-3.6/testsuite/ed448-test.c:162:23:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *input = getenv ("ED448_SIGN_INPUT");
data/nettle-3.6/testsuite/rsa-compute-root-test.c:192:22:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  nettle_test_seed = getenv ("NETTLE_TEST_SEED");
data/nettle-3.6/testsuite/rsa-pss-sign-tr-test.c:11:49:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
				      void *random_ctx, nettle_random_func *random,
data/nettle-3.6/testsuite/rsa-sec-decrypt-test.c:18:60:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
                     void *random_ctx, nettle_random_func *random,
data/nettle-3.6/testsuite/rsa-sec-decrypt-test.c:40:48:  [3] (random) random:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  ret = rsa_sec_decrypt (pub, key, random_ctx, random, length, message, gibberish);
data/nettle-3.6/testsuite/yarrow-test.c:45:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  const char *srcdir = getenv("srcdir");
data/nettle-3.6/tools/nettle-hash.c:163:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "Va:l:", options, NULL)) != -1)
data/nettle-3.6/tools/nettle-pbkdf2.c:97:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "Vl:i:", options, NULL)) != -1)
data/nettle-3.6/tools/pkcs1-conv.c:622:16:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  while ( (c = getopt_long(argc, argv, "Vb", options, NULL)) != -1)
data/nettle-3.6/tools/sexp-conv.c:265:11:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c = getopt_long(argc, argv, "Vs:w:", options, &option_index);
data/nettle-3.6/aesdata.c:17:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char sbox[0x100];
data/nettle-3.6/aesdata.c:18:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char isbox[0x100];
data/nettle-3.6/aesdata.c:20:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char gf2_log[0x100];
data/nettle-3.6/aesdata.c:21:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char gf2_exp[0x100];
data/nettle-3.6/base16-decode.c:51:21:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const signed char
data/nettle-3.6/base64-decode.c:48:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const signed char base64_decode_table[0x100] =
data/nettle-3.6/base64-encode.c:86:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char base64_encode_table[64] =
data/nettle-3.6/base64url-decode.c:41:23:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const signed char base64url_decode_table[0x100] =
data/nettle-3.6/base64url-encode.c:41:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char base64url_encode_table[64] =
data/nettle-3.6/buffer.c:130:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, data, length);
data/nettle-3.6/cast128.h:61:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char Kr[16];
data/nettle-3.6/cbc.c:59:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, dst, block_size);
data/nettle-3.6/cbc.c:85:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, src + length - block_size, block_size);
data/nettle-3.6/cbc.c:115:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(initial_iv, iv, block_size);
data/nettle-3.6/cbc.c:116:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(iv, dst + buffer_size - block_size, block_size);
data/nettle-3.6/cbc.c:123:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(initial_iv, iv, block_size);
data/nettle-3.6/cbc.c:125:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, dst + length - block_size, block_size);
data/nettle-3.6/cbc.h:63:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy((ctx)->iv, (data), sizeof((ctx)->iv))
data/nettle-3.6/ccm.c:109:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(&iv[CCM_OFFSET_NONCE], nonce, noncelen);
data/nettle-3.6/cfb.c:77:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(iv, p, block_size);
data/nettle-3.6/cfb.c:107:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(iv, src + length - block_size, block_size);
data/nettle-3.6/cfb.c:151:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(iv, dst + part - block_size, block_size);
data/nettle-3.6/cfb.c:180:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, iv, block_size);
data/nettle-3.6/cfb.c:188:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(buffer, buffer + block_size, block_size);
data/nettle-3.6/cfb.c:198:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, buffer + pos, block_size);
data/nettle-3.6/cfb.c:213:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer, iv, block_size);
data/nettle-3.6/cfb.c:214:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer + block_size, src,
data/nettle-3.6/cfb.c:231:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(buffer, buffer + block_size, block_size);
data/nettle-3.6/cfb.c:232:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy(buffer + block_size, src,
data/nettle-3.6/cfb.c:237:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, buffer + i, block_size);
data/nettle-3.6/cfb.h:80:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy((ctx)->iv, (data), sizeof((ctx)->iv))
data/nettle-3.6/chacha-poly1305.c:86:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->s.b, u.subkey + 16, 16);
data/nettle-3.6/chacha-poly1305.c:167:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, &ctx->s.b, length);
data/nettle-3.6/chacha-set-key.c:60:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->state, sigma, sizeof(sigma));
data/nettle-3.6/cmac.c:85:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&ctx->block.b[ctx->index], msg, len);
data/nettle-3.6/cmac.c:114:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->block.b, msg, msg_len);
data/nettle-3.6/cmac.c:148:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, ctx->block.b, length);
data/nettle-3.6/cmac64.c:85:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(&ctx->block.b[ctx->index], msg, len);
data/nettle-3.6/cmac64.c:114:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->block.b, msg, msg_len);
data/nettle-3.6/cmac64.c:148:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, ctx->block.b, length);
data/nettle-3.6/ctr.c:57:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (buffer + i, ctr, block_size);
data/nettle-3.6/ctr.h:57:1:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
memcpy((ctx)->ctr, (data), sizeof((ctx)->ctr))
data/nettle-3.6/des.c:125:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char asso_values[0x81] =
data/nettle-3.6/des.c:208:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char bits0[56], bits1[56];
data/nettle-3.6/desdata.c:65:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char b[256], ksr[56];
data/nettle-3.6/desinfo.h:46:10:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
unsigned char SB[8][64] = {
data/nettle-3.6/eax.c:103:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (eax->ctr.b, eax->omac_nonce.b, EAX_BLOCK_SIZE);
data/nettle-3.6/eccdata.c:1388:35:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ecc_pippenger_precompute (&ecc, atoi(argv[2]), atoi(argv[3]));
data/nettle-3.6/eccdata.c:1388:50:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
  ecc_pippenger_precompute (&ecc, atoi(argv[2]), atoi(argv[3]));
data/nettle-3.6/eccdata.c:1396:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    output_curve (&ecc, atoi(argv[4]));
data/nettle-3.6/examples/base16enc.c:73:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char result[ENCODED_SIZE + 1];
data/nettle-3.6/examples/base64enc.c:75:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char result[ENCODED_SIZE + BASE64_ENCODE_FINAL_LENGTH + 1];
data/nettle-3.6/examples/io.c:84:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen(name, "rb");
data/nettle-3.6/examples/io.c:156:13:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE *f = fopen(name, "wb");
data/nettle-3.6/fat-arm.c:91:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char line[200];
data/nettle-3.6/fat-arm.c:95:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen ("/proc/cpuinfo", "r");
data/nettle-3.6/fat-x86_64.c:152:13:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      const char * const vendor_names[3] =
data/nettle-3.6/gcm.c:69:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(V.b, x, sizeof(V));
data/nettle-3.6/gcm.c:84:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (x->b, Z.b, sizeof(Z));
data/nettle-3.6/gcm.c:140:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (x->b, Z.b, sizeof(Z));
data/nettle-3.6/gcm.c:209:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(Z.b, table[x->b[GCM_BLOCK_SIZE-1]].b, GCM_BLOCK_SIZE);
data/nettle-3.6/gcm.c:303:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (ctx->iv.b, iv, GCM_BLOCK_SIZE - 4);
data/nettle-3.6/gcm.c:316:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->ctr.b, ctx->iv.b, GCM_BLOCK_SIZE);
data/nettle-3.6/gcm.c:346:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buffer->b, ctr, GCM_BLOCK_SIZE - 4);
data/nettle-3.6/hmac.c:90:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(state, inner, hash->context_size);
data/nettle-3.6/hmac.c:111:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(state, outer, hash->context_size);
data/nettle-3.6/hmac.c:116:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(state, inner, hash->context_size);
data/nettle-3.6/macros.h:189:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((ctx)->block + (ctx)->index, (data), (length));	\
data/nettle-3.6/macros.h:195:6:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	    memcpy((ctx)->block + (ctx)->index, (data), __md_left);	\
data/nettle-3.6/macros.h:212:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy ((ctx)->block, (data), (length));				\
data/nettle-3.6/md2.c:90:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->X + 16, data, MD2_BLOCK_SIZE);
data/nettle-3.6/md2.c:137:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(digest, ctx->X, length);
data/nettle-3.6/pbkdf2.c:94:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (dst, T, length);
data/nettle-3.6/pbkdf2.c:97:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dst, T, digest_size);
data/nettle-3.6/pkcs1-encrypt.c:85:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(em + padding + 2, message, length);
data/nettle-3.6/pkcs1-rsa-md5.c:113:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, digest, MD5_DIGEST_SIZE);
data/nettle-3.6/pkcs1-rsa-sha1.c:113:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, digest, SHA1_DIGEST_SIZE);
data/nettle-3.6/pkcs1-rsa-sha256.c:111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, digest, SHA256_DIGEST_SIZE);
data/nettle-3.6/pkcs1-rsa-sha512.c:111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(p, digest, SHA512_DIGEST_SIZE);
data/nettle-3.6/pkcs1.c:65:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (buffer + j, id, id_size);
data/nettle-3.6/poly1305-aes.c:56:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->nonce, nonce, POLY1305_AES_NONCE_SIZE);
data/nettle-3.6/poly1305-aes.c:87:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, s.b, length);
data/nettle-3.6/pss-mgf1.c:63:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(state, seed, hash->context_size);
data/nettle-3.6/sexp2dsa.c:64:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char * const names[5]
data/nettle-3.6/sexp2dsa.c:134:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char * const names[2] = { "r", "s" };
data/nettle-3.6/sexp2rsa.c:62:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char * const names[8]
data/nettle-3.6/sexp2rsa.c:102:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char * const names[3]
data/nettle-3.6/sha256.c:87:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/sha256.c:147:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/sha3.c:75:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (block + pos, data, length);
data/nettle-3.6/sha3.c:80:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	  memcpy (block + pos, data, left);
data/nettle-3.6/sha3.c:89:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (block, data, length);
data/nettle-3.6/sha512.c:138:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/sha512.c:230:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/sha512.c:263:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/sha512.c:296:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctx->state, H0, sizeof(H0));
data/nettle-3.6/siv-cmac.c:93:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (pad.b, pdata, plength);
data/nettle-3.6/siv-cmac.c:132:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, siv.b, SIV_DIGEST_SIZE);
data/nettle-3.6/siv-cmac.c:152:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctr.b, src, SIV_DIGEST_SIZE);
data/nettle-3.6/testsuite/cnd-memcpy-test.c:40:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (res, dst, size);
data/nettle-3.6/testsuite/ecc-mod-test.c:154:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("/dev/urandom", "rb");
data/nettle-3.6/testsuite/ed25519-test.c:106:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (s2, s, ED25519_SIGNATURE_SIZE);
data/nettle-3.6/testsuite/ed25519-test.c:166:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *f = fopen (input, "r");
data/nettle-3.6/testsuite/ed448-test.c:107:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (s2, s, ED448_SIGNATURE_SIZE);
data/nettle-3.6/testsuite/ed448-test.c:167:17:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      FILE *f = fopen (input, "r");
data/nettle-3.6/testsuite/eddsa-verify-test.c:55:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (csignature, signature, 2*nbytes);
data/nettle-3.6/testsuite/eddsa-verify-test.c:71:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (csignature, signature, 2*nbytes);
data/nettle-3.6/testsuite/eddsa-verify-test.c:81:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (csignature, signature, 2*nbytes);
data/nettle-3.6/testsuite/eddsa-verify-test.c:112:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (cmsg, msg->data, msg->length);
data/nettle-3.6/testsuite/md5-compat-test.c:8:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  unsigned char digest[MD5_DIGEST_SIZE];
data/nettle-3.6/testsuite/memeql-test.c:42:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (a, orig, size);
data/nettle-3.6/testsuite/memeql-test.c:43:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (b, orig, size);
data/nettle-3.6/testsuite/memxor-test.c:62:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (dst, a, size);
data/nettle-3.6/testsuite/memxor-test.c:66:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (src, b, size);
data/nettle-3.6/testsuite/memxor-test.c:99:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (a, ain, size);
data/nettle-3.6/testsuite/memxor-test.c:100:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (b, bin, size);
data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c:43:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pad, buffer, 128);
data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c:50:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pad, buffer, 128);
data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c:57:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pad, buffer, 128);
data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c:64:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pad, buffer, 128);
data/nettle-3.6/testsuite/pkcs1-sec-decrypt-test.c:71:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(pad, buffer, 128);
data/nettle-3.6/testsuite/rsa-compute-root-test.c:151:7:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  f = fopen ("/dev/urandom", "rb");
data/nettle-3.6/testsuite/rsa-sec-decrypt-test.c:103:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(decrypted, verifybad, PAYLOAD_SIZE);
data/nettle-3.6/testsuite/sexp-test.c:73:18:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const char * const keys[2] = { "n", "e" };
data/nettle-3.6/testsuite/testutils.c:69:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (s->data, data, length);
data/nettle-3.6/testsuite/testutils.c:207:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:225:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:270:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:288:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:306:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:307:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, cleartext->data, length);
data/nettle-3.6/testsuite/testutils.c:325:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:347:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:365:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:383:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:384:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, cleartext->data, length);
data/nettle-3.6/testsuite/testutils.c:402:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:453:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:481:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:510:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:511:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, cleartext->data, length);
data/nettle-3.6/testsuite/testutils.c:529:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:551:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:569:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:587:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:588:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, cleartext->data, length);
data/nettle-3.6/testsuite/testutils.c:606:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(iv, iiv->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:655:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (octr, ictr->data, cipher->block_size - 1);
data/nettle-3.6/testsuite/testutils.c:668:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(ctr, ictr->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:692:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(ctr, ictr->data, cipher->block_size);
data/nettle-3.6/testsuite/testutils.c:904:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (input + offset, msg->data, msg->length);
data/nettle-3.6/testsuite/umac-test.c:115:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy (input + i, msg->data, msg->length);
data/nettle-3.6/testsuite/umac-test.c:116:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (input + i, msg->data, length - i);
data/nettle-3.6/testsuite/xts-test.c:55:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, cleartext->data, length);
data/nettle-3.6/testsuite/yarrow-test.c:52:11:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      f = fopen(buf, "r");
data/nettle-3.6/testsuite/yarrow-test.c:58:10:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return fopen(name, "r");
data/nettle-3.6/testsuite/yarrow-test.c:96:16:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const char unsigned zeroes[100];
data/nettle-3.6/tools/misc.c:75:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
const char
data/nettle-3.6/tools/misc.h:73:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
extern const char
data/nettle-3.6/tools/nettle-hash.c:107:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hex[BASE16_ENCODE_LENGTH(8) + 1];
data/nettle-3.6/tools/nettle-hash.c:183:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  arg = atoi (optarg);
data/nettle-3.6/tools/nettle-hash.c:223:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  FILE *f = fopen (argv[i], "rb");
data/nettle-3.6/tools/nettle-lfib-stream.c:66:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      seed = atoi(argv[1]);
data/nettle-3.6/tools/nettle-pbkdf2.c:74:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char password[MAX_PASSWORD];
data/nettle-3.6/tools/nettle-pbkdf2.c:114:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  arg = atoi (optarg);
data/nettle-3.6/tools/nettle-pbkdf2.c:124:10:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	  arg = atoi (optarg);
data/nettle-3.6/tools/nettle-pbkdf2.c:183:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char hex[BASE16_ENCODE_LENGTH(8) + 1];
data/nettle-3.6/tools/output.c:117:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char encoded[2];
data/nettle-3.6/tools/output.c:186:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char encoded[BASE64_ENCODE_FINAL_LENGTH];
data/nettle-3.6/tools/output.c:214:20:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      static const char escape_names[CONTROL_SIZE] =
data/nettle-3.6/tools/pkcs1-conv.c:128:14:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
static const char
data/nettle-3.6/tools/pkcs1-conv.c:667:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	  FILE *f = fopen(argv[i], mode);
data/nettle-3.6/twofish.c:296:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(key_copy, key, keysize);
data/nettle-3.6/twofishdata.c:29:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char t0[16] = {
data/nettle-3.6/twofishdata.c:33:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char t1[16] = {
data/nettle-3.6/twofishdata.c:37:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char t2[16] = {
data/nettle-3.6/twofishdata.c:41:27:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static const unsigned char t3[16] = {
data/nettle-3.6/twofishdata.c:68:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char t0[16] = {
data/nettle-3.6/twofishdata.c:72:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char t1[16] = {
data/nettle-3.6/twofishdata.c:76:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char t2[16] = {
data/nettle-3.6/twofishdata.c:80:25:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  static const unsigned char t3[16] = {
data/nettle-3.6/umac-l2.c:75:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy (prev, m, n * sizeof(*m));
data/nettle-3.6/umac-l2.c:98:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (prev, m, n * sizeof(*m));
data/nettle-3.6/umac-set-key.c:59:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy (dst, block, length);
data/nettle-3.6/umac128.c:65:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->nonce, nonce, nonce_length);
data/nettle-3.6/umac128.c:125:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, tag, length);
data/nettle-3.6/umac32.c:66:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->nonce, nonce, nonce_length);
data/nettle-3.6/umac32.c:134:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, &pad, length);
data/nettle-3.6/umac64.c:66:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->nonce, nonce, nonce_length);
data/nettle-3.6/umac64.c:139:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, tag, length);
data/nettle-3.6/umac96.c:65:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (ctx->nonce, nonce, nonce_length);
data/nettle-3.6/umac96.c:123:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy (digest, tag, length);
data/nettle-3.6/xts.c:115:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, S.b, length);                 /* S_1 -> C(n) */
data/nettle-3.6/xts.c:171:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, S.b, length);                 /* S_1 -> P(n) */
data/nettle-3.6/yarrow256.c:151:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(v0, digest, SHA256_DIGEST_SIZE);
data/nettle-3.6/yarrow256.c:342:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(dst, buffer, length);
data/nettle-3.6/examples/hogweed-benchmark.c:102:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  hash->update (ctx, strlen(s), (const uint8_t *) s);
data/nettle-3.6/examples/rsa-keygen.c:140:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  pub_name = xalloc(strlen(priv_name) + 5);  
data/nettle-3.6/fat-arm.c:75:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t length = sep ? (size_t) (sep - s) : strlen(s);
data/nettle-3.6/fat-x86_64.c:77:45:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t length = sep ? (size_t) (sep - s) : strlen(s);
data/nettle-3.6/getopt.c:314:49:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      int len = d->__nonoption_flags_max_len = strlen (orig_str);
data/nettle-3.6/getopt.c:549:36:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    if (namelen == (unsigned int) strlen (p->name))
data/nettle-3.6/getopt.c:634:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:707:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:747:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:752:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:945:56:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	      if ((unsigned int) (nameend - d->__nextchar) == strlen (p->name))
data/nettle-3.6/getopt.c:993:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:1037:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:1075:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		    d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/getopt.c:1081:23:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	    d->__nextchar += strlen (d->__nextchar);
data/nettle-3.6/mini-gmp.c:4331:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  dp = (unsigned char *) gmp_xalloc (strlen (sp));
data/nettle-3.6/mini-gmp.c:4406:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen (str);
data/nettle-3.6/pgp-encode.c:345:38:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return nettle_buffer_write(buffer, strlen((s)), (const uint8_t *) (s));
data/nettle-3.6/rsa2openpgp.c:88:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  if (!pgp_put_userid(buffer, strlen(userid), (const uint8_t *) userid))
data/nettle-3.6/sexp-format.c:96:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  return strlen((const char*) s);
data/nettle-3.6/sexp.c:303:7:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	  && strlen(type) == iterator->atom_length
data/nettle-3.6/sexp.c:319:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(types[i]) == iterator->atom_length
data/nettle-3.6/sexp.c:360:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		  if (strlen(keys[i]) == iterator->atom_length
data/nettle-3.6/testsuite/ed25519-test.c:135:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(f);
data/nettle-3.6/testsuite/ed448-test.c:136:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      c = getc(f);
data/nettle-3.6/testsuite/sexp-format-test.c:21:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:25:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:27:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:37:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:41:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:43:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:66:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:68:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:79:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:92:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:96:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:98:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:108:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:112:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:114:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:125:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:128:8:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	   == strlen(e));
data/nettle-3.6/testsuite/sexp-format-test.c:130:27:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    ASSERT(buffer.size == strlen(e));
data/nettle-3.6/testsuite/testutils.c:78:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t length = strlen(hex);
data/nettle-3.6/testsuite/testutils.c:1025:25:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  size_t ascii_length = strlen(ascii);
data/nettle-3.6/testsuite/testutils.c:1046:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  ASSERT (0x33 == buffer[strlen(ascii)]);
data/nettle-3.6/testsuite/testutils.h:281:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
#define LDUP(x) strlen(x), strdup(x)
data/nettle-3.6/testsuite/yarrow-test.c:24:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc(f);
data/nettle-3.6/testsuite/yarrow-test.c:49:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *buf = xalloc(strlen(name) + strlen(srcdir) + 10);
data/nettle-3.6/testsuite/yarrow-test.c:49:41:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char *buf = xalloc(strlen(name) + strlen(srcdir) + 10);
data/nettle-3.6/tools/input.c:53:11:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int c = getc(input->f);
data/nettle-3.6/tools/nettle-pbkdf2.c:150:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  salt_length = strlen(argv[0]);
data/nettle-3.6/tools/pkcs1-conv.c:83:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc(f)) != EOF)
data/nettle-3.6/tools/pkcs1-conv.c:106:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  while ((c = getc(f)) != EOF)

ANALYSIS SUMMARY:

Hits = 444
Lines analyzed = 95359 in approximately 3.34 seconds (28546 lines/second)
Physical Source Lines of Code (SLOC) = 61821
Hits@level = [0] 765 [1]  54 [2] 196 [3] 170 [4]  24 [5]   0
Hits@level+ = [0+] 1209 [1+] 444 [2+] 390 [3+] 194 [4+]  24 [5+]   0
Hits/KSLOC@level+ = [0+] 19.5565 [1+] 7.18203 [2+] 6.30854 [3+] 3.13809 [4+] 0.388218 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.