Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_3.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: ocb-open-source-2013
is_license_reference: yes
relevance: 100
ignorable_urls:
- https://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf

6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_4.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
License for Open-Source Software Implementations of OCB (Jan 9, 2013) License 1
Under this license, you are authorized to make, use, and distribute open-source software
implementations of OCB. This license terminates for you if you sue someone over their open-source
software implementation of OCB claiming that you have a patent covering their implementation.
This is a non-binding summary of a legal document (the link above). The parameters of the license
are specified in the license document and that document is controlling.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: ocb-open-source-2013
is_license_notice: yes
relevance: 100
4 changes: 4 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_5.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
License for Open-Source Software Implementations of OCB (Jan 9, 2013) License 1
Under this license, you are authorized to make, use, and distribute open-source software
implementations of OCB. This license terminates for you if you sue someone over their open-source
software implementation of OCB claiming that you have a patent covering their implementation.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: ocb-open-source-2013
is_license_notice: yes
relevance: 100
1 change: 1 addition & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_6.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
License for Open-Source Software Implementations of OCB
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_6.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: ocb-open-source-2013
is_license_reference: yes
relevance: 100
2 changes: 2 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_7.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
License 1 — License for Open-Source Software Implementations of OCB
(Jan 9, 2013)
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: ocb-open-source-2013
is_license_reference: yes
relevance: 100
8 changes: 8 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_8.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
License 1 — License for Open-Source Software Implementations of OCB
(Jan 9, 2013)

Under this license, you are authorized to make, use, and
distribute open-source software implementations of OCB. This
license terminates for you if you sue someone over their
open-source software implementation of OCB claiming that you have
a patent covering their implementation.
3 changes: 3 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expression: ocb-open-source-2013
is_license_notice: yes
relevance: 100
9 changes: 9 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_9.RULE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
https://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf
License for
Open-Source Software Implementations of OCB (Jan 9, 2013) License 1
Under this license, you are authorized to make, use, and distribute open-source software
implementations of OCB. This license terminates for you if you sue someone over their open-source
software implementation of OCB claiming that you have a patent covering their implementation.

This is a non-binding summary of a legal document (the link above). The parameters of the license
are specified in the license document and that document is controlling.
6 changes: 6 additions & 0 deletions src/licensedcode/data/rules/ocb-open-source-2013_9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
license_expression: ocb-open-source-2013
is_license_notice: yes
relevance: 100
ignorable_urls:
- https://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf

21 changes: 21 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/ocb.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* An implementation of <a href="https://tools.ietf.org/html/rfc7253">RFC 7253 on The OCB
* Authenticated-Encryption Algorithm</a>, licensed per:
* <p>
* <blockquote> <a href="https://www.cs.ucdavis.edu/~rogaway/ocb/license1.pdf">License for
* Open-Source Software Implementations of OCB</a> (Jan 9, 2013) &mdash; &ldquo;License 1&rdquo; <br>
* Under this license, you are authorized to make, use, and distribute open-source software
* implementations of OCB. This license terminates for you if you sue someone over their open-source
* software implementation of OCB claiming that you have a patent covering their implementation.
* <p>
* This is a non-binding summary of a legal document (the link above). The parameters of the license
* are specified in the license document and that document is controlling. </blockquote>
*/
public class OCBBlockCipher
implements AEADBlockCipher
{
private static final int BLOCK_SIZE = 16;

private BlockCipher hashCipher;
private BlockCipher mainCipher;

3 changes: 3 additions & 0 deletions tests/licensedcode/data/datadriven/lic4/ocb.java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
license_expressions:
- ocb-open-source-2013

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license_expression: gpl-1.0-plus AND public-domain AND fsf-unlimited-no-warranty
lgpl-2.1-plus AND lgpl-2.1-plus AND lgpl-2.0-plus AND gpl-1.0-plus AND gpl-2.0-plus AND ((gpl-2.0
AND lgpl-2.1-plus) AND other-permissive) AND bsd-new AND bsd-new AND (bsd-new OR gpl-1.0-plus)
AND x11-xconsortium AND public-domain AND public-domain AND ocb-open-source-2013 AND ocb-open-source-2013
AND gpl-2.0-plus
AND ocb-open-source-2013 AND ocb-open-source-2013 AND gpl-2.0-plus
copyright: |
Copyright (c) 1989,1991-2019 Free Software Foundation, Inc.
Copyright (c) 1994 X Consortium
Expand Down Expand Up @@ -469,6 +469,42 @@ matches:
matched_text: |
OCB is covered by several patents but may be used freely by most
software.
- score: '100.0'
start_line: 459
end_line: 466
matcher: 2-aho
rule_length: 55
matched_length: 55
match_coverage: '100.0'
rule_relevance: 100
identifier: ocb-open-source-2013_8.RULE
license_expression: ocb-open-source-2013
is_license_text: no
is_license_notice: yes
is_license_reference: no
is_license_tag: no
is_license_intro: no
matched_text: "License 1 — License for Open-Source Software Implementations of OCB\n \
\ (Jan 9, 2013)\n \n Under this license, you are authorized to make,\
\ use, and\n distribute open-source software implementations of OCB. This\n license\
\ terminates for you if you sue someone over their\n open-source software implementation\
\ of OCB claiming that you have\n a patent covering their implementation."
- score: '100.0'
start_line: 470
end_line: 470
matcher: 2-aho
rule_length: 8
matched_length: 8
match_coverage: '100.0'
rule_relevance: 100
identifier: ocb-open-source-2013_6.RULE
license_expression: ocb-open-source-2013
is_license_text: no
is_license_notice: no
is_license_reference: yes
is_license_tag: no
is_license_intro: no
matched_text: License for Open Source Software Implementations of OCB
- score: '96.98'
start_line: 475
end_line: 540
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,42 @@ matches:
matched_text: |
OCB is covered by several patents but may be used freely by most
software.
- score: '100.0'
start_line: 459
end_line: 466
matcher: 2-aho
rule_length: 55
matched_length: 55
match_coverage: '100.0'
rule_relevance: 100
identifier: ocb-open-source-2013_8.RULE
license_expression: ocb-open-source-2013
is_license_text: no
is_license_notice: yes
is_license_reference: no
is_license_tag: no
is_license_intro: no
matched_text: "License 1 — License for Open-Source Software Implementations of OCB\n \
\ (Jan 9, 2013)\n \n Under this license, you are authorized to make,\
\ use, and\n distribute open-source software implementations of OCB. This\n license\
\ terminates for you if you sue someone over their\n open-source software implementation\
\ of OCB claiming that you have\n a patent covering their implementation."
- score: '100.0'
start_line: 470
end_line: 470
matcher: 2-aho
rule_length: 8
matched_length: 8
match_coverage: '100.0'
rule_relevance: 100
identifier: ocb-open-source-2013_6.RULE
license_expression: ocb-open-source-2013
is_license_text: no
is_license_notice: no
is_license_reference: yes
is_license_tag: no
is_license_intro: no
matched_text: License for Open Source Software Implementations of OCB
- score: '96.98'
start_line: 475
end_line: 540
Expand Down