mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-19 21:03:57 -07:00
clang-format this branch
This commit is contained in:
parent
8b77ef538a
commit
342fa9d33f
135 changed files with 42729 additions and 42439 deletions
|
@ -32,17 +32,17 @@ namespace ZeroTier {
|
|||
*/
|
||||
class Poly1305 {
|
||||
public:
|
||||
/**
|
||||
* Compute a one-time authentication code
|
||||
*
|
||||
* @param auth Buffer to receive code -- MUST be 16 bytes in length
|
||||
* @param data Data to authenticate
|
||||
* @param len Length of data to authenticate in bytes
|
||||
* @param key 32-byte one-time use key to authenticate data (must not be reused)
|
||||
*/
|
||||
static void compute(void* auth, const void* data, unsigned int len, const void* key);
|
||||
/**
|
||||
* Compute a one-time authentication code
|
||||
*
|
||||
* @param auth Buffer to receive code -- MUST be 16 bytes in length
|
||||
* @param data Data to authenticate
|
||||
* @param len Length of data to authenticate in bytes
|
||||
* @param key 32-byte one-time use key to authenticate data (must not be reused)
|
||||
*/
|
||||
static void compute(void* auth, const void* data, unsigned int len, const void* key);
|
||||
};
|
||||
|
||||
} // namespace ZeroTier
|
||||
} // namespace ZeroTier
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue