| 27 | const int MAGICNUM_LEN = 6; |
| 28 | |
| 29 | int EspAuthenticator::GenerateCredential(std::string* auth_str) const { |
| 30 | auth_str->assign(MAGICNUM, MAGICNUM_LEN); |
| 31 | uint16_t local_port = 0; |
| 32 | auth_str->append((char *)&local_port, sizeof(local_port)); |
| 33 | return 0; |
| 34 | } |
| 35 | |
| 36 | int EspAuthenticator::VerifyCredential( |
| 37 | const std::string& /*auth_str*/, |
no test coverage detected