• 大小: 200KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: C/C++
  • 标签: sha3/keccak  

资源简介

SHA-3(keccak)的官方C/C++源代码

资源截图

代码片段和文件信息

#include “crypto_hash.h“
#include “KeccakSponge.h“

int crypto_hash(unsigned char *out const unsigned char *in unsigned long long inlen)
{
    spongeState state;
    InitSponge(&state 1024 576);
    Absorb(&state in inlen*8);
    Squeeze(&state out crypto_hash_BYTES*8);
    return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-05-29 11:41  KeccakReferenceAndOptimized\
     文件        4258  2011-08-03 20:44  KeccakReferenceAndOptimized\KeccakCompact.vcproj
     文件        4140  2011-06-21 13:27  KeccakReferenceAndOptimized\KeccakInplace32BI.vcproj
     文件        4188  2011-06-21 13:27  KeccakReferenceAndOptimized\KeccakInplace.vcproj
     文件        4175  2011-08-03 20:44  KeccakReferenceAndOptimized\KeccakReferenceAndOptimized.sln
     文件        5450  2011-08-03 20:44  KeccakReferenceAndOptimized\KeccakOptimized64.vcproj
     目录           0  2012-05-29 11:31  KeccakReferenceAndOptimized\Sources\
     文件        7233  2012-01-16 10:36  KeccakReferenceAndOptimized\Sources\Keccakc1024-crypto_hash-inplace-armgcc-ARMv7A-NEON.s
     文件       28328  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-inplace32BI.c
     文件       16454  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\KeccakF-1600-armgcc.s
     文件       15699  2012-05-03 21:53  KeccakReferenceAndOptimized\Sources\KeccakF-1600-x86-64-gas.s
     文件        3770  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\displayIntermediateValues.c
     文件       14615  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-inplace.c
     文件        3420  2012-05-03 21:53  KeccakReferenceAndOptimized\Sources\KeccakF-1600-arm.c
     文件        9319  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-compact.c
     文件       21059  2011-12-21 12:09  KeccakReferenceAndOptimized\Sources\Keccak-inplace32BI-armgcc-ARMv7M.s
     文件        9493  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\KeccakF-1600-reference32BI.c
     文件       24133  2012-05-03 21:53  KeccakReferenceAndOptimized\Sources\KeccakF-1600-simd128.macros
     文件        6703  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-inplace-test.c
     文件          95  2012-05-03 21:53  KeccakReferenceAndOptimized\Sources\Keccak-simple-settings.h
     文件        4549  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-avr8.c
     文件       15043  2012-05-03 21:53  KeccakReferenceAndOptimized\Sources\KeccakF-1600-32-rvk.macros
     文件        5546  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\brg_endian.h
     文件       13109  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\mainReference.c
     文件       18556  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\KeccakF-1600-simd64.macros
     文件        3480  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\mainARM.c
     文件       21363  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\genKAT.c
     文件       22421  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-inplace32BI-armgcc-ARMv7A.s
     文件       10143  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-compact8-test.c
     文件         281  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\timing.h
     文件        9529  2011-12-21 12:24  KeccakReferenceAndOptimized\Sources\Keccak-compact-test.c
............此处省略102个文件信息

评论

共有 条评论

相关资源