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

/xnu-2782.1.97/libkern/libkern/crypto/
H A Dsha2.h51 } SHA256_CTX; typedef in typeref:struct:__anon844
61 void SHA256_Init(SHA256_CTX *ctx);
62 void SHA256_Update(SHA256_CTX *ctx, const void *data, size_t len);
63 void SHA256_Final(void *digest, SHA256_CTX *ctx);
/xnu-2782.1.97/libkern/crypto/
H A Dcorecrypto_sha2.c34 void SHA256_Init(SHA256_CTX *ctx)
40 if(ccdigest_di_size(di)>sizeof(SHA256_CTX))
46 void SHA256_Update(SHA256_CTX *ctx, const void *data, size_t len)
54 void SHA256_Final(void *digest, SHA256_CTX *ctx)
/xnu-2782.1.97/bsd/netinet6/
H A Dah_core.c811 SHA256_CTX *ctxt;
821 state->foo = (void *)_MALLOC(64 + 64 + sizeof(SHA256_CTX),
828 ctxt = (SHA256_CTX *)(void *)(opad + 64);
867 SHA256_CTX *ctxt;
872 ctxt = (SHA256_CTX *)(void *)(((u_char *)state->foo) + 128);
885 SHA256_CTX *ctxt;
892 ctxt = (SHA256_CTX *)(void *)(opad + 64);

Completed in 28 milliseconds