• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

randombit / botan / 5079590438

25 May 2023 12:28PM UTC coverage: 92.228% (+0.5%) from 91.723%
5079590438

Pull #3502

github

Pull Request #3502: Apply clang-format to the codebase

75589 of 81959 relevant lines covered (92.23%)

12139530.51 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/lib/base/sym_algo.cpp
1
/*
2
* (C) 2018 Jack Lloyd
3
*
4
* Botan is released under the Simplified BSD License (see license.txt)
5
*/
6

7
#include <botan/sym_algo.h>
8

9
#include <botan/exceptn.h>
10

11
namespace Botan {
12

13
void SymmetricAlgorithm::throw_key_not_set_error() const { throw Key_Not_Set(name()); }
173,856✔
14

15
void SymmetricAlgorithm::set_key(const uint8_t key[], size_t length) {
971,245✔
16
   if(!valid_keylength(length))
971,245✔
17
      throw Invalid_Key_Length(name(), length);
×
18
   key_schedule(key, length);
971,245✔
19
}
971,245✔
20

21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc