Home
last modified time | relevance | path

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

12345

/dflybsd-src/lib/libssh/openbsd-compat/
H A Dbcrypt_pbkdf.c108 explicit_bzero(ciphertext, sizeof(ciphertext)); in bcrypt_hash()
109 explicit_bzero(cdata, sizeof(cdata)); in bcrypt_hash()
110 explicit_bzero(&state, sizeof(state)); in bcrypt_hash()
178 explicit_bzero(out, sizeof(out)); in bcrypt_pbkdf()
179 explicit_bzero(tmpout, sizeof(tmpout)); in bcrypt_pbkdf()
/dflybsd-src/crypto/libressl/crypto/cmac/
H A Dcmac.c112 explicit_bzero(ctx->tbl, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
113 explicit_bzero(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
114 explicit_bzero(ctx->k2, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
115 explicit_bzero(ctx->last_block, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
188 explicit_bzero(ctx->tbl, bl); in CMAC_Init()
265 explicit_bzero(out, bl); in CMAC_Final()
/dflybsd-src/crypto/libressl/crypto/evp/
H A Dp5_crpt.c155 explicit_bzero(md_tmp, EVP_MAX_MD_SIZE); in PKCS5_PBE_keyivgen()
156 explicit_bzero(key, EVP_MAX_KEY_LENGTH); in PKCS5_PBE_keyivgen()
157 explicit_bzero(iv, EVP_MAX_IV_LENGTH); in PKCS5_PBE_keyivgen()
H A Devp_key.c125 explicit_bzero(buff, BUFSIZ); in EVP_read_pw_string_min()
210 explicit_bzero(md_buf, sizeof md_buf); in EVP_BytesToKey()
/dflybsd-src/crypto/openssh/
H A Dcipher-chachapoly.c116 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
117 explicit_bzero(seqbuf, sizeof(seqbuf)); in chachapoly_crypt()
118 explicit_bzero(poly_key, sizeof(poly_key)); in chachapoly_crypt()
H A Dentropy.c90 explicit_bzero(buf, sizeof(buf)); in seed_rng()
106 explicit_bzero(buf, sizeof(buf)); in seed_rng()
H A Dcipher-chachapoly-libcrypto.c141 explicit_bzero(expected_tag, sizeof(expected_tag)); in chachapoly_crypt()
142 explicit_bzero(seqbuf, sizeof(seqbuf)); in chachapoly_crypt()
143 explicit_bzero(poly_key, sizeof(poly_key)); in chachapoly_crypt()
H A Dsshbuf-getput-crypto.c145 explicit_bzero(d, sizeof(d)); in sshbuf_put_bignum2()
148 explicit_bzero(d, sizeof(d)); in sshbuf_put_bignum2()
169 explicit_bzero(d, len); in sshbuf_put_ec()
H A Dssh-ecdsa-sk.c397 explicit_bzero(&sig_flags, sizeof(sig_flags)); in ssh_ecdsa_sk_verify()
398 explicit_bzero(&sig_counter, sizeof(sig_counter)); in ssh_ecdsa_sk_verify()
399 explicit_bzero(msghash, sizeof(msghash)); in ssh_ecdsa_sk_verify()
400 explicit_bzero(sighash, sizeof(msghash)); in ssh_ecdsa_sk_verify()
401 explicit_bzero(apphash, sizeof(apphash)); in ssh_ecdsa_sk_verify()
H A Dkexc25519.c69 explicit_bzero(zero, CURVE25519_SIZE); in kexc25519_shared_key_ext()
80 explicit_bzero(shared_key, CURVE25519_SIZE); in kexc25519_shared_key_ext()
159 explicit_bzero(server_key, sizeof(server_key)); in kex_c25519_enc()
H A Dkexgen.c242 explicit_bzero(hash, sizeof(hash)); in input_kex_gen_reply()
243 explicit_bzero(kex->c25519_client_key, sizeof(kex->c25519_client_key)); in input_kex_gen_reply()
244 explicit_bzero(kex->sntrup761_client_key, in input_kex_gen_reply()
364 explicit_bzero(hash, sizeof(hash)); in input_kex_gen_init()
H A Dkexsntrup761x25519.c152 explicit_bzero(hash, sizeof(hash)); in kex_kem_sntrup761x25519_enc()
153 explicit_bzero(server_key, sizeof(server_key)); in kex_kem_sntrup761x25519_enc()
218 explicit_bzero(hash, sizeof(hash)); in kex_kem_sntrup761x25519_dec()
H A Dreadpass.c103 explicit_bzero(buf, sizeof(buf)); in ssh_askpass()
109 explicit_bzero(buf, sizeof(buf)); in ssh_askpass()
195 explicit_bzero(buf, sizeof(buf)); in read_passphrase()
H A Dhmac.c86 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_init()
131 explicit_bzero(ctx->buf, ctx->buf_len); in ssh_hmac_free()
/dflybsd-src/sys/net/wg/
H A Dwg_noise.c343 explicit_bzero(l, sizeof(*l)); in noise_local_put()
608 explicit_bzero(r, sizeof(*r)); in noise_remote_put()
830 explicit_bzero(kp, sizeof(*kp)); in noise_keypair_put()
1084 explicit_bzero(key, sizeof(key)); in noise_create_initiation()
1166 explicit_bzero(key, sizeof(key)); in noise_consume_initiation()
1167 explicit_bzero(&hs, sizeof(hs)); in noise_consume_initiation()
1218 explicit_bzero(key, sizeof(key)); in noise_create_response()
1219 explicit_bzero(e, sizeof(e)); in noise_create_response()
1280 explicit_bzero(preshared_key, sizeof(preshared_key)); in noise_consume_response()
1281 explicit_bzero(key, sizeof(key)); in noise_consume_response()
[all …]
/dflybsd-src/crypto/libressl/ssl/
H A Dtls13_key_schedule.c256 explicit_bzero(secrets->extracted_early.data, in tls13_derive_early_secrets()
282 explicit_bzero(secrets->derived_early.data, in tls13_derive_handshake_secrets()
300 explicit_bzero(secrets->extracted_handshake.data, in tls13_derive_handshake_secrets()
327 explicit_bzero(secrets->derived_handshake.data, in tls13_derive_application_secrets()
349 explicit_bzero(secrets->extracted_master.data, in tls13_derive_application_secrets()
/dflybsd-src/crypto/libressl/crypto/pkcs12/
H A Dp12_crpt.c118 explicit_bzero(key, EVP_MAX_KEY_LENGTH); in PKCS12_PBE_keyivgen()
119 explicit_bzero(iv, EVP_MAX_IV_LENGTH); in PKCS12_PBE_keyivgen()
H A Dp12_decr.c141 explicit_bzero(out, outlen); in PKCS12_item_decrypt_d2i()
176 explicit_bzero(in, inlen); in PKCS12_item_i2d_encrypt()
/dflybsd-src/crypto/libressl/crypto/pem/
H A Dpem_lib.c404 explicit_bzero(buf, PEM_BUFSIZE); in PEM_ASN1_write_bio()
434 explicit_bzero(key, sizeof(key)); in PEM_ASN1_write_bio()
435 explicit_bzero(iv, sizeof(iv)); in PEM_ASN1_write_bio()
436 explicit_bzero((char *)&ctx, sizeof(ctx)); in PEM_ASN1_write_bio()
437 explicit_bzero(buf, PEM_BUFSIZE); in PEM_ASN1_write_bio()
477 explicit_bzero((char *)buf, sizeof(buf)); in PEM_do_header()
478 explicit_bzero((char *)key, sizeof(key)); in PEM_do_header()
/dflybsd-src/sys/crypto/
H A Dchachapoly.c192 explicit_bzero(ctx, sizeof(*ctx)); in _chacha20poly1305_final()
196 explicit_bzero(ctx, sizeof(*ctx)); in _chacha20poly1305_final()
274 explicit_bzero(derived_key, sizeof(derived_key)); in xchacha20poly1305_encrypt()
295 explicit_bzero(derived_key, sizeof(derived_key)); in xchacha20poly1305_decrypt()
/dflybsd-src/crypto/libressl/apps/nc/
H A Dsocks.c353 explicit_bzero(proxypass, sizeof proxypass); in socks_connect()
365 explicit_bzero(proxypass, sizeof proxypass); in socks_connect()
366 explicit_bzero(buf, sizeof buf); in socks_connect()
/dflybsd-src/lib/libc/stdlib/
H A Dfreezero.c30 explicit_bzero(ptr, sz); in freezero()
/dflybsd-src/gnu/usr.bin/grep/libgreputils/
H A Dstring.h555 _GL_FUNCDECL_SYS (explicit_bzero, void,
558 _GL_CXXALIAS_SYS (explicit_bzero, void, (void *__dest, size_t __n));
559 _GL_CXXALIASWARN (explicit_bzero);
561 # undef explicit_bzero
563 _GL_WARN_ON_USE (explicit_bzero, "explicit_bzero is unportable - "
/dflybsd-src/sys/libkern/
H A Dexplicit_bzero.c17 explicit_bzero(void *buf, size_t len) in explicit_bzero() function
/dflybsd-src/lib/libc/string/
H A Dexplicit_bzero.c17 explicit_bzero(void *buf, size_t len) in explicit_bzero() function

12345