diff options
author | Jack Lloyd <[email protected]> | 2019-01-05 15:32:48 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-01-05 15:32:48 -0500 |
commit | aae03e177452a5b7f5a42b4acf0c3fde07fdf045 (patch) | |
tree | 7593bcef6dca1cd3818b05c76c650defdbf6d418 /src/lib/kdf/sp800_56c | |
parent | 254b5c64db2319dbf39f3b68702a189b62127cd7 (diff) |
Fix indent [ci skip]
Diffstat (limited to 'src/lib/kdf/sp800_56c')
-rw-r--r-- | src/lib/kdf/sp800_56c/sp800_56c.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/kdf/sp800_56c/sp800_56c.cpp b/src/lib/kdf/sp800_56c/sp800_56c.cpp index 544a650ea..4c7b61e0a 100644 --- a/src/lib/kdf/sp800_56c/sp800_56c.cpp +++ b/src/lib/kdf/sp800_56c/sp800_56c.cpp @@ -14,15 +14,15 @@ size_t SP800_56C::kdf(uint8_t key[], size_t key_len, const uint8_t salt[], size_t salt_len, const uint8_t label[], size_t label_len) const { - // Randomness Extraction - secure_vector< uint8_t > k_dk; + // Randomness Extraction + secure_vector<uint8_t> k_dk; - m_prf->set_key(salt, salt_len); - m_prf->update(secret, secret_len); - m_prf->final(k_dk); + m_prf->set_key(salt, salt_len); + m_prf->update(secret, secret_len); + m_prf->final(k_dk); - // Key Expansion - m_exp->kdf(key, key_len, k_dk.data(), k_dk.size(), nullptr, 0, label, label_len); + // Key Expansion + m_exp->kdf(key, key_len, k_dk.data(), k_dk.size(), nullptr, 0, label, label_len); return key_len; } |