Home
last modified time | relevance | path

Searched refs:freezero (Results 1 – 25 of 75) sorted by relevance

123

/freebsd/crypto/openssh/
H A Dssh-ed25519.c38 freezero(k->ed25519_pk, ED25519_PK_SZ); in ssh_ed25519_cleanup()
39 freezero(k->ed25519_sk, ED25519_SK_SZ); in ssh_ed25519_cleanup()
113 freezero(pk, len); in ssh_ed25519_deserialize_public()
141 freezero(ed25519_sk, sklen); in ssh_ed25519_deserialize_private()
199 freezero(sig, slen); in ssh_ed25519_sign()
267 freezero(sm, smlen); in ssh_ed25519_verify()
269 freezero(m, smlen); /* NB mlen may be invalid if r != 0 */ in ssh_ed25519_verify()
H A Dssh-sk.c185 freezero(r->key_handle, r->key_handle_len); in sshsk_free_enroll_response()
186 freezero(r->public_key, r->public_key_len); in sshsk_free_enroll_response()
187 freezero(r->signature, r->signature_len); in sshsk_free_enroll_response()
188 freezero(r->attestation_cert, r->attestation_cert_len); in sshsk_free_enroll_response()
189 freezero(r->authdata, r->authdata_len); in sshsk_free_enroll_response()
190 freezero(r, sizeof(*r)); in sshsk_free_enroll_response()
198 freezero(r->sig_r, r->sig_r_len); in sshsk_free_sign_response()
199 freezero(r->sig_s, r->sig_s_len); in sshsk_free_sign_response()
200 freezero(r, sizeof(*r)); in sshsk_free_sign_response()
750 freezero(rks[i]->user_id, rks[i]->user_id_len); in sshsk_free_sk_resident_keys()
[all …]
H A Dssh-xmss.c45 freezero(k->xmss_pk, sshkey_xmss_pklen(k)); in ssh_xmss_cleanup()
46 freezero(k->xmss_sk, sshkey_xmss_sklen(k)); in ssh_xmss_cleanup()
159 freezero(pk, len); in ssh_xmss_deserialize_public()
195 freezero(xmss_pk, pklen); in ssh_xmss_deserialize_private()
196 freezero(xmss_sk, sklen); in ssh_xmss_deserialize_private()
271 freezero(sig, slen); in ssh_xmss_sign()
343 freezero(sm, smlen); in ssh_xmss_verify()
345 freezero(m, smlen); in ssh_xmss_verify()
H A Dauth2-passwd.c63 freezero(password, len); in userauth_passwd()
71 freezero(password, len); in userauth_passwd()
H A Dsshbuf-misc.c127 freezero(s, slen); in sshbuf_dtob64()
160 freezero(p, plen); in sshbuf_b64tod()
164 freezero(p, plen); in sshbuf_b64tod()
167 freezero(p, plen); in sshbuf_b64tod()
H A Dssh-sk-helper.c142 freezero(sig, siglen); in process_sign()
144 freezero(pin, strlen(pin)); in process_sign()
207 freezero(pin, strlen(pin)); in process_enroll()
269 freezero(pin, strlen(pin)); in process_load_resident()
H A Dssh-keygen.c331 freezero(pass, strlen(pass)); in load_identity()
1440 freezero(old_passphrase, strlen(old_passphrase)); in do_change_passphrase()
1471 freezero(passphrase2, strlen(passphrase2)); in do_change_passphrase()
1478 freezero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1484 freezero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1561 freezero(passphrase, strlen(passphrase)); in do_change_comment()
1605 freezero(passphrase, strlen(passphrase)); in do_change_comment()
1610 freezero(passphrase, strlen(passphrase)); in do_change_comment()
1922 freezero(pin, strlen(pin)); in do_ca_sign()
2422 freezero(blob, blen); in update_krl_from_file()
[all …]
H A Dsk-usbhid.c1415 freezero(srk->key.public_key, srk->key.public_key_len); in read_rks()
1416 freezero(srk->key.key_handle, srk->key.key_handle_len); in read_rks()
1417 freezero(srk->user_id, srk->user_id_len); in read_rks()
1418 freezero(srk, sizeof(*srk)); in read_rks()
1469 freezero(rks[i]->key.public_key, rks[i]->key.public_key_len); in sk_load_resident_keys()
1470 freezero(rks[i]->key.key_handle, rks[i]->key.key_handle_len); in sk_load_resident_keys()
1471 freezero(rks[i]->user_id, rks[i]->user_id_len); in sk_load_resident_keys()
1472 freezero(rks[i], sizeof(*rks[i])); in sk_load_resident_keys()
H A Dssh-sk-client.c282 freezero(*sigp, *lenp); in sshsk_sign()
377 freezero(srk->user_id, srk->user_id_len); in sshsk_free_resident_key()
473 freezero(userid, userid_len); in sshsk_load_resident()
H A Dsshconnect2.c1061 freezero(password, strlen(password)); in userauth_passwd()
1107 freezero(password, strlen(password)); in input_userauth_passwd_changereq()
1124 freezero(password, strlen(password)); in input_userauth_passwd_changereq()
1128 freezero(retype, strlen(retype)); in input_userauth_passwd_changereq()
1140 freezero(password, strlen(password)); in input_userauth_passwd_changereq()
1283 freezero(pin, strlen(pin)); in identity_sign()
1475 freezero(signature, slen); in sign_and_send_pubkey()
1590 freezero(passphrase, strlen(passphrase)); in load_identity_file()
1786 freezero(id, sizeof(*id)); in pubkey_prepare()
1990 freezero(response, strlen(response)); in input_userauth_info_req()
[all …]
/freebsd/contrib/libfido2/tools/
H A Dconfig.c31 freezero(pin, PINBUF_LEN); in config_entattest()
73 freezero(pin, PINBUF_LEN); in config_always_uv()
107 freezero(pin, PINBUF_LEN); in config_pin_minlen()
136 freezero(pin, PINBUF_LEN); in config_force_pin_change()
183 freezero(pin, PINBUF_LEN); in config_pin_minlen_rpid()
H A Dlargeblob.c91 freezero(pin, PINBUF_LEN); in map_known_rps()
226 freezero(key.ptr, key.len); in blob_set()
227 freezero(blob.ptr, blob.len); in blob_set()
228 freezero(pin, PINBUF_LEN); in blob_set()
261 freezero(key.ptr, key.len); in blob_get()
262 freezero(blob.ptr, blob.len); in blob_get()
263 freezero(pin, PINBUF_LEN); in blob_get()
298 freezero(key.ptr, key.len); in blob_delete()
299 freezero(pin, PINBUF_LEN); in blob_delete()
345 freezero(out.ptr, out.len); in try_decompress()
[all …]
H A Dcredman.c37 freezero(pin, PINBUF_LEN); in credman_get_metadata()
94 freezero(pin, PINBUF_LEN); in credman_list_rp()
164 freezero(pin, PINBUF_LEN); in credman_list_rk()
208 freezero(pin, PINBUF_LEN); in credman_print_rk()
259 freezero(pin, PINBUF_LEN); in credman_delete_rk()
313 freezero(pin, PINBUF_LEN); in credman_update_rk()
H A Dbio.c57 freezero(pin, PINBUF_LEN); in bio_list()
100 freezero(pin, PINBUF_LEN); in bio_set_name()
175 freezero(pin, PINBUF_LEN); in bio_enroll()
229 freezero(pin, PINBUF_LEN); in bio_delete()
/freebsd/contrib/libfido2/src/
H A Dblob.c19 freezero(b->ptr, b->len); in fido_blob_reset()
91 freezero(b->ptr, b->len); in fido_free_blob_array()
H A Du2f.c194 freezero(reply, FIDO_MAXMSG); in send_dummy_register()
274 freezero(reply, FIDO_MAXMSG); in key_lookup()
389 freezero(reply, FIDO_MAXMSG); in do_auth()
655 freezero(kh, kh_len); in parse_register_reply()
753 freezero(reply, FIDO_MAXMSG); in u2f_register()
912 freezero(reply, FIDO_MAXMSG); in u2f_get_touch_begin()
956 freezero(reply, FIDO_MAXMSG); in u2f_get_touch_status()
H A Dcredman.c229 freezero(msg, FIDO_MAXMSG); in credman_rx_metadata()
378 freezero(msg, FIDO_MAXMSG); in credman_rx_rk()
417 freezero(msg, FIDO_MAXMSG); in credman_rx_next_rk()
606 freezero(msg, FIDO_MAXMSG); in credman_rx_rp()
645 freezero(msg, FIDO_MAXMSG); in credman_rx_next_rp()
H A Drs256.c37 freezero(md, sizeof(*md)); in rs256_free_EVP_MD()
131 freezero(pk, sizeof(*pk)); in rs256_pk_free()
H A Diso7816.c38 freezero(apdu, apdu->alloc_len); in iso7816_free()
H A Drs1.c29 freezero(md, sizeof(*md)); in rs1_free_EVP_MD()
H A Dbio.c262 freezero(msg, FIDO_MAXMSG); in bio_rx_template_array()
432 freezero(msg, FIDO_MAXMSG); in bio_rx_enroll_begin()
536 freezero(msg, FIDO_MAXMSG); in bio_rx_enroll_continue()
711 freezero(msg, FIDO_MAXMSG); in bio_rx_info()
H A Dauthkey.c86 freezero(msg, FIDO_MAXMSG); in fido_dev_authkey_rx()
/freebsd/crypto/openssh/openbsd-compat/
H A Dfreezero.c25 freezero(void *ptr, size_t sz) in freezero() function
/freebsd/contrib/libfido2/openbsd-compat/
H A Dfreezero.c22 freezero(void *ptr, size_t sz) in freezero() function
H A Dopenbsd-compat.h71 void freezero(void *, size_t);

123