Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Update headers, add LICENSE file
Browse files Browse the repository at this point in the history
// FREEBIE
  • Loading branch information
moxie0 committed May 2, 2016
1 parent 38620c6 commit 4566552
Show file tree
Hide file tree
Showing 16 changed files with 747 additions and 80 deletions.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

16 changes: 3 additions & 13 deletions android/jni/curve25519-jni.c
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
/**
* Copyright (C) 2013-2014 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Licensed according to the LICENSE file in this repository.
*/


#include <string.h>
#include <stdint.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/**
* Copyright (C) 2015 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

import org.whispersystems.curve25519.java.Sha512;
Expand Down
16 changes: 3 additions & 13 deletions common/src/main/java/org/whispersystems/curve25519/Curve25519.java
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/**
* Copyright (C) 2015 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/**
* Copyright (C) 2015 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/**
* Copyright (C) 2015 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

interface Curve25519Provider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

public class NoSuchProviderException extends RuntimeException {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

public interface SecureRandomProvider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

import org.bouncycastle.crypto.digests.SHA512Digest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

public class J2meCurve25519Provider extends BaseJavaCurve25519Provider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

public class NullSecureRandomProvider implements SecureRandomProvider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

import java.security.NoSuchAlgorithmException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

import org.whispersystems.curve25519.java.Sha512;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/
package org.whispersystems.curve25519;

import org.whispersystems.curve25519.java.Sha512;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
/**
* Copyright (C) 2015 Open Whisper Systems
* Copyright (C) 2014-2016 Open Whisper Systems
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

class NativeCurve25519Provider implements Curve25519Provider {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/**
* Copyright (C) 2014-2016 Open Whisper Systems
*
* Licensed according to the LICENSE file in this repository.
*/

package org.whispersystems.curve25519;

public class OpportunisticCurve25519Provider implements Curve25519Provider {
Expand Down

0 comments on commit 4566552

Please sign in to comment.