commit | b34f510b3bd8eb7708194338e7cc3b1655c000fa | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Sat Feb 28 03:59:33 2015 -0500 |
committer | Adam Langley <agl@google.com> | Thu Mar 05 21:25:05 2015 +0000 |
tree | 683ba24756d465cd6c0313dc4efb4fbd5eafc56d | |
parent | fb68d6c901b98ffe15b8890d00bc819bf44c5f01 [diff] |
Don't delay-initialize legacy AEADs. Instead, add a separate init_with_direction hook. Normal AEADs ignore the direction, while legacy AEADs must be initialized with it. This avoids maintaining extra state to support the delayed initialization. Change-Id: I25271f0e56ee2783a2fd4d4026434154d58dc0a8 Reviewed-on: https://boringssl-review.googlesource.com/3731 Reviewed-by: Adam Langley <agl@google.com>