/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_PACKAGE_INC_ENCRYPTEDDATAHEADER_HXX #define INCLUDED_PACKAGE_INC_ENCRYPTEDDATAHEADER_HXX #include /* The structure of this header is as follows: Header signature 4 bytes Version number 2 bytes Iteration count 4 bytes Size 4 bytes EncAlgorithm 4 bytes DigestAlgorithm 4 bytes DerivedKeySize 4 bytes StartKeyAlgorithm 4 bytes Salt length 2 bytes IV length 2 bytes Digest length 2 bytes MediaType length 2 bytes Salt content X bytes IV content X bytes digest content X bytes MediaType X bytes */ const sal_uInt32 n_ConstHeader = 0x05024d4dL; // "MM\002\005" const sal_Int32 n_ConstHeaderSize = 38; // + salt length + iv length + digest length + mediatype length const sal_Int16 n_ConstCurrentVersion = 1; #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ office-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sccomp
AgeCommit message (Expand)Author
2021-10-30Prepare for removal of non-const operator[] from Sequence in sccompMike Kaganski
2021-10-15Remove non-const Sequence::begin()/end() in internal codeMike Kaganski
2021-08-06use Helper_optional SCRIPTING for libs that don't exist if --disable-scriptingCaolán McNamara
2021-08-05Pass context and resource string down to boost::locale separatelyNoel Grandin
2021-08-02convert #defines to OUStringLiteralNoel Grandin
2021-06-20cid#1486008 Explicit null dereferencedCaolán McNamara
2021-06-17use string_view in the Translate APINoel Grandin
2021-06-09Simplify Sequences initializations (sccomp)Julien Nabet
2021-06-04fix leak in solver testNoel Grandin
2021-05-17don't leak on error path in Coin solverNoel Grandin
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-03-23tdf#124176 Use pragma once in s*Vincent LE GARREC
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-12-01tdf#42949 Fix new IWYU warnings in directories s*Gabor Kelemen
2020-11-16replace std::max(std::min()) with std::clampNoel
2020-07-28tdf#135211: fix crash Swarm Non Linear Solver with blank inputJulien Nabet
2020-07-10replace usage of blacklist with excludelist for IWYUThorsten Behrens
2020-06-24use more std::container::insert instead of std::copyNoel Grandin
2020-06-05Upcoming loplugin:elidestringvar: sccompStephan Bergmann
2020-03-12Revert "loplugin:constfields in scaddins,sccomp"Noel Grandin
2020-01-28remove some unused local varsNoel Grandin
2020-01-15tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorMesut Çifci