Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/pem/
Dpem_lib.c348 if (kstr == (unsigned char *)buf) OPENSSL_cleanse(buf,PEM_BUFSIZE); in PEM_ASN1_write_bio()
377 OPENSSL_cleanse(key,sizeof(key)); in PEM_ASN1_write_bio()
378 OPENSSL_cleanse(iv,sizeof(iv)); in PEM_ASN1_write_bio()
379 OPENSSL_cleanse((char *)&ctx,sizeof(ctx)); in PEM_ASN1_write_bio()
380 OPENSSL_cleanse(buf,PEM_BUFSIZE); in PEM_ASN1_write_bio()
383 OPENSSL_cleanse(data,(unsigned int)dsize); in PEM_ASN1_write_bio()
423 OPENSSL_cleanse((char *)buf,sizeof(buf)); in PEM_do_header()
424 OPENSSL_cleanse((char *)key,sizeof(key)); in PEM_do_header()
596 OPENSSL_cleanse(buf, PEM_BUFSIZE*8); in PEM_write_bio()
606 OPENSSL_cleanse(buf, PEM_BUFSIZE*8); in PEM_write_bio()
Dpem_info.c401 OPENSSL_cleanse((char *)&ctx,sizeof(ctx)); in PEM_X509_INFO_write_bio()
402 OPENSSL_cleanse(buf,PEM_BUFSIZE); in PEM_X509_INFO_write_bio()
Dpem_pk8.c138 if(kstr == buf) OPENSSL_cleanse(buf, klen); in do_pk8pkey()
/external/boringssl/src/crypto/x509/
Da_verify.c110 OPENSSL_cleanse(buf_in,(unsigned int)inl); in ASN1_item_verify()
116 OPENSSL_cleanse(buf_in,(unsigned int)inl); in ASN1_item_verify()
Da_sign.c132 { OPENSSL_cleanse((char *)buf_in,(unsigned int)inl); OPENSSL_free(buf_in); } in ASN1_item_sign_ctx()
134 { OPENSSL_cleanse((char *)buf_out,outll); OPENSSL_free(buf_out); } in ASN1_item_sign_ctx()
/external/boringssl/src/crypto/cmac/
Dcmac.c77 OPENSSL_cleanse(ctx->k1, sizeof(ctx->k1)); in CMAC_CTX_cleanup()
78 OPENSSL_cleanse(ctx->k2, sizeof(ctx->k2)); in CMAC_CTX_cleanup()
79 OPENSSL_cleanse(ctx->block, sizeof(ctx->block)); in CMAC_CTX_cleanup()
/external/boringssl/src/crypto/
Dmem.c100 OPENSSL_cleanse(ptr, old_size); in OPENSSL_realloc_clean()
105 void OPENSSL_cleanse(void *ptr, size_t len) { in OPENSSL_cleanse() function
/external/boringssl/src/crypto/digest/
Ddigest.c92 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_MD_CTX_cleanup()
202 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
/external/boringssl/src/crypto/bn/
Dbn.c110 OPENSSL_cleanse(bn->d, bn->dmax * sizeof(bn->d[0])); in BN_clear_free()
117 OPENSSL_cleanse(bn, sizeof(BIGNUM)); in BN_clear_free()
Drsaz_exp.c259 OPENSSL_cleanse(storage,sizeof(storage)); in RSAZ_1024_mod_exp_avx2()
323 OPENSSL_cleanse(storage,sizeof(storage)); in RSAZ_512_mod_exp()
Drandom.c174 OPENSSL_cleanse(buf, bytes); in BN_rand()
/external/boringssl/src/crypto/pkcs8/
Dp8_pkey.c71 OPENSSL_cleanse(key->pkey->value.octet_string->data, in pkey_cb()
Dpkcs8.c263 OPENSSL_cleanse(key, EVP_MAX_KEY_LENGTH); in pkcs12_pbe_keyivgen()
264 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH); in pkcs12_pbe_keyivgen()
470 OPENSSL_cleanse(out, out_len); in pkcs12_item_decrypt_d2i()
490 OPENSSL_cleanse(pass_raw, pass_raw_len); in PKCS8_decrypt()
529 OPENSSL_cleanse(in, in_len); in pkcs12_item_i2d_encrypt()
547 OPENSSL_cleanse(pass_raw, pass_raw_len); in PKCS8_encrypt()
/external/boringssl/src/include/openssl/
Dmem.h89 OPENSSL_EXPORT void OPENSSL_cleanse(void *ptr, size_t len);
/external/libchrome/crypto/
Dsecure_hash_openssl.cc30 OPENSSL_cleanse(&ctx_, sizeof(ctx_)); in ~SecureHashSHA256OpenSSL()
/external/boringssl/src/crypto/cipher/
Dderive_key.c152 OPENSSL_cleanse(md_buf, EVP_MAX_MD_SIZE); in EVP_BytesToKey()
/external/boringssl/
Dandroid_compat_keywrap.c121 OPENSSL_cleanse(out, inlen); in AES_unwrap_key()
/external/boringssl/src/ssl/
Ds3_enc.c224 OPENSSL_cleanse(smd, SHA_DIGEST_LENGTH); in ssl3_prf()
233 OPENSSL_cleanse(ssl->s3->tmp.key_block, ssl->s3->tmp.key_block_length); in ssl3_cleanup_key_block()
Dssl_ecdh.c166 OPENSSL_cleanse(ctx->data, 32); in ssl_x25519_cleanup()
259 OPENSSL_cleanse(secret, (size_t)secret_len); in ssl_dhe_compute_secret()
Dssl_session.c194 OPENSSL_cleanse(session->master_key, sizeof(session->master_key)); in SSL_SESSION_free()
195 OPENSSL_cleanse(session->session_id, sizeof(session->session_id)); in SSL_SESSION_free()
203 OPENSSL_cleanse(session, sizeof(*session)); in SSL_SESSION_free()
/external/boringssl/src/crypto/sha/
Dsha256.c109 OPENSSL_cleanse(&ctx, sizeof(ctx)); in SHA224()
124 OPENSSL_cleanse(&ctx, sizeof(ctx)); in SHA256()
/external/boringssl/src/crypto/rsa/
Drsa_impl.c181 OPENSSL_cleanse(buf, rsa_size); in rsa_default_encrypt()
338 OPENSSL_cleanse(buf, rsa_size); in rsa_default_sign_raw()
403 OPENSSL_cleanse(buf, rsa_size); in rsa_default_decrypt()
519 OPENSSL_cleanse(buf, rsa_size); in rsa_default_verify_raw()
/external/boringssl/src/crypto/rand/
Drand.c71 OPENSSL_cleanse(state, sizeof(struct rand_thread_state)); in rand_thread_state_free()
/external/boringssl/src/crypto/buf/
Dbuf.c84 OPENSSL_cleanse(buf->data, buf->max); in BUF_MEM_free()
/external/boringssl/src/crypto/hmac/
Dhmac.c100 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); in HMAC_CTX_cleanup()

12