Home
last modified time | relevance | path

Searched refs:pkeydata (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c374 CK_BYTE_PTR pkeydata = NULL; in execute_cmd() local
422 (char **)&pkeydata, &keylen, in execute_cmd()
427 (void **)&pkeydata, &keylen); in execute_cmd()
431 (char **)&pkeydata, &keylen, in execute_cmd()
435 if (status != 0 || keylen == 0 || pkeydata == NULL) { in execute_cmd()
643 template[nattr].pValue = pkeydata; in execute_cmd()
658 pkeydata, keylen, &key); in execute_cmd()
680 (char *)pkeydata, (size_t)keylen, (void *)salt, in execute_cmd()
790 (void) memset(pkeydata, 0, keylen); in execute_cmd()
791 free(pkeydata); in execute_cmd()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/
H A Ddecrypt.c427 CK_BYTE_PTR pkeydata = NULL; in execute_cmd() local
483 (char **)&pkeydata, (size_t *)&keysize, 0, B_FALSE); in execute_cmd()
486 status = pkcs11_read_data(keyfile, (void **)&pkeydata, in execute_cmd()
490 status = pkcs11_get_pass(NULL, (char **)&pkeydata, in execute_cmd()
808 rv = get_token_key(hSession, keytype, key_label, pkeydata, in execute_cmd()
861 template[nattr].pValue = pkeydata; in execute_cmd()
882 rv = pkcs11_PasswdToPBKD2Object(hSession, (char *)pkeydata, in execute_cmd()
956 if (pkeydata != NULL) { in execute_cmd()
957 bzero(pkeydata, keysize); in execute_cmd()
958 free(pkeydata); in execute_cmd()
[all …]