Print this page
6665607 Need a SHA256/SHA384/SHA512 implementation optimized for 64-bit x86
*** 17,34 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_SHA2_H
#define _SYS_SHA2_H
! #pragma ident "@(#)sha2.h 1.4 06/03/28 SMI"
#include <sys/types.h> /* for uint_* */
#ifdef __cplusplus
extern "C" {
--- 17,34 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
! * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_SHA2_H
#define _SYS_SHA2_H
! #pragma ident "@(#)sha2.h 1.5 08/03/05 SMI"
#include <sys/types.h> /* for uint_* */
#ifdef __cplusplus
extern "C" {
*** 57,67 ****
/*
* SHA2 context.
* The contents of this structure are a private interface between the
* Init/Update/Final calls of the functions defined below.
* Callers must never attempt to read or write any of the fields
! * in this strucutre directly.
*/
typedef struct {
uint32_t algotype; /* Algorithm Type */
/* state (ABCDEFGH) */
--- 57,67 ----
/*
* SHA2 context.
* The contents of this structure are a private interface between the
* Init/Update/Final calls of the functions defined below.
* Callers must never attempt to read or write any of the fields
! * in this structure directly.
*/
typedef struct {
uint32_t algotype; /* Algorithm Type */
/* state (ABCDEFGH) */