From 5c30a9085bf477a02681624789114b1b42b305cd Mon Sep 17 00:00:00 2001
From: ID Bot nonce: A randomly-sampled nonce of length envelope_nonce: A randomly-sampled nonce of length auth_tag: An authentication tag protecting the contents of the envelope, covering
-the envelope nonce and
if client_identity == nil
client_identity = client_public_key
- Create CleartextCredentials cleartext_credentials with
- (server_public_key, server_identity, client_identity)
+ cleartext_credentials = CleartextCredentials {
+ server_public_key,
+ server_identity,
+ client_identity
+ }
+
return cleartext_credentials
¶
@@ -1902,14 +1906,14 @@
struct {
- uint8 nonce[Nn];
+ uint8 envelope_nonce[Nn];
uint8 auth_tag[Nm];
} Envelope;
¶
Nn
, used to protect this Envelope
.¶Nn
, used to protect this Envelope
.¶CleartextCredentials
.¶envelope_nonce
and CleartextCredentials
.¶