steelcrypt/src/algorithms/sha3/keccak.ads

36 lines
1.1 KiB
Ada

-- Copyright (C) 2015 Daniel Otte <bg@nerilex.org>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
with Crypto_Core_Types; use Crypto_Core_Types;
with Crypto_Types; use Crypto_Types;
with Keccak_Parameters; use Keccak_Parameters;
use Crypto_Types.Crypto_Types_u8;
use Crypto_Types.Crypto_Types_u64;
package Keccak is
type State_T is Array (x_T, y_T) of Word_T;
procedure Permute(A : in out State_T);
private
rounds : constant := 12 + 2 * l;
end Keccak;