diff options
author | lloyd <[email protected]> | 2014-11-05 12:00:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-11-05 12:00:24 +0000 |
commit | 4f474481f46bffc095ae104485b8da95bcb03973 (patch) | |
tree | 2da1bf58bdce2a2e9a1a8a6f8d27dbdb3a87e174 /src/lib/tls | |
parent | f78e5e3fbd87d2e903f5ff4a230b65ac6d44f281 (diff) |
Replace Transformatio::nstart with start_raw so we can do a full set
of overloads in the base class with the same name.
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/tls_record.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/tls/tls_record.cpp b/src/lib/tls/tls_record.cpp index 67bf9933d..925961764 100644 --- a/src/lib/tls/tls_record.cpp +++ b/src/lib/tls/tls_record.cpp @@ -164,7 +164,7 @@ void write_record(secure_vector<byte>& output, BOTAN_ASSERT(nonce.size() == implicit_nonce_bytes + explicit_nonce_bytes, "Expected nonce size"); - // wrong if start_vec returns something + // wrong if start returns something const size_t rec_size = ctext_size + implicit_nonce_bytes; BOTAN_ASSERT(rec_size <= 0xFFFF, "Ciphertext length fits in field"); @@ -177,7 +177,7 @@ void write_record(secure_vector<byte>& output, ); output += std::make_pair(&nonce[explicit_nonce_bytes], implicit_nonce_bytes); - BOTAN_ASSERT(aead->start_vec(nonce).empty(), "AEAD doesn't return anything from start"); + BOTAN_ASSERT(aead->start(nonce).empty(), "AEAD doesn't return anything from start"); const size_t offset = output.size(); output += std::make_pair(&msg[0], msg_length); @@ -398,7 +398,7 @@ void decrypt_record(secure_vector<byte>& output, cipherstate.format_ad(record_sequence, record_type, record_version, ptext_size) ); - output += aead->start_vec(nonce); + output += aead->start(nonce); const size_t offset = output.size(); output += std::make_pair(&msg[0], msg_length); |