Searched refs:SHA384_CTX (Results 1 – 3 of 3) sorted by relevance
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
D | sha2.h | 117 typedef SHA512_CTX SHA384_CTX; typedef 131 void SHA384_Init __P((SHA384_CTX*)); 132 void SHA384_Update __P((SHA384_CTX*, const u_int8_t*, size_t)); 133 void SHA384_Final __P((u_int8_t[SHA384_DIGEST_LENGTH], SHA384_CTX*)); 135 char* SHA384_End __P((SHA384_CTX*, char[SHA384_DIGEST_STRING_LENGTH]));
|
D | sha2.c | 991 void SHA384_Init(SHA384_CTX* context) { in SHA384_Init() 992 if (context == (SHA384_CTX*)0) { in SHA384_Init() 1000 void SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) { in SHA384_Update() 1004 void SHA384_Final(sha2_byte digest[], SHA384_CTX* context) { in SHA384_Final() 1008 assert(context != (SHA384_CTX*)0); in SHA384_Final() 1033 char *SHA384_End(SHA384_CTX* context, char buffer[]) { in SHA384_End() 1038 assert(context != (SHA384_CTX*)0); in SHA384_End() 1057 SHA384_CTX context; in SHA384_Data() 1087 #define data(ctx) ((SHA384_CTX *)(ctx)->md_data) 1169 sizeof(struct env_md_st *) + sizeof(SHA384_CTX),
|
/external/ipsec-tools/src/racoon/ |
D | crypto_openssl.c | 2203 SHA384_CTX *c = racoon_malloc(sizeof(*c)); in eay_sha2_384_init() 2215 SHA384_Update((SHA384_CTX *)c, (unsigned char *) data->v, data->l); 2229 SHA384_Final((unsigned char *) res->v, (SHA384_CTX *)c);
|