Searched refs:tmp_key (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb5.c | 1313 krb5_keyblock tmp_key; in krb5_db_fetch_mkey() local 1315 memset(&tmp_key, 0, sizeof(tmp_key)); in krb5_db_fetch_mkey() 1358 tmp_key.enctype = key->enctype; in krb5_db_fetch_mkey() 1361 tmp_key.enctype = etype; in krb5_db_fetch_mkey() 1365 &tmp_key, in krb5_db_fetch_mkey() 1375 key->contents = malloc(tmp_key.length); in krb5_db_fetch_mkey() 1381 key->magic = tmp_key.magic; in krb5_db_fetch_mkey() 1382 key->enctype = tmp_key.enctype; in krb5_db_fetch_mkey() 1383 key->length = tmp_key.length; in krb5_db_fetch_mkey() 1384 memcpy(key->contents, tmp_key.contents, tmp_key.length); in krb5_db_fetch_mkey() [all …]
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softEC.c | 338 soft_object_t *tmp_key = NULL; in soft_ecc_sign_verify_init_common() local 365 rv = soft_copy_object(key_p, &tmp_key, SOFT_COPY_OBJ_ORIG_SH, NULL); in soft_ecc_sign_verify_init_common() 366 if ((rv != CKR_OK) || (tmp_key == NULL)) { in soft_ecc_sign_verify_init_common() 392 ecc_ctx->key = tmp_key; in soft_ecc_sign_verify_init_common() 416 soft_cleanup_object(tmp_key); in soft_ecc_sign_verify_init_common() 417 free(tmp_key); in soft_ecc_sign_verify_init_common()
|
H A D | softRSA.c | 195 soft_object_t *tmp_key = NULL; in soft_rsa_crypt_init_common() local 210 rv = soft_copy_object(key_p, &tmp_key, SOFT_COPY_OBJ_ORIG_SH, in soft_rsa_crypt_init_common() 213 if ((rv != CKR_OK) || (tmp_key == NULL)) { in soft_rsa_crypt_init_common() 222 rsa_ctx->key = tmp_key; in soft_rsa_crypt_init_common() 422 soft_object_t *tmp_key = NULL; in soft_rsa_sign_verify_init_common() local 481 rv = soft_copy_object(key_p, &tmp_key, SOFT_COPY_OBJ_ORIG_SH, in soft_rsa_sign_verify_init_common() 484 if ((rv != CKR_OK) || (tmp_key == NULL)) { in soft_rsa_sign_verify_init_common() 493 rsa_ctx->key = tmp_key; in soft_rsa_sign_verify_init_common()
|
H A D | softDSA.c | 53 soft_object_t *tmp_key = NULL; in soft_dsa_sign_verify_init_common() local 86 rv = soft_copy_object(key_p, &tmp_key, SOFT_COPY_OBJ_ORIG_SH, in soft_dsa_sign_verify_init_common() 89 if ((rv != CKR_OK) || (tmp_key == NULL)) { in soft_dsa_sign_verify_init_common() 98 dsa_ctx->key = tmp_key; in soft_dsa_sign_verify_init_common()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_session.c | 1461 uint8_t tmp_key[SMB_CHALLENGE_SZ]; in smb_session_genkey() local 1463 (void) random_get_pseudo_bytes(tmp_key, SMB_CHALLENGE_SZ); in smb_session_genkey() 1464 bcopy(tmp_key, &session->challenge_key, SMB_CHALLENGE_SZ); in smb_session_genkey() 1467 (void) random_get_pseudo_bytes(tmp_key, 4); in smb_session_genkey() 1468 session->sesskey = tmp_key[0] | tmp_key[1] << 8 | in smb_session_genkey() 1469 tmp_key[2] << 16 | tmp_key[3] << 24; in smb_session_genkey()
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 1422 uint32_t tmp_key, tmp_indx; in hermon_mr_keycalc() local 1437 tmp_key = (hermon_memkey_cnt++) << HERMON_MEMKEY_SHIFT; in hermon_mr_keycalc() 1439 return (tmp_key | tmp_indx); in hermon_mr_keycalc()
|