forked from blue/squawk
feat: omemo signal lib wip
This commit is contained in:
parent
08fe37bfb2
commit
442ad37300
34 changed files with 745 additions and 262 deletions
|
@ -7,4 +7,6 @@ target_sources(squawk PRIVATE
|
|||
hmac_sha256_openssl.h
|
||||
sha512_digest_openssl.cpp
|
||||
sha512_digest_openssl.h
|
||||
ec.cpp
|
||||
ec.h
|
||||
)
|
||||
|
|
5
qomemo/signal/crypto/ec.cpp
Normal file
5
qomemo/signal/crypto/ec.cpp
Normal file
|
@ -0,0 +1,5 @@
|
|||
/*
|
||||
* Created by victoria on 2021-06-17.
|
||||
*/
|
||||
|
||||
#include "ec.h"
|
20
qomemo/signal/crypto/ec.h
Normal file
20
qomemo/signal/crypto/ec.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
/*
|
||||
* Created by victoria on 2021-06-17.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <signal/signal_protocol.h>
|
||||
|
||||
namespace Signal::Crypto {
|
||||
|
||||
class ECKeyPair {
|
||||
public:
|
||||
ECKeyPair();
|
||||
~ECKeyPair();
|
||||
|
||||
private:
|
||||
ec_key_pair *ec;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue