/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 474 freezero(hashed_pin_salt, hashed_pin_salt_len); in create_keystore() 895 freezero(*hashed_pin, hashed_pin_size + 1); in get_hashed_pin() 1323 freezero(buf, nread); in reencrypt_obj() 1329 freezero(buf, nread); in reencrypt_obj() 1335 freezero(buf, nread); in reencrypt_obj() 1336 freezero(decrypted_buf, decrypted_len); in reencrypt_obj() 1339 freezero(buf, nread); in reencrypt_obj() 1345 freezero(decrypted_buf, decrypted_len); in reencrypt_obj() 1351 freezero(decrypted_buf, decrypted_len); in reencrypt_obj() 1357 freezero(buf, encrypted_len); in reencrypt_obj() [all …]
|
H A D | softDecryptUtil.c | 156 freezero(soft_des_ctx->key_sched, in soft_decrypt_init() 158 freezero(session_p->decrypt.context, in soft_decrypt_init() 211 freezero(soft_blowfish_ctx->key_sched, in soft_decrypt_init() 213 freezero(session_p->decrypt.context, in soft_decrypt_init() 474 freezero(soft_des_ctx->key_sched, in soft_decrypt_final() 527 freezero(soft_des_ctx->key_sched, in soft_decrypt_final() 559 freezero(soft_des_ctx->key_sched, in soft_decrypt_final() 591 freezero(soft_blowfish_ctx->key_sched, in soft_decrypt_final()
|
H A D | softEncryptUtil.c | 180 freezero(soft_des_ctx->key_sched, in soft_encrypt_init() 182 freezero(session_p->encrypt.context, in soft_encrypt_init() 254 freezero(soft_blowfish_ctx->key_sched, in soft_encrypt_init() 256 freezero(session_p->encrypt.context, in soft_encrypt_init() 541 freezero(soft_des_ctx->key_sched, in soft_encrypt_final() 571 freezero(soft_des_ctx->key_sched, in soft_encrypt_final() 607 freezero(soft_blowfish_ctx->key_sched, in soft_encrypt_final() 679 freezero(soft_des_ctx->key_sched, in soft_crypt_cleanup() 711 freezero(soft_blowfish_ctx->key_sched, in soft_crypt_cleanup()
|
H A D | softBlowfishCrypt.c | 301 freezero(blowfish_ctx, sizeof (cbc_ctx_t)); in soft_blowfish_encrypt_common() 302 freezero(soft_blowfish_ctx->key_sched, in soft_blowfish_encrypt_common() 304 freezero(session_p->encrypt.context, in soft_blowfish_encrypt_common() 466 freezero(soft_blowfish_ctx->key_sched, in soft_blowfish_decrypt_common() 468 freezero(session_p->decrypt.context, in soft_blowfish_decrypt_common()
|
H A D | softKeysUtil.c | 818 freezero(A, Alen); in soft_pkcs12_pbe() 819 freezero(Ai, AiLen); in soft_pkcs12_pbe() 820 freezero(B, Blen); in soft_pkcs12_pbe() 821 freezero(D, Dlen); in soft_pkcs12_pbe() 822 freezero(I, Ilen); in soft_pkcs12_pbe() 1401 freezero(salt, params->ulSaltSourceDataLen); in soft_generate_pkcs5_pbkdf2_key() 1536 freezero(padded_data, padded_len); in soft_wrapkey() 1541 freezero(plain_data, plain_len); in soft_wrapkey() 1820 freezero(plain_data, plain_len); in soft_unwrapkey() 1831 freezero(plain_data, plain_len); in soft_unwrapkey()
|
H A D | softKeystore.c | 105 freezero(*salt, saltlen); in soft_gen_hashed_pin() 199 freezero(salt, len); in soft_verify_pin() 203 freezero(tmp_pin, len); in soft_verify_pin() 207 freezero(ks_cryptpin, len); in soft_verify_pin() 306 freezero(salt, len); in soft_setpin() 310 freezero(ks_cryptpin, len); in soft_setpin() 314 freezero(tmp_old_pin, len); in soft_setpin() 318 freezero(tmp_new_pin, len); in soft_setpin() 497 freezero(template.pValue, template.ulValueLen); in soft_keystore_unpack_obj() 563 freezero(template.pValue, template.ulValueLen); in soft_unpack_obj_attribute() [all …]
|
H A D | softASN1.c | 342 freezero(tmp_pad.big_value, tmp_pad.big_value_len); 528 freezero(tmp_pad.big_value, tmp_pad.big_value_len); 699 freezero(tmp_pad.big_value, tmp_pad.big_value_len); 888 freezero(tmp_pad.big_value, tmp_pad.big_value_len); 1232 freezero(tmp_nopad.big_value, tmp_nopad.big_value_len); 1436 freezero(tmp_nopad.big_value, tmp_nopad.big_value_len); 1616 freezero(tmp_nopad.big_value, tmp_nopad.big_value_len); 1820 freezero(tmp_nopad.big_value, tmp_nopad.big_value_len);
|
H A D | softDESCrypt.c | 453 freezero(soft_des_ctx->key_sched, soft_des_ctx->keysched_len); in soft_des_encrypt_common() 454 freezero(session_p->encrypt.context, sizeof (soft_des_ctx_t)); in soft_des_encrypt_common() 777 freezero(soft_des_ctx->key_sched, soft_des_ctx->keysched_len); in soft_des_decrypt_common() 778 freezero(session_p->decrypt.context, sizeof (soft_des_ctx_t)); in soft_des_decrypt_common()
|
H A D | softAESCrypt.c | 191 freezero(ks, size); in soft_aes_init_key() 625 freezero(buf, ulEncryptedDataLen); in soft_aes_cbc_pad_decrypt() 1632 freezero(ctx->ac_keysched, ctx->ac_keysched_len); in soft_aes_free_ctx() 1633 freezero(ctx, len); in soft_aes_free_ctx()
|
H A D | softMAC.c | 564 freezero(session_p->sign.context, sizeof (soft_hmac_ctx_t)); in soft_hmac_sign_verify_common() 567 freezero(session_p->verify.context, sizeof (soft_hmac_ctx_t)); in soft_hmac_sign_verify_common()
|
H A D | softSSL.c | 936 freezero(export_keys, 2 * MD5_HASH_SIZE); in soft_ssl_key_and_mac_derive() 965 freezero(export_keys, 2 * MD5_HASH_SIZE); in soft_ssl_key_and_mac_derive()
|
H A D | softSlotToken.c | 360 freezero(ks_cryptpin, cplen); in C_GetTokenInfo()
|
H A D | softAttributeUtil.c | 327 freezero(attr->value, attr->length); in cleanup_cert_attr() 428 freezero(extra_attr->attr.pValue, in soft_cleanup_extra_attr() 676 freezero(extra_attr->attr.pValue, in set_extra_attr_to_object() 987 freezero(template->pValue, template->ulValueLen); in string_attr_cleanup() 1003 freezero(big->big_value, big->big_value_len); in bigint_attr_cleanup() 1145 freezero(OBJ_SEC_VALUE(object_p), in soft_cleanup_object_bigint_attrs() 1151 freezero(OBJ_KEY_SCHED(object_p), in soft_cleanup_object_bigint_attrs() 6326 freezero(sk->sk_value, sk->sk_value_len);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | freezero.c | 20 freezero(void *ptr, size_t size) in freezero() function
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelSoftCommon.c | 236 freezero(session_p->sign.context, in free_soft_ctx() 241 freezero(session_p->verify.context, in free_soft_ctx()
|
H A D | kernelObjectUtil.c | 81 freezero(OBJ_SEC_VALUE(objp), OBJ_SEC_VALUE_LEN(objp)); in kernel_cleanup_object()
|
H A D | kernelUtil.c | 375 freezero(key->ck_attrs[i].oa_value, in free_key_attributes()
|
H A D | kernelKeys.c | 348 freezero(key_buf, key_len); in key_gen_by_value() 354 freezero(key_buf, key_len); in key_gen_by_value()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_crypto.c | 360 freezero(buf, buflen); in get_key_interactive() 370 freezero(buf, buflen); in get_key_interactive() 377 freezero(buf, buflen); in get_key_interactive() 378 freezero(buf2, buf2len); in get_key_interactive() 385 freezero(buf, buflen); in get_key_interactive() 394 freezero(buf2, buf2len); in get_key_interactive() 564 freezero(km, kmlen); in get_key_material()
|
/illumos-gate/usr/src/head/ |
H A D | stdlib.h | 326 extern void freezero(void *, size_t);
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaObjectManager.c | 600 freezero((object->clone_template)[i].pValue, in meta_object_dealloc() 865 freezero(attrs_with_val[i].pValue, in meta_object_copyin() 1498 freezero(wrappedKey, wrappedKeyLen); in clone_by_wrap()
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 419 freezero.o \
|
/illumos-gate/usr/src/lib/libc/amd64/ |
H A D | Makefile | 402 freezero.o \
|
/illumos-gate/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 439 freezero.o \
|
/illumos-gate/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 461 freezero.o \
|