Server IP : 15.235.198.142 / Your IP : 216.73.216.73 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/src/linux-headers-6.8.0-45/include/crypto/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * Copyright (c) 2013 Alexey Degtyarev <alexey@renatasystems.org> * Copyright (c) 2018 Vitaly Chikunov <vt@altlinux.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 2 of the License, or (at your option) * any later version. */ #ifndef _CRYPTO_STREEBOG_H_ #define _CRYPTO_STREEBOG_H_ #include <linux/types.h> #define STREEBOG256_DIGEST_SIZE 32 #define STREEBOG512_DIGEST_SIZE 64 #define STREEBOG_BLOCK_SIZE 64 struct streebog_uint512 { __le64 qword[8]; }; struct streebog_state { union { u8 buffer[STREEBOG_BLOCK_SIZE]; struct streebog_uint512 m; }; struct streebog_uint512 hash; struct streebog_uint512 h; struct streebog_uint512 N; struct streebog_uint512 Sigma; size_t fillsize; }; #endif /* !_CRYPTO_STREEBOG_H_ */