Searched refs:hctx (Results 1 - 3 of 3) sorted by relevance

/opensolaris-onvv-gate/usr/src/common/openssl/crypto/evp/
H A Dp5_crpt2.c86 HMAC_CTX hctx; local
88 HMAC_CTX_init(&hctx);
103 HMAC_Init_ex(&hctx, pass, passlen, EVP_sha1(), NULL);
104 HMAC_Update(&hctx, salt, saltlen);
105 HMAC_Update(&hctx, itmp, 4);
106 HMAC_Final(&hctx, digtmp, NULL);
117 HMAC_CTX_cleanup(&hctx);
/opensolaris-onvv-gate/usr/src/cmd/krb5/kadmin/server/
H A Dovsec_kadmd.c405 static krb5_context hctx; variable
905 hctx = ((kadm5_server_handle_t)global_server_handle)->context;
907 ret = krb5_ktkdb_set_context(hctx);
913 ret = krb5_db_set_mkey(hctx, &((kadm5_server_handle_t)global_server_handle)->master_keyblock);
/opensolaris-onvv-gate/usr/src/common/openssl/apps/
H A Dspeed.c1576 HMAC_CTX hctx; local
1578 HMAC_CTX_init(&hctx);
1579 HMAC_Init_ex(&hctx,(unsigned char *)"This is a key...",
1588 HMAC_Init_ex(&hctx,NULL,0,NULL,NULL);
1589 HMAC_Update(&hctx,buf,lengths[j]);
1590 HMAC_Final(&hctx,&(hmac[0]),NULL);
1595 HMAC_CTX_cleanup(&hctx);

Completed in 100 milliseconds