Ruby  2.1.10p492(2016-04-01revision54464)
sha2ossl.c
Go to the documentation of this file.
1 #include "../defs.h"
2 #include "sha2ossl.h"
3 
4 #define SHA_Finish(bit) \
5  void SHA##bit##_Finish(SHA##bit##_CTX *ctx, char *buf) \
6  { SHA##bit##_Final((unsigned char *)buf, ctx);}
7 #ifndef __DragonFly__
8 #define SHA384_Final SHA512_Final
9 #endif
10 
11 SHA_Finish(256)
12 SHA_Finish(384)
13 SHA_Finish(512)
#define SHA_Finish(bit)
Definition: sha2ossl.c:4