| /src/crypto/openssl/crypto/ec/curve448/ |
| H A D | curve448.c | 269 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 D | eddsa.c | 149 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 D | wrap128.c | 171 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 D | cipher_tdes_wrap.c | 70 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 D | quic_record_shared.c | 98 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 D | ppccpuid.S | 159 .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 D | ppccpuid.S | 159 .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 D | cmac.c | 72 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 D | ppccpuid.S | 138 .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 D | ecx_s390x.c | 106 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 D | p5_crpt.c | 102 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 D | e_des3.c | 350 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 D | evp_key.c | 74 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 D | arm64cpuid.S | 116 .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 D | armv4cpuid.S | 51 .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 D | md5_sha1.c | 104 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 D | str2key.c | 42 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 D | p12_crpt.c | 73 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 D | hmac_s390x.c | 133 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 D | ml_kem_kem.c | 58 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 D | afalgtest.c | 56 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 D | rsaz_exp.c | 236 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 D | x86_64cpuid.S | 238 .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 D | ml_kem.c | 1734 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 D | md2_dgst.c | 377 OPENSSL_cleanse(state, 48 * sizeof(MD2_INT)); in md2_block() 401 OPENSSL_cleanse(c, sizeof(*c)); in MD2_Final()
|