andre@0: /* This Source Code Form is subject to the terms of the Mozilla Public andre@0: * License, v. 2.0. If a copy of the MPL was not distributed with this andre@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ andre@0: andre@0: #ifndef _CHACHA20_POLY1305_H_ andre@0: #define _CHACHA20_POLY1305_H_ 1 andre@0: andre@0: /* ChaCha20Poly1305ContextStr saves the key and tag length for a andre@0: * ChaCha20+Poly1305 AEAD operation. */ andre@0: struct ChaCha20Poly1305ContextStr { andre@0: unsigned char key[32]; andre@0: unsigned char tagLen; andre@0: }; andre@0: andre@0: #endif /* _CHACHA20_POLY1305_H_ */