| /onnv/onnv-gate/usr/src/lib/libsip/common/ |
| sip_hash.h | 41 #define SIP_DIGEST_TO_HASH(digest) \ 42 ((digest[0] + digest[1] + digest[2] + digest[3] + digest[4] + \ 43 digest[5] + digest[6] + digest[7]) % SIP_HASH_SZ)
|
| /onnv/onnv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| softDigestUtil.c | 49 * context, then calls the corresponding software provided digest 66 session_p->digest.context = malloc(sizeof (MD5_CTX)); 68 if (session_p->digest.context == NULL) { 73 session_p->digest.mech.mechanism = CKM_MD5; 76 MD5Init((MD5_CTX *)session_p->digest.context); 84 session_p->digest.context = malloc(sizeof (SHA1_CTX)); 86 if (session_p->digest.context == NULL) { 91 session_p->digest.mech.mechanism = CKM_SHA_1; 92 session_p->digest.mech.pParameter = pMechanism->pParameter; 93 session_p->digest.mech.ulParameterLen [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/evp/ |
| digest.c | 1 /* crypto/evp/digest.c */ 148 if (ctx->engine && ctx->digest && (!type || 149 (type && (type->type == ctx->digest->type)))) 179 /* We'll use the ENGINE's private digest definition */ 190 if(!ctx->digest) 196 if (ctx->digest != type) 198 if (ctx->digest && ctx->digest->ctx_size) 200 ctx->digest=type; 207 return ctx->digest->init(ctx) [all...] |
| p_verify.c | 75 v=ctx->digest->required_pkey_type[i]; 92 if (ctx->digest->verify == NULL) 98 return(ctx->digest->verify(ctx->digest->type,m,m_len,
|
| /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Digest/t/ |
| base.t | 8 require Digest::base; 10 @ISA = qw(Digest::base); 24 sub digest { subroutine 34 ok($ctx->digest, "X0000"); 39 ok($ctx->digest, "f0003"); 57 ok($ctx->digest, "a0301"); 65 ok($ctx->digest, "U0001"); 73 ok($ctx->digest, "a0002"); 76 ok($ctx->digest, "a0003");
|
| /onnv/onnv-gate/usr/src/uts/common/crypto/io/ |
| md4_mod.c | 76 #define MD4_DIGEST_LENGTH 16 /* MD4 digest length in bytes */ 221 * KCF software provider digest entry points. 246 * Helper MD4 digest update function for uio data. 295 * The caller requested to digest more data than it provided. 304 * Helper MD4 digest final function for uio data. 305 * digest_len is the length of the desired digest. If digest_len 306 * is smaller than the default MD4 digest length, the caller 311 md4_digest_final_uio(MD4_CTX *md4_ctx, crypto_data_t *digest, 314 off_t offset = digest->cd_offset; 318 if (digest->cd_uio->uio_segflg != UIO_SYSSPACE [all...] |
| md5_mod.c | 57 "MD5 Message-Digest Algorithm" 82 #define MD5_DIGEST_LENGTH 16 /* MD5 digest length in bytes */ 101 uint32_t hc_digest_len; /* digest len in bytes */ 113 /* to extract the digest length passed as mechanism parameter */ 125 #define PROV_MD5_DIGEST_KEY(ctx, key, len, digest) { \ 128 MD5Final(digest, ctx); \ 297 * KCF software provider digest entry points. 322 * Helper MD5 digest update function for uio data. 371 * The caller requested to digest more data than it provided. 380 * Helper MD5 digest final function for uio data 1014 uchar_t digest[MD5_DIGEST_LENGTH]; local 1120 uchar_t digest[MD5_DIGEST_LENGTH]; local 1240 uchar_t digest[MD5_DIGEST_LENGTH]; local [all...] |
| sha1_mod.c | 50 "SHA1 Message-Digest Algorithm" 71 /* to extract the digest length passed as mechanism parameter */ 82 #define PROV_SHA1_DIGEST_KEY(ctx, key, len, digest) { \ 85 SHA1Final(digest, ctx); \ 243 * KCF software provider digest entry points. 268 * Helper SHA1 digest update function for uio data. 318 * The caller requested to digest more data than it provided. 327 * Helper SHA1 digest final function for uio data. 328 * digest_len is the length of the desired digest. If digest_len 329 * is smaller than the default SHA1 digest length, the calle 960 uchar_t digest[SHA1_DIGEST_LENGTH]; local 1066 uchar_t digest[SHA1_DIGEST_LENGTH]; local 1186 uchar_t digest[SHA1_DIGEST_LENGTH]; local [all...] |
| /onnv/onnv-gate/usr/src/common/net/wanboot/crypt/ |
| hmac_test.c | 33 * are used by the HMAC SHA-1 implemention to produce a hash digest and 34 * the the result is compared against the expected digest. 50 unsigned char digest[20]; member in struct:test_data 58 uchar_t digest[20]; local 68 getxdata(td[0].digest, "b617318655057264e28bc0b6fb378c8ef146be00", 20); 74 getxdata(td[1].digest, "effcdf6ae5eb2fa2d27416d5f184df9c259a7c79", 20); 82 getxdata(td[2].digest, "125d7342b9ac11cd91a39af48aa17b4f63f175d3", 20); 91 getxdata(td[3].digest, "4c9007f4026250c6bc8414f9bf50c86c2d7235da", 20); 98 getxdata(td[4].digest, "4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", 20); 108 getxdata(td[5].digest, "aa4ae5e15272d00e95705637ce8a3b55ed402112", 20) [all...] |
| sha1_test.c | 87 uint8_t digest[20]; local 104 SHA1Final(digest, &sha); 107 if (bcmp(digest, rdigest, 20) != 0) {
|
| hmac_sha1.c | 76 uchar_t digest[20]) 97 SHA1Final(digest, sha1Context); 101 SHA1Update(sha1Context, digest, 20); 102 SHA1Final(digest, sha1Context);
|
| hmac_sha1.h | 44 uchar_t digest[HMAC_DIGEST_LEN]);
|
| /onnv/onnv-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
| kernelDigest.c | 74 * the message digest. 76 session_p->digest.flags |= CRYPTO_OPERATION_ACTIVE; 79 session_p->digest.mech.mechanism = pMechanism->mechanism; 80 session_p->digest.mech.pParameter = NULL; 81 session_p->digest.mech.ulParameterLen = 0; 82 session_p->digest.flags |= CRYPTO_EMULATE; 116 session_p->digest.flags &= ~CRYPTO_OPERATION_ACTIVE; 147 crypto_digest_t digest; local 171 if (!(session_p->digest.flags & CRYPTO_OPERATION_ACTIVE)) { 185 if (session_p->digest.flags & CRYPTO_OPERATION_UPDATE) [all...] |
| /onnv/onnv-gate/usr/src/lib/crypt_modules/sunmd5/ |
| sunmd5.c | 95 md5bit(uint8_t *digest, int bit_num) 104 /* return the value of bit N from the digest */ 105 return ((digest[byte_off] & (0x01 << bit_off)) ? 1 : 0); 259 uint8_t digest[DIGEST_LEN]; /* where the MD5 digest is stored */ member in struct:__anon4 268 int indirect_a; /* 7bit index into digest */ 271 int indirect_b; /* 7bit index into digest */ 317 /* compute the digest */ 319 MD5Final(data.digest, &data.context); 331 /* update with the previous digest */ [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/pkcs12/ |
| p12_p8d.c | 66 passlen, p8->digest, 1);
|
| p12_p8e.c | 84 M_ASN1_OCTET_STRING_free(p8->digest); 85 p8->digest = PKCS12_item_i2d_encrypt(pbe, ASN1_ITEM_rptr(PKCS8_PRIV_KEY_INFO), 87 if(!p8->digest) {
|
| /onnv/onnv-gate/usr/src/lib/libldap4/include/ |
| sec.h | 20 int key_len, unsigned char *digest);
|
| /onnv/onnv-gate/usr/src/lib/libldap4/sec/ |
| cram_md5.c | 17 /* text is the challenge, key is the password, digest is an allocated 18 buffer (min 16 chars) which will contain the resulting digest */ 20 int key_len, unsigned char *digest) 52 (void) MD5Final(digest, &context); 57 (void) MD5Update(&context, digest, 16); 59 (void) MD5Final(digest, &context);
|
| /onnv/onnv-gate/usr/src/lib/libldap5/include/ldap/ |
| sec.h | 10 int key_len, unsigned char *digest);
|
| /onnv/onnv-gate/usr/src/lib/libldap5/sources/ldap/common/ |
| cram_md5.c | 17 /* text is the challenge, key is the password, digest is an allocated 18 buffer (min 16 chars) which will contain the resulting digest */ 20 int key_len, unsigned char *digest) 52 (void) MD5Final(digest, &context); 57 (void) MD5Update(&context, digest, 16); 59 (void) MD5Final(digest, &context); 74 unsigned char digest[16]; local 81 bzero(digest, sizeof (digest)); 94 (unsigned char *)cred->bv_val, cred->bv_len, digest); [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/asn1/ |
| x_sig.c | 66 ASN1_SIMPLE(X509_SIG, digest, ASN1_OCTET_STRING)
|
| /onnv/onnv-gate/usr/src/lib/libsasl/include/ |
| hmac-md5.h | 37 * digest may be same as text or key 41 unsigned char digest[HMAC_MD5_SIZE]); 61 void _sasl_hmac_md5_final(unsigned char digest[HMAC_MD5_SIZE],
|
| /onnv/onnv-gate/usr/src/cmd/cmd-crypto/digest/ |
| Makefile.com | 28 PROG = digest 33 OBJS = digest.o
|
| /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/ |
| kexdh.c | 55 static u_char digest[EVP_MAX_MD_SIZE]; local 81 EVP_DigestFinal(&md, digest, NULL); 86 dump_digest("hash", digest, EVP_MD_size(evp_md)); 88 return digest;
|
| kexgex.c | 57 static u_char digest[EVP_MAX_MD_SIZE]; local 92 EVP_DigestFinal(&md, digest, NULL); 97 dump_digest("hash", digest, EVP_MD_size(evp_md)); 99 return digest;
|