HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-2.2.10/ext/digest/sha2/sha2ossl.c
#include "../defs.h"
#include "sha2ossl.h"

#define SHA_Finish(bit) \
    void SHA##bit##_Finish(SHA##bit##_CTX *ctx, char *buf) \
    { SHA##bit##_Final((unsigned char *)buf, ctx);}
#ifndef __DragonFly__
#define SHA384_Final SHA512_Final
#endif

SHA_Finish(256)
SHA_Finish(384)
SHA_Finish(512)