OLD | NEW |
1 /*- | 1 /*- |
2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. | 2 * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. |
3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. | 3 * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. |
4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. | 4 * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions are met: | 7 * modification, are permitted provided that the following conditions are met: |
8 * | 8 * |
9 * a) Redistributions of source code must retain the above copyright notice, | 9 * a) Redistributions of source code must retain the above copyright notice, |
10 * this list of conditions and the following disclaimer. | 10 * this list of conditions and the following disclaimer. |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 struct PK11Context *pk11_ctx; | 53 struct PK11Context *pk11_ctx; |
54 }; // Opaque structure. | 54 }; // Opaque structure. |
55 | 55 |
56 typedef struct sha1_context SHA1_CTX; | 56 typedef struct sha1_context SHA1_CTX; |
57 | 57 |
58 #if defined(_KERNEL) || defined(__Userspace__) | 58 #if defined(_KERNEL) || defined(__Userspace__) |
59 #define SHA1_Init SCTP_NSS_SHA1_Init | 59 #define SHA1_Init SCTP_NSS_SHA1_Init |
60 #define SHA1_Update SCTP_NSS_SHA1_Update | 60 #define SHA1_Update SCTP_NSS_SHA1_Update |
61 #define SHA1_Final SCTP_NSS_SHA1_Final | 61 #define SHA1_Final SCTP_NSS_SHA1_Final |
62 | 62 |
63 #endif» » » » /* _KERNEL */ | 63 #endif /* _KERNEL */ |
64 #endif | 64 #endif /* __SCTP_NSS_SHA1_h__ */ |
OLD | NEW |