Move and commit missing AES provider.

This commit is contained in:
Brian Pellin committed 2009-12-18 22:08:45 -06:00
1 parent 245ec9ffbe
commit bd2de38646
4 files changed
+39 -3

No files matched your search

@@ -0,0 +1,36 @@
/*
* Copyright 2009 Brian Pellin.
*
* This file is part of KeePassDroid.
*
* KeePassDroid 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 2 of the License, or
* (at your option) any later version.
*
* KeePassDroid 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 KeePassDroid. If not, see <http://www.gnu.org/licenses/>.
*
*/
package com.keepassdroid.crypto;
import java.security.Provider;
public final class AESProvider extends Provider {
/**
*
*/
private static final long serialVersionUID = -3846349284296062658L;
public AESProvider() {
super("AESProvider", 1.0, "");
put("Cipher.AES",com.keepassdroid.crypto.NativeAESCipherSpi.class.getName());
}
}
@@ -42,7 +42,7 @@ import org.phoneid.keepassj2me.PwEntry;
import org.phoneid.keepassj2me.PwGroup;
import org.phoneid.keepassj2me.PwManager;
import com.keepassdroid.crypto.finalkey.AESProvider;
import com.keepassdroid.crypto.AESProvider;
public class PwManagerOutput {
private PwManager mPM;
+1 -1
View File
@@ -47,7 +47,7 @@ import android.util.Log;
import com.android.keepass.R;
import com.keepassdroid.UpdateStatus;
import com.keepassdroid.crypto.finalkey.AESProvider;
import com.keepassdroid.crypto.AESProvider;
import com.keepassdroid.crypto.finalkey.FinalKey;
import com.keepassdroid.crypto.finalkey.FinalKeyFactory;
import com.keepassdroid.keepasslib.InvalidKeyFileException;
@@ -35,7 +35,7 @@ import javax.crypto.spec.SecretKeySpec;
import junit.framework.TestCase;
import com.keepassdroid.crypto.finalkey.AESProvider;
import com.keepassdroid.crypto.AESProvider;
public class AESTest extends TestCase {