Home
last modified time | relevance | path

Searched refs:SHA384_CTX (Results 1 – 6 of 6) sorted by relevance

/external/openssh/openbsd-compat/
Dsha2.h79 typedef SHA512_CTX SHA384_CTX; typedef
98 void SHA384_Init(SHA384_CTX *);
100 void SHA384_Update(SHA384_CTX *, const u_int8_t *, size_t)
102 void SHA384_Pad(SHA384_CTX *);
103 void SHA384_Final(u_int8_t [SHA384_DIGEST_LENGTH], SHA384_CTX *)
105 char *SHA384_End(SHA384_CTX *, char *)
Dsha2.c848 SHA384_Init(SHA384_CTX *context) in SHA384_Init()
883 SHA384_Final(u_int8_t digest[SHA384_DIGEST_LENGTH], SHA384_CTX *context) in SHA384_Final()
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.h117 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]));
Dsha2.c991 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/openssh/
Ddigest-libc.c106 sizeof(SHA384_CTX),
/external/ipsec-tools/src/racoon/
Dcrypto_openssl.c2203 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);