Searched refs:SHA512_CTX (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/libkern/libkern/crypto/
H A Dsha2.h53 typedef struct SHA512_CTX { struct
55 } SHA512_CTX; typedef in typeref:struct:SHA512_CTX
57 typedef SHA512_CTX SHA384_CTX;
69 void SHA512_Init(SHA512_CTX *ctx);
70 void SHA512_Update(SHA512_CTX *ctx, const void *data, size_t len);
71 void SHA512_Final(void *digest, SHA512_CTX *ctx);
/xnu-2782.1.97/libkern/crypto/
H A Dcorecrypto_sha2.c91 void SHA512_Init(SHA512_CTX *ctx)
97 if(ccdigest_di_size(di)>sizeof(SHA512_CTX))
103 void SHA512_Update(SHA512_CTX *ctx, const void *data, size_t len)
111 void SHA512_Final(void *digest, SHA512_CTX *ctx)
/xnu-2782.1.97/bsd/netinet6/
H A Dah_core.c1096 SHA512_CTX *ctxt;
1106 state->foo = (void *)_MALLOC(128 + 128 + sizeof(SHA512_CTX),
1110 bzero(state->foo, 128 + 128 + sizeof(SHA512_CTX));
1114 ctxt = (SHA512_CTX *)(void *)(opad + 128);
1153 SHA512_CTX *ctxt;
1158 ctxt = (SHA512_CTX *)(void *)(((u_char *)state->foo) + 256);
1171 SHA512_CTX *ctxt;
1178 ctxt = (SHA512_CTX *)(void *)(opad + 128);

Completed in 22 milliseconds