Commit a91b9446 authored by Josh Ji's avatar Josh Ji

code review

parent af4d9910
No preview for this file type
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
"ExpandedNodes": [ "ExpandedNodes": [
"" ""
], ],
"SelectedNode": "\\FidoReader.sln",
"PreviewInSolutionExplorer": false "PreviewInSolutionExplorer": false
} }
\ No newline at end of file
No preview for this file type
...@@ -352,7 +352,7 @@ namespace FidoReader ...@@ -352,7 +352,7 @@ namespace FidoReader
paramBox.Text += "Encrypted Cx : " + BitConverter.ToString(encryptedCx) + "\r\n"; paramBox.Text += "Encrypted Cx : " + BitConverter.ToString(encryptedCx) + "\r\n";
paramBox.Text += "Decrypted Cx : " + BitConverter.ToString(decryptedCx) + "\r\n"; paramBox.Text += "Decrypted Cx : " + BitConverter.ToString(decryptedCx) + "\r\n";
// generate HMAC <- AES(hashedSharedSecrect, sha256(IDx||Cx)) // generate HMAC <- AES(hashedSharedSecret, sha256(IDx||Cx))
byte[] IDxAndCx = new byte[IDx.Length + decryptedCx.Length]; byte[] IDxAndCx = new byte[IDx.Length + decryptedCx.Length];
Array.Copy(Encoding.ASCII.GetBytes(IDx), 0, IDxAndCx, 0, IDx.Length); Array.Copy(Encoding.ASCII.GetBytes(IDx), 0, IDxAndCx, 0, IDx.Length);
Array.Copy(decryptedCx, 0, IDxAndCx, IDx.Length, decryptedCx.Length); Array.Copy(decryptedCx, 0, IDxAndCx, IDx.Length, decryptedCx.Length);
......
is_global = true is_global = true
build_property.ApplicationManifest = build_property.ApplicationManifest = app.manifest
build_property.StartupObject = build_property.StartupObject =
build_property.ApplicationDefaultFont = build_property.ApplicationDefaultFont =
build_property.ApplicationHighDpiMode = build_property.ApplicationHighDpiMode =
...@@ -13,4 +13,4 @@ build_property.InvariantGlobalization = ...@@ -13,4 +13,4 @@ build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly = build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = FidoReader build_property.RootNamespace = FidoReader
build_property.ProjectDir = C:\Users\josh2\source\repos\FidoReader\FidoReader\ build_property.ProjectDir = C:\Users\josh2\Documents\GitLab\EID\FidoReader\FidoReader\
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment