Home
last modified time | relevance | path

Searched refs:OPENSSL_cleanse (Results 1 – 25 of 153) sorted by relevance

1234567

/openssl/crypto/ec/curve448/
H A Dcurve448.c275 OPENSSL_cleanse(ni, sizeof(ni)); in ossl_curve448_precomputed_scalarmul()
320 OPENSSL_cleanse(x, sizeof(x)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
321 OPENSSL_cleanse(y, sizeof(y)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
322 OPENSSL_cleanse(z, sizeof(z)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
323 OPENSSL_cleanse(t, sizeof(t)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
455 OPENSSL_cleanse(x1, sizeof(x1)); in ossl_x448_int()
456 OPENSSL_cleanse(x2, sizeof(x2)); in ossl_x448_int()
457 OPENSSL_cleanse(z2, sizeof(z2)); in ossl_x448_int()
458 OPENSSL_cleanse(x3, sizeof(x3)); in ossl_x448_int()
459 OPENSSL_cleanse(z3, sizeof(z3)); in ossl_x448_int()
[all …]
H A Deddsa.c149 OPENSSL_cleanse(secret_scalar_ser, sizeof(secret_scalar_ser)); in ossl_c448_ed448_derive_public_key()
195 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign()
198 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign()
208 OPENSSL_cleanse(nonce, sizeof(nonce)); in ossl_c448_ed448_sign()
241 OPENSSL_cleanse(challenge, sizeof(challenge)); in ossl_c448_ed448_sign()
247 OPENSSL_cleanse(signature, EDDSA_448_SIGNATURE_BYTES); in ossl_c448_ed448_sign()
354 OPENSSL_cleanse(challenge, sizeof(challenge)); in ossl_c448_ed448_verify()
/openssl/crypto/modes/
H A Dwrap128.c164 OPENSSL_cleanse(out, ret); in CRYPTO_128_unwrap()
284 OPENSSL_cleanse(buff, inlen); in CRYPTO_128_unwrap_pad()
289 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
301 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
315 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
325 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_wrap.c70 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
71 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
72 OPENSSL_cleanse(iv, 8); in des_ede3_unwrap()
73 OPENSSL_cleanse(ctx->iv, sizeof(ctx->iv)); in des_ede3_unwrap()
75 OPENSSL_cleanse(out, inl - 16); in des_ede3_unwrap()
97 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
/openssl/ssl/quic/
H A Dquic_record_shared.c98 OPENSSL_cleanse(el->iv[keyslot], sizeof(el->iv[keyslot])); in el_teardown_keyslot()
184 OPENSSL_cleanse(key, sizeof(key)); in el_setup_keyslot()
191 OPENSSL_cleanse(el->iv[keyslot], sizeof(el->iv[keyslot])); in el_setup_keyslot()
192 OPENSSL_cleanse(key, sizeof(key)); in el_setup_keyslot()
325 OPENSSL_cleanse(hpr_key, sizeof(hpr_key)); in ossl_qrl_enc_level_set_provide_secret()
326 OPENSSL_cleanse(ku_key, sizeof(ku_key)); in ossl_qrl_enc_level_set_provide_secret()
333 OPENSSL_cleanse(hpr_key, sizeof(hpr_key)); in ossl_qrl_enc_level_set_provide_secret()
334 OPENSSL_cleanse(ku_key, sizeof(ku_key)); in ossl_qrl_enc_level_set_provide_secret()
335 OPENSSL_cleanse(el->ku, sizeof(el->ku)); in ossl_qrl_enc_level_set_provide_secret()
/openssl/crypto/cmac/
H A Dcmac.c72 OPENSSL_cleanse(ctx->tbl, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
73 OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
74 OPENSSL_cleanse(ctx->k2, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
75 OPENSSL_cleanse(ctx->last_block, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup()
162 OPENSSL_cleanse(ctx->tbl, bl); in ossl_cmac_init()
273 OPENSSL_cleanse(out, bl); in CMAC_Final()
/openssl/crypto/evp/
H A Dp5_crpt.c103 OPENSSL_cleanse(md_tmp, EVP_MAX_MD_SIZE); in PKCS5_PBE_keyivgen_ex()
104 OPENSSL_cleanse(key, EVP_MAX_KEY_LENGTH); in PKCS5_PBE_keyivgen_ex()
105 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH); in PKCS5_PBE_keyivgen_ex()
H A De_des3.c353 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
354 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
355 OPENSSL_cleanse(iv, 8); in des_ede3_unwrap()
356 OPENSSL_cleanse(ctx->iv, 8); in des_ede3_unwrap()
358 OPENSSL_cleanse(out, inl - 16); in des_ede3_unwrap()
375 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
H A Devp_key.c72 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
152 OPENSSL_cleanse(md_buf, sizeof(md_buf)); in EVP_BytesToKey()
/openssl/crypto/ec/
H A Decx_s390x.c106 OPENSSL_cleanse(param.x25519.d_src, sizeof(param.x25519.d_src)); in s390x_x25519_mul()
142 OPENSSL_cleanse(param.x448.d_src, sizeof(param.x448.d_src)); in s390x_x448_mul()
176 OPENSSL_cleanse(param.ed25519.d_src, sizeof(param.ed25519.d_src)); in s390x_ed25519_mul()
215 OPENSSL_cleanse(param.ed448.d_src, sizeof(param.ed448.d_src)); in s390x_ed448_mul()
/openssl/crypto/md5/
H A Dmd5_sha1.c104 OPENSSL_cleanse(md5tmp, sizeof(md5tmp)); in ossl_md5_sha1_ctrl()
105 OPENSSL_cleanse(sha1tmp, sizeof(sha1tmp)); in ossl_md5_sha1_ctrl()
/openssl/crypto/des/
H A Dstr2key.c42 OPENSSL_cleanse(&ks, sizeof(ks)); in DES_string_to_key()
80 OPENSSL_cleanse(&ks, sizeof(ks)); in DES_string_to_2keys()
/openssl/crypto/pkcs12/
H A Dp12_crpt.c73 OPENSSL_cleanse(key, EVP_MAX_KEY_LENGTH); in PKCS12_PBE_keyivgen_ex()
74 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH); in PKCS12_PBE_keyivgen_ex()
/openssl/crypto/hmac/
H A Dhmac_s390x.c135 OPENSSL_cleanse(ctx->plat.s390x.param.hmac_224_256.h, in s390x_HMAC_init()
141 OPENSSL_cleanse(ctx->plat.s390x.param.hmac_384_512.h, in s390x_HMAC_init()
152 OPENSSL_cleanse(&ctx->plat.s390x.param.hmac_224_256.key, in s390x_HMAC_init()
159 OPENSSL_cleanse(&ctx->plat.s390x.param.hmac_384_512.key, in s390x_HMAC_init()
318 OPENSSL_cleanse(&ctx->plat.s390x.param, sizeof(ctx->plat.s390x.param)); in s390x_HMAC_CTX_cleanup()
/openssl/providers/implementations/kem/
H A Dml_kem_kem.c58 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); in ml_kem_freectx()
108 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); in ml_kem_set_ctx_params()
218 OPENSSL_cleanse(ctx->entropy, ML_KEM_RANDOM_BYTES); in ml_kem_encapsulate()
/openssl/test/
H A Dafalgtest.c62 OPENSSL_cleanse(ebuf, sizeof(ebuf)); in test_afalg_aes_cbc()
63 OPENSSL_cleanse(dbuf, sizeof(dbuf)); in test_afalg_aes_cbc()
/openssl/crypto/bn/
H A Drsaz_exp.c236 OPENSSL_cleanse(storage, sizeof(storage));
237 OPENSSL_cleanse(tmp, sizeof(tmp));
312 OPENSSL_cleanse(storage, sizeof(storage));
313 OPENSSL_cleanse(tmp, sizeof(tmp));
/openssl/crypto/
H A Dmem_clr.c22 void OPENSSL_cleanse(void *ptr, size_t len) in OPENSSL_cleanse() function
/openssl/crypto/md2/
H A Dmd2_dgst.c153 OPENSSL_cleanse(state, 48 * sizeof(MD2_INT)); in md2_block()
177 OPENSSL_cleanse(c, sizeof(*c)); in MD2_Final()
/openssl/crypto/ml_kem/
H A Dml_kem.c1400 OPENSSL_cleanse(key->d, ML_KEM_RANDOM_BYTES); in genkey()
1406 OPENSSL_cleanse((void *)augmented_seed, ML_KEM_RANDOM_BYTES); in genkey()
1407 OPENSSL_cleanse((void *)sigma, ML_KEM_RANDOM_BYTES); in genkey()
1436 OPENSSL_cleanse((void *)input, sizeof(input)); in encap()
1487 OPENSSL_cleanse(decrypted, ML_KEM_SHARED_SECRET_BYTES); in decap()
1494 OPENSSL_cleanse(decrypted, ML_KEM_SHARED_SECRET_BYTES); in decap()
1495 OPENSSL_cleanse(Kr, sizeof(Kr)); in decap()
1552 OPENSSL_cleanse(key->s, in ossl_ml_kem_key_reset()
1681 OPENSSL_cleanse(key->seedbuf, sizeof(key->seedbuf)); in ossl_ml_kem_key_free()
1683 OPENSSL_cleanse(key->encoded_dk, key->vinfo->prvkey_bytes); in ossl_ml_kem_key_free()
[all …]
/openssl/crypto/mdc2/
H A Dmdc2_one.c31 OPENSSL_cleanse(&c, sizeof(c)); /* security consideration */ in MDC2()
/openssl/crypto/ripemd/
H A Drmd_one.c32 OPENSSL_cleanse(&c, sizeof(c)); /* security consideration */ in RIPEMD160()
/openssl/providers/implementations/digests/
H A Dblake2b_prov.c148 OPENSSL_cleanse(block, BLAKE2B_BLOCKBYTES); in ossl_blake2b_init_key()
329 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2b_final()
332 OPENSSL_cleanse(c, sizeof(BLAKE2B_CTX)); in ossl_blake2b_final()
H A Dblake2s_prov.c138 OPENSSL_cleanse(block, BLAKE2S_BLOCKBYTES); in ossl_blake2s_init_key()
317 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2s_final()
320 OPENSSL_cleanse(c, sizeof(BLAKE2S_CTX)); in ossl_blake2s_final()
/openssl/apps/lib/
H A Dapps_ui.c212 OPENSSL_cleanse(buf, (unsigned int)bufsiz); in password_callback()
217 OPENSSL_cleanse(buf, (unsigned int)bufsiz); in password_callback()

Completed in 55 milliseconds

1234567