mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-02 20:11:58 +00:00
Move common crypto classes into TextSecureLibrary.
1) Move all the crypto classes from securesms.crypto. 2) Move all the crypto storage from securesms.database.keys 3) Replace the old imported BC code with spongycastle.
This commit is contained in:
3
library/protobuf/Makefile
Normal file
3
library/protobuf/Makefile
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
all:
|
||||
protoc --java_out=../src/ PreKeyEntity.proto
|
||||
9
library/protobuf/PreKeyEntity.proto
Normal file
9
library/protobuf/PreKeyEntity.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
package textsecure;
|
||||
|
||||
option java_package = "org.whispersystems.textsecure.encoded";
|
||||
option java_outer_classname = "PreKeyProtos";
|
||||
|
||||
message PreKeyEntity {
|
||||
optional uint64 id = 1;
|
||||
optional bytes key = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user