msgtrans v0.0.9 (2020-11-20T09:29:10Z)
Home
Dub
Repo
peerkey_s
msgtrans
ee2e
crypto
Undocumented in source.
class
peerkey_s {
ubyte
[
CRYPTO_EC_PUB_KEY_LEN
]
ec_pub_key
;
ubyte
[
CRYPTO_AES_KEY_LEN
]
aes_key
;
ubyte
[
CRYPTO_SALT_LEN
]
salt
;
}
Members
Variables
aes_key
ubyte
[
CRYPTO_AES_KEY_LEN
]
aes_key
;
Undocumented in source.
ec_pub_key
ubyte
[
CRYPTO_EC_PUB_KEY_LEN
]
ec_pub_key
;
Undocumented in source.
salt
ubyte
[
CRYPTO_SALT_LEN
]
salt
;
Undocumented in source.
Meta
Source
See Implementation
msgtrans
ee2e
crypto
classes
ownkey_s
peerkey_s
functions
aes_decrypt
aes_encrypt
bytes_xor
calc_ecdh_shared_key
ecdsa_sign
generate_ecdh_keys
generate_hkdf_bytes
hmac_sha256
rand_salt
manifest constants
CRYPTO_AES_IV_LEN
CRYPTO_AES_KEY_LEN
CRYPTO_AES_TAG_LEN
CRYPTO_CURVE_NID
CRYPTO_ECDH_SHARED_KEY_LEN
CRYPTO_ECDSA_SIG_LEN
CRYPTO_ECDSA_SIG_r_LEN
CRYPTO_ECDSA_SIG_s_LEN
CRYPTO_EC_PRIV_KEY_LEN
CRYPTO_EC_PUB_KEY_LEN
CRYPTO_HMAC_SHA256
CRYPTO_KEY_INFO
CRYPTO_SALT_LEN
CRYPTO_VERSION