Home
last modified time | relevance | path

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

1234567

/src/crypto/openssl/crypto/ec/curve448/
H A Dcurve448.c269 OPENSSL_cleanse(ni, sizeof(ni)); in ossl_curve448_precomputed_scalarmul()
270 OPENSSL_cleanse(scalar1x, sizeof(scalar1x)); in ossl_curve448_precomputed_scalarmul()
300 OPENSSL_cleanse(u, sizeof(u)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
313 OPENSSL_cleanse(x, sizeof(x)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
314 OPENSSL_cleanse(y, sizeof(y)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
315 OPENSSL_cleanse(z, sizeof(z)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
316 OPENSSL_cleanse(t, sizeof(t)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
367 OPENSSL_cleanse(a, sizeof(a)); in ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio()
368 OPENSSL_cleanse(b, sizeof(b)); in ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio()
369 OPENSSL_cleanse(c, sizeof(c)); in ossl_curve448_point_decode_like_eddsa_and_mul_by_ratio()
[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()
352 OPENSSL_cleanse(challenge, sizeof(challenge)); in ossl_c448_ed448_verify()
/src/crypto/openssl/crypto/modes/
H A Dwrap128.c171 OPENSSL_cleanse(out, ret); in CRYPTO_128_unwrap()
291 OPENSSL_cleanse(buff, inlen); in CRYPTO_128_unwrap_pad()
296 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
308 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
322 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
332 OPENSSL_cleanse(out, inlen); in CRYPTO_128_unwrap_pad()
/src/crypto/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()
/src/crypto/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()
/src/sys/crypto/openssl/powerpc64le/
H A Dppccpuid.S159 .globl OPENSSL_cleanse symbol
160 .type OPENSSL_cleanse,@function
162 OPENSSL_cleanse: label
163 .localentry OPENSSL_cleanse,0
193 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/sys/crypto/openssl/powerpc64/
H A Dppccpuid.S159 .globl OPENSSL_cleanse symbol
160 .type OPENSSL_cleanse,@function
162 OPENSSL_cleanse: label
163 .localentry OPENSSL_cleanse,0
193 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/crypto/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()
272 OPENSSL_cleanse(out, bl); in CMAC_Final()
/src/sys/crypto/openssl/powerpc/
H A Dppccpuid.S138 .globl OPENSSL_cleanse symbol
139 .type OPENSSL_cleanse,@function
141 OPENSSL_cleanse: label
170 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/crypto/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()
/src/crypto/openssl/crypto/evp/
H A Dp5_crpt.c102 OPENSSL_cleanse(md_tmp, EVP_MAX_MD_SIZE); in PKCS5_PBE_keyivgen_ex()
103 OPENSSL_cleanse(key, EVP_MAX_KEY_LENGTH); in PKCS5_PBE_keyivgen_ex()
104 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH); in PKCS5_PBE_keyivgen_ex()
H A De_des3.c350 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
351 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
352 OPENSSL_cleanse(iv, 8); in des_ede3_unwrap()
353 OPENSSL_cleanse(ctx->iv, 8); in des_ede3_unwrap()
355 OPENSSL_cleanse(out, inl - 16); in des_ede3_unwrap()
372 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
H A Devp_key.c74 OPENSSL_cleanse(buff, BUFSIZ); in EVP_read_pw_string_min()
154 OPENSSL_cleanse(md_buf, sizeof(md_buf)); in EVP_BytesToKey()
/src/sys/crypto/openssl/aarch64/
H A Darm64cpuid.S116 .globl OPENSSL_cleanse symbol
117 .type OPENSSL_cleanse,%function
119 OPENSSL_cleanse: label
146 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/sys/crypto/openssl/arm/
H A Darmv4cpuid.S51 .globl OPENSSL_cleanse symbol
52 .type OPENSSL_cleanse,%function
53 OPENSSL_cleanse: label
88 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/crypto/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()
/src/crypto/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()
/src/crypto/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()
/src/crypto/openssl/crypto/hmac/
H A Dhmac_s390x.c133 OPENSSL_cleanse(ctx->plat.s390x.param.hmac_224_256.h, in s390x_HMAC_init()
139 OPENSSL_cleanse(ctx->plat.s390x.param.hmac_384_512.h, in s390x_HMAC_init()
150 OPENSSL_cleanse(&ctx->plat.s390x.param.hmac_224_256.key, in s390x_HMAC_init()
157 OPENSSL_cleanse(&ctx->plat.s390x.param.hmac_384_512.key, in s390x_HMAC_init()
326 OPENSSL_cleanse(&ctx->plat.s390x.param, sizeof(ctx->plat.s390x.param)); in s390x_HMAC_CTX_cleanup()
/src/crypto/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()
/src/crypto/openssl/test/
H A Dafalgtest.c56 OPENSSL_cleanse(ebuf, sizeof(ebuf)); in test_afalg_aes_cbc()
57 OPENSSL_cleanse(dbuf, sizeof(dbuf)); in test_afalg_aes_cbc()
/src/crypto/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));
/src/sys/crypto/openssl/amd64/
H A Dx86_64cpuid.S238 .globl OPENSSL_cleanse symbol
239 .type OPENSSL_cleanse,@function
241 OPENSSL_cleanse: label
274 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/src/crypto/openssl/crypto/ml_kem/
H A Dml_kem.c1734 OPENSSL_cleanse(key->d, ML_KEM_RANDOM_BYTES); in genkey()
1740 OPENSSL_cleanse((void *)augmented_seed, ML_KEM_RANDOM_BYTES); in genkey()
1741 OPENSSL_cleanse((void *)sigma, ML_KEM_RANDOM_BYTES); in genkey()
1771 OPENSSL_cleanse((void *)input, sizeof(input)); in encap()
1832 OPENSSL_cleanse(decrypted, ML_KEM_SHARED_SECRET_BYTES); in decap()
1839 OPENSSL_cleanse(decrypted, ML_KEM_SHARED_SECRET_BYTES); in decap()
1840 OPENSSL_cleanse(Kr, sizeof(Kr)); in decap()
1895 OPENSSL_cleanse(key->s, in ossl_ml_kem_key_reset()
2025 OPENSSL_cleanse(key->seedbuf, sizeof(key->seedbuf)); in ossl_ml_kem_key_free()
2027 OPENSSL_cleanse(key->encoded_dk, key->vinfo->prvkey_bytes); in ossl_ml_kem_key_free()
[all …]
/src/crypto/openssl/crypto/md2/
H A Dmd2_dgst.c377 OPENSSL_cleanse(state, 48 * sizeof(MD2_INT)); in md2_block()
401 OPENSSL_cleanse(c, sizeof(*c)); in MD2_Final()

1234567