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

randombit / botan / 5111374265

29 May 2023 11:19AM UTC coverage: 92.227% (+0.5%) from 91.723%
5111374265

push

github

randombit
Next release will be 3.1.0. Update release notes

75588 of 81959 relevant lines covered (92.23%)

11886470.91 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,469✔
16
   if(!valid_keylength(length))
971,469✔
17
      throw Invalid_Key_Length(name(), length);
×
18
   key_schedule(key, length);
971,469✔
19
}
971,469✔
20

21
}  // namespace Botan
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