Home
last modified time | relevance | path

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

123456

/freebsd-14.2/crypto/openssl/crypto/ec/curve448/
H A Dcurve448.c274 OPENSSL_cleanse(ni, sizeof(ni)); in ossl_curve448_precomputed_scalarmul()
319 OPENSSL_cleanse(x, sizeof(x)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
320 OPENSSL_cleanse(y, sizeof(y)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
321 OPENSSL_cleanse(z, sizeof(z)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
322 OPENSSL_cleanse(t, sizeof(t)); in ossl_curve448_point_mul_by_ratio_and_encode_like_eddsa()
454 OPENSSL_cleanse(x1, sizeof(x1)); in ossl_x448_int()
455 OPENSSL_cleanse(x2, sizeof(x2)); in ossl_x448_int()
456 OPENSSL_cleanse(z2, sizeof(z2)); in ossl_x448_int()
457 OPENSSL_cleanse(x3, sizeof(x3)); in ossl_x448_int()
458 OPENSSL_cleanse(z3, sizeof(z3)); in ossl_x448_int()
[all …]
H A Deddsa.c153 OPENSSL_cleanse(secret_scalar_ser, sizeof(secret_scalar_ser)); in ossl_c448_ed448_derive_public_key()
199 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign()
202 OPENSSL_cleanse(expanded, sizeof(expanded)); in ossl_c448_ed448_sign()
212 OPENSSL_cleanse(nonce, sizeof(nonce)); in ossl_c448_ed448_sign()
245 OPENSSL_cleanse(challenge, sizeof(challenge)); in ossl_c448_ed448_sign()
251 OPENSSL_cleanse(signature, EDDSA_448_SIGNATURE_BYTES); in ossl_c448_ed448_sign()
347 OPENSSL_cleanse(challenge, sizeof(challenge)); in ossl_c448_ed448_verify()
/freebsd-14.2/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_tdes_wrap.c71 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
72 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
73 OPENSSL_cleanse(iv, 8); in des_ede3_unwrap()
74 OPENSSL_cleanse(ctx->iv, sizeof(ctx->iv)); in des_ede3_unwrap()
76 OPENSSL_cleanse(out, inl - 16); in des_ede3_unwrap()
98 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_wrap()
/freebsd-14.2/crypto/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()
/freebsd-14.2/sys/crypto/openssl/aarch64/
H A Darm64cpuid.S76 .globl OPENSSL_cleanse
77 .type OPENSSL_cleanse,%function
79 OPENSSL_cleanse: label
106 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/sys/crypto/openssl/powerpc64/
H A Dppccpuid.S145 .globl OPENSSL_cleanse
146 .type OPENSSL_cleanse,@function
148 OPENSSL_cleanse: label
149 .localentry OPENSSL_cleanse,0
179 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/sys/crypto/openssl/powerpc64le/
H A Dppccpuid.S145 .globl OPENSSL_cleanse
146 .type OPENSSL_cleanse,@function
148 OPENSSL_cleanse: label
149 .localentry OPENSSL_cleanse,0
179 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/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()
152 OPENSSL_cleanse(ctx->tbl, bl); in CMAC_Init()
231 OPENSSL_cleanse(out, bl); in CMAC_Final()
/freebsd-14.2/sys/crypto/openssl/powerpc/
H A Dppccpuid.S126 .globl OPENSSL_cleanse
127 .type OPENSSL_cleanse,@function
129 OPENSSL_cleanse: label
158 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/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()
/freebsd-14.2/crypto/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.c351 OPENSSL_cleanse(icv, 8); in des_ede3_unwrap()
352 OPENSSL_cleanse(sha1tmp, SHA_DIGEST_LENGTH); in des_ede3_unwrap()
353 OPENSSL_cleanse(iv, 8); in des_ede3_unwrap()
354 OPENSSL_cleanse(ctx->iv, 8); in des_ede3_unwrap()
356 OPENSSL_cleanse(out, inl - 16); in des_ede3_unwrap()
373 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()
/freebsd-14.2/sys/crypto/openssl/arm/
H A Darmv4cpuid.S51 .globl OPENSSL_cleanse
52 .type OPENSSL_cleanse,%function
53 OPENSSL_cleanse: label
88 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/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()
/freebsd-14.2/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()
/freebsd-14.2/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()
/freebsd-14.2/crypto/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()
/freebsd-14.2/crypto/openssl/crypto/bn/
H A Drsaz_exp.c243 OPENSSL_cleanse(storage, sizeof(storage));
244 OPENSSL_cleanse(tmp, sizeof(tmp));
319 OPENSSL_cleanse(storage, sizeof(storage));
320 OPENSSL_cleanse(tmp, sizeof(tmp));
/freebsd-14.2/sys/crypto/openssl/amd64/
H A Dx86_64cpuid.S212 .globl OPENSSL_cleanse
213 .type OPENSSL_cleanse,@function
215 OPENSSL_cleanse: label
248 .size OPENSSL_cleanse,.-OPENSSL_cleanse
/freebsd-14.2/crypto/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()
/freebsd-14.2/crypto/openssl/crypto/rsa/
H A Drsa_oaep.c136 OPENSSL_cleanse(seedmask, sizeof(seedmask)); in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
318 OPENSSL_cleanse(seed, sizeof(seed)); in RSA_padding_check_PKCS1_OAEP_mgf1()
372 OPENSSL_cleanse(md, sizeof(md)); in PKCS1_MGF1()
/freebsd-14.2/crypto/openssl/providers/implementations/digests/
H A Dblake2s_prov.c140 OPENSSL_cleanse(block, BLAKE2S_BLOCKBYTES); in ossl_blake2s_init_key()
319 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2s_final()
322 OPENSSL_cleanse(c, sizeof(BLAKE2S_CTX)); in ossl_blake2s_final()
H A Dblake2b_prov.c147 OPENSSL_cleanse(block, BLAKE2B_BLOCKBYTES); in ossl_blake2b_init_key()
328 OPENSSL_cleanse(target, sizeof(outbuffer)); in ossl_blake2b_final()
331 OPENSSL_cleanse(c, sizeof(BLAKE2B_CTX)); in ossl_blake2b_final()
/freebsd-14.2/crypto/openssl/crypto/
H A Dmem_clr.c22 void OPENSSL_cleanse(void *ptr, size_t len) in OPENSSL_cleanse() function

123456