Lines Matching refs:protobuf
106 EncryptedData protobuf; in encryptWithAuthentication() local
107 protobuf.set_init_vector(init_vector); in encryptWithAuthentication()
108 protobuf.set_authentication_data(raw_authentication_data); in encryptWithAuthentication()
109 protobuf.set_encrypted_data(raw_encrypted_data); in encryptWithAuthentication()
110 if (!protobuf.SerializeToString(encrypted_data)) { in encryptWithAuthentication()
120 EncryptedData protobuf; in decryptWithAuthentication() local
121 if (!protobuf.ParseFromString(encrypted_data)) { in decryptWithAuthentication()
131 protobuf.init_vector() + protobuf.encrypted_data(), in decryptWithAuthentication()
132 protobuf.authentication_data(), &output_params, &output_data)) { in decryptWithAuthentication()
140 encrypt_params.Authorization(TAG_NONCE, protobuf.init_vector().data(), in decryptWithAuthentication()
141 protobuf.init_vector().size()); in decryptWithAuthentication()
143 protobuf.encrypted_data(), std::string(), /* signature_to_verify */ in decryptWithAuthentication()