Searched defs:chaCha20Poly1305 (Results 1 – 1 of 1) sorted by relevance
/external/boringssl/src/ssl/test/runner/ |
D | chacha20_poly1305.go | 65 type chaCha20Poly1305 struct { struct 66 key [32]byte 78 func (c *chaCha20Poly1305) NonceSize() int { return 8 } 79 func (c *chaCha20Poly1305) Overhead() int { return 16 } 81 func (c *chaCha20Poly1305) chaCha20(out, in, nonce []byte, counter uint64) { 111 func (c *chaCha20Poly1305) poly1305(tag *[16]byte, nonce, ciphertext, additionalData []byte) { 126 func (c *chaCha20Poly1305) Seal(dst, nonce, plaintext, additionalData []byte) []byte { 141 func (c *chaCha20Poly1305) Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error) {
|