Searched refs:hmac_salt (Results 1 – 1 of 1) sorted by relevance
1447 CK_BYTE *crypt_salt = NULL, *hmac_salt = NULL; in soft_keystore_setpin() local1527 hmac_salt = malloc(KS_HMAC_SALT_SIZE); in soft_keystore_setpin()1528 if (hmac_salt == NULL) { in soft_keystore_setpin()1531 if (readn_nointr(fd, (char *)hmac_salt, KS_HMAC_SALT_SIZE) in soft_keystore_setpin()1580 (CK_BYTE **)&hmac_salt) != CKR_OK) { in soft_keystore_setpin()1586 if (writen_nointr(tmp_ks_fd, (void *)hmac_salt, in soft_keystore_setpin()1769 if (hmac_salt != NULL) { in soft_keystore_setpin()1770 free(hmac_salt); in soft_keystore_setpin()1806 CK_BYTE *crypt_salt = NULL, *hmac_salt; in soft_keystore_authpin() local1833 hmac_salt = malloc(KS_HMAC_SALT_SIZE); in soft_keystore_authpin()[all …]