| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -480,7 +480,7 @@ void CipherBase::InitIv(const char* cipher_type, | |||
| 480 | 480 | ||
| 481 | 481 | // Throw if an IV was passed which does not match the cipher's fixed IV length | |
| 482 | 482 | // static_cast<int> for the iv_buf.size() is safe because we've verified | |
| 483 | - // prior that the value is not larger than MAX_INT. | ||
| 483 | + // prior that the value is not larger than INT_MAX. | ||
| 484 | 484 | if (!is_authenticated_mode && | |
| 485 | 485 | has_iv && | |
| 486 | 486 | static_cast<int>(iv_buf.size()) != expected_iv_len) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -197,8 +197,8 @@ struct KeyPairGenTraits final { | |||
| 197 | 197 | }; | |
| 198 | 198 | ||
| 199 | 199 | struct SecretKeyGenConfig final : public MemoryRetainer { | |
| 200 | - size_t length; // Expressed a a number of bits | ||
| 201 | - char* out = nullptr; // Placeholder for the generated key bytes | ||
| 200 | + size_t length; // In bytes. | ||
| 201 | + char* out = nullptr; // Placeholder for the generated key bytes. | ||
| 202 | 202 | ||
| 203 | 203 | void MemoryInfo(MemoryTracker* tracker) const override; | |
| 204 | 204 | SET_MEMORY_INFO_NAME(SecretKeyGenConfig) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments