HomeSort by relevance Sort by last modified time
    Searched defs:sha (Results 1 - 10 of 10) sorted by null

  /onnv/onnv-gate/usr/src/common/net/wanboot/crypt/
hmac_test.c 30 * HMAC SHA-1 test cases as defined by RFC 2202.
33 * are used by the HMAC SHA-1 implemention to produce a hash digest and
57 SHA1_CTX sha; local
126 HMACInit(&sha, td[i].key, td[i].keylen);
127 HMACUpdate(&sha, td[i].data, td[i].datalen);
128 HMACFinal(&sha, td[i].key, td[i].keylen, digest);
sha1_test.c 33 * This file will exercise the SHA-1 code performing the three
83 SHA1_CTX sha; local
91 * Perform SHA-1 tests
97 SHA1Init(&sha);
100 SHA1Update(&sha, (unsigned char *)testarray[j],
104 SHA1Final(digest, &sha);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
snoop_arp.c 63 unsigned char *sip, *tip, *sha, *tha; local
80 sha = (unsigned char *)(ap + 1);
81 sip = sha + maclen;
95 smacbuf = _link_ntoa(sha, NULL, maclen, IFT_OTHER);
  /onnv/onnv-gate/usr/src/lib/librdc/common/
rdcrules.c 89 char sha[CFG_MAX_BUF]; /* II shadow */ local
118 rc = sscanf(buf, "%s %s %s %s %s", mas, sha, bit, mod, ovr);
129 (strcmp(bmp, sha) == 0) ||
  /onnv/onnv-gate/usr/src/lib/libsum/common/
sum-sha1.c 23 * SHA-1 in C
36 #define sha1_description "FIPS 180-1 SHA-1 secure hash algorithm 1."
39 #define sha1_match "sha1|SHA1|sha-1|SHA-1"
179 /* Copy sha->state[] to working vars */
229 Sha1_t* sha = (Sha1_t*)p; local
234 j = sha->count[0];
235 if ((sha->count[0] += len << 3) < j)
236 sha->count[1] += (len >> 29) + 1;
239 (void)memcpy(&sha->buffer[j], data, (i = 64 - j))
256 register Sha1_t* sha = (Sha1_t*)p; local
271 Sha1_t* sha; local
292 Sha1_t* sha = (Sha1_t*)p; local
323 register Sha1_t* sha = (Sha1_t*)p; local
336 register Sha1_t* sha = (Sha1_t*)p; local
    [all...]
sum-sha2.c 25 * Aaron D. Gifford's SHA {256,384,512} code transcribed into a -lsum method
77 /*** SHA-256/384/512 Machine Architecture Definitions *****************/
140 * during compile or in the sha.h header file.
144 * ones in sha.h too) by hand according to their system architecture.
166 /*** SHA-256/384/512 Various Length Definitions ***********************/
251 * Bit shifting and rotation (used by the six SHA-XYZ logical functions:
254 * S is a ROTATION) because the SHA-256/384/512 description document
259 /* Shift-right (used in SHA-256, SHA-384, and SHA-512): *
651 Sha256_t* sha = (Sha256_t*)p; local
699 register Sha256_t* sha = (Sha256_t*)p; local
711 Sha256_t* sha; local
725 Sha256_t* sha = (Sha256_t*)p; local
795 register Sha256_t* sha = (Sha256_t*)p; local
809 register Sha256_t* sha = (Sha256_t*)p; local
1014 Sha512_t* sha = (Sha512_t*)p; local
1062 register Sha512_t* sha = (Sha512_t*)p; local
1074 Sha512_t* sha; local
1088 Sha512_t* sha = (Sha512_t*)p; local
1157 register Sha512_t* sha = (Sha512_t*)p; local
1171 register Sha512_t* sha = (Sha512_t*)p; local
1200 register Sha384_t* sha = (Sha384_t*)p; local
1212 Sha384_t* sha; local
1226 register Sha384_t* sha = (Sha384_t*)p; local
1240 register Sha384_t* sha = (Sha384_t*)p; local
    [all...]
  /onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/
wanboot.c 471 size_t ramdisk_size, off_t *offset, SHA1_CTX *sha)
518 if (sha != NULL) {
519 HMACUpdate(sha, (uchar_t *)addr, (size_t)len);
979 static SHA1_CTX sha; local
988 HMACInit(&sha, g_hash_key, WANBOOT_HMAC_KEY_SIZE);
1000 miniroot_size, offset, (htype == HASH_NONE) ? NULL : &sha)) != 0) {
1005 HMACFinal(&sha, g_hash_key, WANBOOT_HMAC_KEY_SIZE, cdigest);
1226 SHA1_CTX sha; local
    [all...]
  /onnv/onnv-gate/usr/src/common/openssl/apps/
speed.c 184 #include <openssl/sha.h>
508 unsigned char sha[SHA_DIGEST_LENGTH]; local
897 if (strcmp(*argv,"sha") == 0) doit[D_SHA1]=1,
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/kssl/
ksslproto.h 253 SHA1_CTX sha; member in union:KSSL_HASHCTXUnion
  /onnv/onnv-gate/usr/src/cmd/avs/rdc/
sndradm.c 1069 char *host, *pri, *sec, *sbm, *bit, *mas, *sha, *ovr; local
1087 sha = strtok(NULL, " "); /* shadow */
1096 (strcmp(bmp, sha) == 0) ||
1675 char *sha; local
    [all...]

Completed in 4020 milliseconds