Skip to content

New license request: BSD-3-Clause Cryptogams #5253

Activity

  1. hesa commented on Sep 9, 2026

    @hesa
    Contributor

    Commenting here in this issue and will link to this issue in the PR #5288

    License text
    The copyright years differ between:

    Apart from that, the licenses are the same. I'd rather not add two licenses, e.g. LicenseRef-scancode-bsd-3-clause-cryptogams-2006 and LicenseRef-scancode-bsd-3-clause-cryptogams-2017, so we need to add rules to detect both year declarations.

    License applications

    The license is applied differently, which needs to be addressed in a PR.

    ia64/keccak1600-ia64.pl

    URL: https://github.com/dot-asm/cryptogams/blob/master/ia64/keccak1600-ia64.pl

    # ====================================================================
    # Written by Andy Polyakov, @dot-asm, initially for use in the OpenSSL
    # project. The module is dual licensed under OpenSSL and CRYPTOGAMS
    # licenses depending on where you obtain it. For further details see
    # https://github.com/dot-asm/cryptogams/.
    # ====================================================================
    

    src/crypto/fipsmodule/sha/asm/sha512-armv4.pl
    URL: https://github.com/google/boringssl/blob/688fc5cf5428868679d2ae1072cad81055752068/src/crypto/fipsmodule/sha/asm/sha512-armv4.pl#L10-L17

    # ====================================================================
    # Written by Andy Polyakov <appro@openssl.org> for the OpenSSL
    # project. The module is, however, dual licensed under OpenSSL and
    # CRYPTOGAMS licenses depending on where you obtain it. For further
    # details see http://www.openssl.org/~appro/cryptogams/.
    #
    # Permission to use under GPL terms is granted.
    # ====================================================================
    

    Thanks to @tsteenbe

    cryptogams/arm/sha512-armv8.pl

    URL: https://github.com/dot-asm/cryptogams/blob/master/arm/sha512-armv8.pl

    # SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause
    #
    # ====================================================================
    # Written by Andy Polyakov, @dot-asm, initially for the OpenSSL
    # project.
    # ====================================================================
    

    Note: The author refers to BSD-3-Clause, does the author mean the cryptogram license? Since BSD-3-Clause is clearly stated above my take is that we can assume that BSD-3-Clause is the license. So, no need to add a rule for this file (and similar).

  2. hesa commented on Sep 19, 2026

    @hesa
    Contributor

    This license has been added as bsd-3-clause-cryptogams / LicenseRef-scancode-bsd-3-clause-cryptogams. @AyanSinhaMahapatra please add it to the scancode db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

new-licenseA new scancode license can be added for this

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions