34 #include <sys/cdefs.h> 35 __FBSDID(
"$FreeBSD$");
39 #ifndef __NETINET_SCTP_SHA1_H__ 40 #define __NETINET_SCTP_SHA1_H__ 42 #include <sys/types.h> 43 #if defined(SCTP_USE_NSS_SHA1) 44 #if defined(__Userspace_os_Darwin) 51 #if defined(__Userspace_os_Darwin) 54 #elif defined(SCTP_USE_OPENSSL_SHA1) 59 #if defined(SCTP_USE_NSS_SHA1) 60 struct PK11Context *pk11_ctx;
61 #elif defined(SCTP_USE_OPENSSL_SHA1) 84 #if (defined(__APPLE__) && defined(KERNEL)) 90 #if defined(_KERNEL) || defined(__Userspace__) unsigned int D
Definition: sctp_sha1.h:67
unsigned int TEMP
Definition: sctp_sha1.h:75
int how_many_in_block
Definition: sctp_sha1.h:79
unsigned int H1
Definition: sctp_sha1.h:70
unsigned int H4
Definition: sctp_sha1.h:73
unsigned int H0
Definition: sctp_sha1.h:69
void sctp_sha1_final(unsigned char *digest, struct sctp_sha1_context *ctx)
Definition: sctp_sha1.c:225
unsigned int A
Definition: sctp_sha1.h:64
unsigned int E
Definition: sctp_sha1.h:68
unsigned int running_total
Definition: sctp_sha1.h:80
unsigned int words[80]
Definition: sctp_sha1.h:74
char sha_block[64]
Definition: sctp_sha1.h:77
unsigned int H3
Definition: sctp_sha1.h:72
void sctp_sha1_init(struct sctp_sha1_context *ctx)
Definition: sctp_sha1.c:111
unsigned int H2
Definition: sctp_sha1.h:71
Definition: sctp_sha1.h:58
unsigned int C
Definition: sctp_sha1.h:66
void sctp_sha1_update(struct sctp_sha1_context *ctx, const unsigned char *ptr, unsigned int siz)
Definition: sctp_sha1.c:196
unsigned int B
Definition: sctp_sha1.h:65