laforge submitted this change.
crypto_utils: fix sourcecode formatting
Related: SYS#8100
Change-Id: Ie4d6b4d44a015e97606f6ca6e01398bcf385f542
---
M src/crypto_utils.erl
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/crypto_utils.erl b/src/crypto_utils.erl
index 4a43407..49f5a25 100644
--- a/src/crypto_utils.erl
+++ b/src/crypto_utils.erl
@@ -40,7 +40,7 @@
% Read the AssociationToken
{ok, AssociationToken} = mnesia_db_euicc:state_get(EidValue, associationToken),
- %Format message to be signed
+ % Format message to be signed
{ok, EuiccPackageSignedEnc} = 'SGP32Definitions':encode(
'EuiccPackageSigned', EuiccPackageSigned
),
@@ -48,13 +48,13 @@
EuiccPackageSignedEnc, enc_association_token(AssociationToken)
]),
- %Load private key from eIM certificate
+ % Load private key from eIM certificate
{ok, EimKeyPath} = utils:get_env_priv_file_path(onomondo_eim, eim_key),
{ok, EimKeyPem} = file:read_file(EimKeyPath),
[EimKeyPemEntry] = public_key:pem_decode(EimKeyPem),
EimKeyECPrivateKey = public_key:pem_entry_decode(EimKeyPemEntry),
- %Sign message
+ % Sign message
% We use SHA-256 as signature hash/digest, see also GSMA SGP.22, section 2.6.5 and
% https://www.erlang.org/doc/apps/public_key/public_key#sign/4
der_to_plain(public_key:sign(MsgToBeSigned, sha256, EimKeyECPrivateKey)).
To view, visit change 43613. To unsubscribe, or for help writing mail filters, visit settings.