Home
last modified time | relevance | path

Searched refs:OPENSSL_clear_free (Results 1 – 25 of 68) sorted by relevance

123

/third_party/openssl/crypto/kdf/
Dhkdf.c64 OPENSSL_clear_free(kctx->salt, kctx->salt_len); in pkey_hkdf_cleanup()
65 OPENSSL_clear_free(kctx->key, kctx->key_len); in pkey_hkdf_cleanup()
94 OPENSSL_clear_free(kctx->salt, kctx->salt_len); in pkey_hkdf_ctrl()
108 OPENSSL_clear_free(kctx->key, kctx->key_len); in pkey_hkdf_ctrl()
182 OPENSSL_clear_free(kctx->key, kctx->key_len); in pkey_hkdf_derive_init()
183 OPENSSL_clear_free(kctx->salt, kctx->salt_len); in pkey_hkdf_derive_init()
Dtls1_prf.c52 OPENSSL_clear_free(kctx->sec, kctx->seclen); in pkey_tls1_prf_cleanup()
69 OPENSSL_clear_free(kctx->sec, kctx->seclen); in pkey_tls1_prf_ctrl()
266 OPENSSL_clear_free(tmp, olen); in tls1_prf_alg()
271 OPENSSL_clear_free(tmp, olen); in tls1_prf_alg()
Dscrypt.c84 OPENSSL_clear_free(kctx->salt, kctx->salt_len); in pkey_scrypt_cleanup()
85 OPENSSL_clear_free(kctx->pass, kctx->pass_len); in pkey_scrypt_cleanup()
100 OPENSSL_clear_free(*buffer, *buflen); in pkey_scrypt_set_membuf()
/third_party/openssl/crypto/asn1/
Da_sign.c110 OPENSSL_clear_free((char *)buf_in, inll); in ASN1_sign()
111 OPENSSL_clear_free((char *)buf_out, outll); in ASN1_sign()
238 OPENSSL_clear_free((char *)buf_in, inl); in ASN1_item_sign_ctx()
239 OPENSSL_clear_free((char *)buf_out, outll); in ASN1_item_sign_ctx()
Da_verify.c66 OPENSSL_clear_free(buf_in, (unsigned int)inl); in ASN1_verify()
175 OPENSSL_clear_free(buf_in, inll); in ASN1_item_verify()
Dt_pkey.c91 OPENSSL_clear_free(buf, buflen); in ASN1_bn_print()
/third_party/openssl/crypto/cms/
Dcms_enc.c120 OPENSSL_clear_free(ec->key, ec->keylen); in cms_EncryptedContent_init_bio()
155 OPENSSL_clear_free(ec->key, ec->keylen); in cms_EncryptedContent_init_bio()
158 OPENSSL_clear_free(tkey, tkeylen); in cms_EncryptedContent_init_bio()
Dcms_pwri.c226 OPENSSL_clear_free(tmp, inlen); in kek_unwrap_key()
376 OPENSSL_clear_free(ec->key, ec->keylen); in cms_RecipientInfo_pwri_crypt()
Dcms_env.c427 OPENSSL_clear_free(ec->key, ec->keylen); in cms_RecipientInfo_ktri_decrypt()
740 OPENSSL_clear_free(ec->key, ec->keylen); in cms_RecipientInfo_kekri_decrypt()
896 OPENSSL_clear_free(ec->key, ec->keylen); in cms_EnvelopedData_init_bio()
/third_party/openssl/crypto/rsa/
Drsa_sign.c112 OPENSSL_clear_free(tmps, (size_t)encoded_len); in RSA_sign()
234 OPENSSL_clear_free(encoded, (size_t)encoded_len); in int_rsa_verify()
235 OPENSSL_clear_free(decrypt_buf, siglen); in int_rsa_verify()
Drsa_saos.c50 OPENSSL_clear_free(s, (unsigned int)j + 1); in RSA_sign_ASN1_OCTET_STRING()
93 OPENSSL_clear_free(s, (unsigned int)siglen); in RSA_verify_ASN1_OCTET_STRING()
Drsa_oaep.c104 OPENSSL_clear_free(dbmask, dbmask_len); in RSA_padding_add_PKCS1_OAEP_mgf1()
267 OPENSSL_clear_free(db, dblen); in RSA_padding_check_PKCS1_OAEP_mgf1()
268 OPENSSL_clear_free(em, num); in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa_ossl.c153 OPENSSL_clear_free(buf, num); in rsa_ossl_public_encrypt()
363 OPENSSL_clear_free(buf, num); in rsa_ossl_private_encrypt()
506 OPENSSL_clear_free(buf, num); in rsa_ossl_private_decrypt()
602 OPENSSL_clear_free(buf, num); in rsa_ossl_public_decrypt()
Drsa_ssl.c171 OPENSSL_clear_free(em, num); in RSA_padding_check_SSLv23()
Drsa_pk1.c250 OPENSSL_clear_free(em, num); in RSA_padding_check_PKCS1_type_2()
/third_party/openssl/crypto/poly1305/
Dpoly1305_pmeth.c47 OPENSSL_clear_free(pctx->ktmp.data, pctx->ktmp.length); in pkey_poly1305_cleanup()
48 OPENSSL_clear_free(pctx, sizeof(*pctx)); in pkey_poly1305_cleanup()
/third_party/openssl/crypto/siphash/
Dsiphash_pmeth.c47 OPENSSL_clear_free(pctx->ktmp.data, pctx->ktmp.length); in pkey_siphash_cleanup()
48 OPENSSL_clear_free(pctx, sizeof(*pctx)); in pkey_siphash_cleanup()
/third_party/openssl/crypto/pkcs12/
Dp12_key.c49 OPENSSL_clear_free(unipass, uniplen); in PKCS12_key_gen_asc()
72 OPENSSL_clear_free(unipass, uniplen); in PKCS12_key_gen_utf8()
/third_party/openssl/crypto/rand/
Drand_lib.c221 OPENSSL_clear_free(out, outlen); in rand_drbg_cleanup_entropy()
272 OPENSSL_clear_free(out, outlen); in rand_drbg_cleanup_nonce()
524 OPENSSL_clear_free(pool->buffer, pool->alloc_len); in rand_pool_free()
648 OPENSSL_clear_free(pool->buffer, pool->alloc_len); in rand_pool_grow()
/third_party/openssl/crypto/evp/
Dp_open.c60 OPENSSL_clear_free(key, size);
/third_party/openssl/crypto/pkcs7/
Dpk7_doit.c184 OPENSSL_clear_free(*pek, *peklen); in pkcs7_decrypt_rinfo()
544 OPENSSL_clear_free(ek, eklen); in PKCS7_dataDecode()
555 OPENSSL_clear_free(ek, eklen); in PKCS7_dataDecode()
557 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()
585 OPENSSL_clear_free(ek, eklen); in PKCS7_dataDecode()
586 OPENSSL_clear_free(tkey, tkeylen); in PKCS7_dataDecode()
/third_party/openssl/doc/man3/
DOPENSSL_malloc.pod7 OPENSSL_clear_realloc, OPENSSL_clear_free, OPENSSL_cleanse,
40 void OPENSSL_clear_free(void *str, size_t num)
100 OPENSSL_clear_realloc() and OPENSSL_clear_free() should be used
213 OPENSSL_malloc_init(), OPENSSL_free(), OPENSSL_clear_free()
/third_party/openssl/crypto/dsa/
Ddsa_asn1.c152 OPENSSL_clear_free(der, derlen); in DSA_verify()
/third_party/openssl/crypto/hmac/
Dhm_pmeth.c80 OPENSSL_clear_free(hctx->ktmp.data, hctx->ktmp.length); in pkey_hmac_cleanup()
/third_party/openssl/crypto/buffer/
Dbuffer.c51 OPENSSL_clear_free(a->data, a->max); in BUF_MEM_free()

123