Home
last modified time | relevance | path

Searched refs:explicit_bzero (Results 1 – 25 of 53) sorted by relevance

123

/external/openssh/
Dssh-rsa.c84 explicit_bzero(sig, diff); in ssh_rsa_sign()
109 explicit_bzero(digest, sizeof(digest)); in ssh_rsa_sign()
111 explicit_bzero(sig, slen); in ssh_rsa_sign()
167 explicit_bzero(sigblob, diff); in ssh_rsa_verify()
183 explicit_bzero(sigblob, len); in ssh_rsa_verify()
190 explicit_bzero(digest, sizeof(digest)); in ssh_rsa_verify()
263 explicit_bzero(decrypted, rsasize); in openssh_RSA_verify()
Drsa.c110 explicit_bzero(outbuf, olen); in rsa_public_encrypt()
114 explicit_bzero(inbuf, ilen); in rsa_public_encrypt()
150 explicit_bzero(outbuf, olen); in rsa_private_decrypt()
154 explicit_bzero(inbuf, ilen); in rsa_private_decrypt()
Dcipher-chachapoly.c98 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
99 explicit_bzero(seqbuf, sizeof(seqbuf)); in chachapoly_crypt()
100 explicit_bzero(poly_key, sizeof(poly_key)); in chachapoly_crypt()
Dsshconnect1.c133 explicit_bzero(response, sizeof(response)); in try_agent_authentication()
210 explicit_bzero(buf, sizeof(buf)); in respond_to_rsa_challenge()
211 explicit_bzero(response, sizeof(response)); in respond_to_rsa_challenge()
212 explicit_bzero(&md, sizeof(md)); in respond_to_rsa_challenge()
286 explicit_bzero(passphrase, strlen(passphrase)); in try_rsa_authentication()
442 explicit_bzero(response, strlen(response)); in try_challenge_response_authentication()
475 explicit_bzero(password, strlen(password)); in try_password_authentication()
673 explicit_bzero(session_key, sizeof(session_key)); in ssh_kex()
Dssh-dss.c85 explicit_bzero(sigblob, SIGBLOB_LEN); in ssh_dss_sign()
122 explicit_bzero(digest, sizeof(digest)); in ssh_dss_sign()
209 explicit_bzero(digest, sizeof(digest)); in ssh_dss_verify()
217 explicit_bzero(sigblob, len); in ssh_dss_verify()
Dauth2-passwd.c63 explicit_bzero(newpass, newlen); in userauth_passwd()
75 explicit_bzero(password, len); in userauth_passwd()
Dreadpass.c102 explicit_bzero(buf, sizeof(buf)); in ssh_askpass()
108 explicit_bzero(buf, sizeof(buf)); in ssh_askpass()
165 explicit_bzero(buf, sizeof(buf)); in read_passphrase()
Dssh-ed25519.c87 explicit_bzero(sig, slen); in ssh_ed25519_sign()
156 explicit_bzero(sm, smlen); in ssh_ed25519_verify()
160 explicit_bzero(m, smlen); /* NB mlen may be invalid if r != 0 */ in ssh_ed25519_verify()
Dkex.c403 explicit_bzero(newkeys->enc.key, newkeys->enc.key_len); in kex_free_newkeys()
408 explicit_bzero(newkeys->enc.iv, newkeys->enc.block_size); in kex_free_newkeys()
413 explicit_bzero(&newkeys->enc, sizeof(newkeys->enc)); in kex_free_newkeys()
415 explicit_bzero(&newkeys->comp, sizeof(newkeys->comp)); in kex_free_newkeys()
418 explicit_bzero(newkeys->mac.key, newkeys->mac.key_len); in kex_free_newkeys()
423 explicit_bzero(&newkeys->mac, sizeof(newkeys->mac)); in kex_free_newkeys()
424 explicit_bzero(newkeys, sizeof(*newkeys)); in kex_free_newkeys()
821 explicit_bzero(hbuf, sizeof(hbuf)); in derive_ssh1_session_id()
822 explicit_bzero(sbuf, sizeof(sbuf)); in derive_ssh1_session_id()
823 explicit_bzero(obuf, sizeof(obuf)); in derive_ssh1_session_id()
Dhmac.c84 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_init()
129 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_free()
132 explicit_bzero(ctx, sizeof(*ctx)); in ssh_hmac_free()
Dcipher-3des1.c81 explicit_bzero(c, sizeof(*c)); in ssh1_3des_init()
112 explicit_bzero(c, sizeof(*c)); in ssh1_3des_cleanup()
Dkexc25519s.c151 explicit_bzero(hash, sizeof(hash)); in input_kex_c25519_init()
152 explicit_bzero(server_key, sizeof(server_key)); in input_kex_c25519_init()
Dkexc25519c.c162 explicit_bzero(hash, sizeof(hash)); in input_kex_c25519_reply()
163 explicit_bzero(kex->c25519_client_key, sizeof(kex->c25519_client_key)); in input_kex_c25519_reply()
Dkexecdhs.c190 explicit_bzero(hash, sizeof(hash)); in input_kex_ecdh_init()
198 explicit_bzero(kbuf, klen); in input_kex_ecdh_init()
Dssh-ecdsa.c101 explicit_bzero(digest, sizeof(digest)); in ssh_ecdsa_sign()
181 explicit_bzero(digest, sizeof(digest)); in ssh_ecdsa_verify()
Dssh-keygen.c290 explicit_bzero(pass, strlen(pass)); in load_identity()
1269 explicit_bzero(old_passphrase, strlen(old_passphrase)); in do_change_passphrase()
1295 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1296 explicit_bzero(passphrase2, strlen(passphrase2)); in do_change_passphrase()
1303 explicit_bzero(passphrase2, strlen(passphrase2)); in do_change_passphrase()
1312 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1319 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1395 explicit_bzero(passphrase, strlen(passphrase)); in do_change_comment()
1415 explicit_bzero(passphrase, strlen(passphrase)); in do_change_comment()
1427 explicit_bzero(passphrase, strlen(passphrase)); in do_change_comment()
[all …]
Dkexecdhc.c209 explicit_bzero(hash, sizeof(hash)); in input_kex_ecdh_reply()
217 explicit_bzero(kbuf, klen); in input_kex_ecdh_reply()
Dkexdhc.c196 explicit_bzero(hash, sizeof(hash)); in input_kex_dh()
202 explicit_bzero(kbuf, klen); in input_kex_dh()
Dkexdhs.c201 explicit_bzero(hash, sizeof(hash)); in input_kex_dh_init()
207 explicit_bzero(kbuf, klen); in input_kex_dh_init()
Ddigest-libc.c237 explicit_bzero(ctx->mdctx, digest->ctx_len); in ssh_digest_free()
239 explicit_bzero(ctx, sizeof(*ctx)); in ssh_digest_free()
Dcipher.c366 explicit_bzero(discard, cipher->discard_len); in cipher_init()
472 explicit_bzero(&cc->cp_ctx, sizeof(cc->cp_ctx)); in cipher_cleanup()
474 explicit_bzero(&cc->ac_ctx, sizeof(cc->ac_ctx)); in cipher_cleanup()
500 explicit_bzero(digest, sizeof(digest)); in cipher_set_key_string()
Dssh-add.c100 explicit_bzero(pass, strlen(pass)); in clear_pass()
424 explicit_bzero(p2, strlen(p2)); in lock_agent()
436 explicit_bzero(p1, strlen(p1)); in lock_agent()
/external/openssh/openbsd-compat/
Dbcrypt_pbkdf.c103 explicit_bzero(ciphertext, sizeof(ciphertext)); in bcrypt_hash()
104 explicit_bzero(cdata, sizeof(cdata)); in bcrypt_hash()
105 explicit_bzero(&state, sizeof(state)); in bcrypt_hash()
172 explicit_bzero(out, sizeof(out)); in bcrypt_pbkdf()
Dexplicit_bzero.c20 explicit_bzero(void *p, size_t n) in explicit_bzero() function
34 explicit_bzero(void *p, size_t n) in explicit_bzero() function
Darc4random.c124 explicit_bzero(rnd, sizeof(rnd)); in _rs_stir()
266 explicit_bzero(&r, sizeof(r)); in arc4random_buf()

123