Home
last modified time | relevance | path

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

12

/external/boringssl/src/crypto/pem/
Dpem_lib.c314 OPENSSL_cleanse(buf, PEM_BUFSIZE); in PEM_ASN1_write_bio()
342 OPENSSL_cleanse(key, sizeof(key)); in PEM_ASN1_write_bio()
343 OPENSSL_cleanse(iv, sizeof(iv)); in PEM_ASN1_write_bio()
344 OPENSSL_cleanse((char *)&ctx, sizeof(ctx)); in PEM_ASN1_write_bio()
345 OPENSSL_cleanse(buf, PEM_BUFSIZE); in PEM_ASN1_write_bio()
347 OPENSSL_cleanse(data, (unsigned int)dsize); in PEM_ASN1_write_bio()
388 OPENSSL_cleanse((char *)buf, sizeof(buf)); in PEM_do_header()
389 OPENSSL_cleanse((char *)key, sizeof(key)); in PEM_do_header()
565 OPENSSL_cleanse(buf, PEM_BUFSIZE * 8); in PEM_write_bio()
575 OPENSSL_cleanse(buf, PEM_BUFSIZE * 8); in PEM_write_bio()
Dpem_info.c378 OPENSSL_cleanse((char *)&ctx, sizeof(ctx)); in PEM_X509_INFO_write_bio()
379 OPENSSL_cleanse(buf, PEM_BUFSIZE); in PEM_X509_INFO_write_bio()
Dpem_pkey.c142 OPENSSL_cleanse(data, len); in PEM_read_bio_PrivateKey()
Dpem_pk8.c138 OPENSSL_cleanse(buf, klen); in do_pk8pkey()
/external/boringssl/src/crypto/pkcs8/
Dpkcs8.c218 OPENSSL_cleanse(I, I_len); in pkcs12_key_gen()
222 OPENSSL_cleanse(pass_raw, pass_raw_len); in pkcs12_key_gen()
248 OPENSSL_cleanse(key, EVP_MAX_KEY_LENGTH); in pkcs12_pbe_cipher_init()
249 OPENSSL_cleanse(iv, EVP_MAX_IV_LENGTH); in pkcs12_pbe_cipher_init()
434 OPENSSL_cleanse(out, out_len); in PKCS8_parse_encrypted_private_key()
517 OPENSSL_cleanse(plaintext, plaintext_len); in PKCS8_marshal_encrypted_private_key()
/external/boringssl/src/crypto/cmac/
Dcmac.c79 OPENSSL_cleanse(ctx->k1, sizeof(ctx->k1)); in CMAC_CTX_cleanup()
80 OPENSSL_cleanse(ctx->k2, sizeof(ctx->k2)); in CMAC_CTX_cleanup()
81 OPENSSL_cleanse(ctx->block, sizeof(ctx->block)); in CMAC_CTX_cleanup()
/external/boringssl/src/crypto/x509/
Da_sign.c126 OPENSSL_cleanse((char *)buf_in, (unsigned int)inl); in ASN1_item_sign_ctx()
130 OPENSSL_cleanse((char *)buf_out, outll); in ASN1_item_sign_ctx()
Da_verify.c113 OPENSSL_cleanse(buf_in, inl); in ASN1_item_verify()
/external/boringssl/src/ssl/
Ds3_both.cc155 OPENSSL_cleanse(hs->secret, sizeof(hs->secret)); in ssl_handshake_free()
156 OPENSSL_cleanse(hs->early_traffic_secret, sizeof(hs->early_traffic_secret)); in ssl_handshake_free()
157 OPENSSL_cleanse(hs->client_handshake_secret, in ssl_handshake_free()
159 OPENSSL_cleanse(hs->server_handshake_secret, in ssl_handshake_free()
161 OPENSSL_cleanse(hs->client_traffic_secret_0, in ssl_handshake_free()
163 OPENSSL_cleanse(hs->server_traffic_secret_0, in ssl_handshake_free()
182 OPENSSL_cleanse(hs->key_block, hs->key_block_len); in ssl_handshake_free()
Ds3_lib.cc205 OPENSSL_cleanse(ssl->s3, sizeof *ssl->s3); in ssl3_free()
Dt1_enc.cc223 OPENSSL_cleanse(A1, sizeof(A1)); in tls1_P_hash()
319 OPENSSL_cleanse(smd, SHA_DIGEST_LENGTH); in ssl3_prf()
Dssl_session.cc375 OPENSSL_cleanse(session->master_key, sizeof(session->master_key)); in SSL_SESSION_free()
376 OPENSSL_cleanse(session->session_id, sizeof(session->session_id)); in SSL_SESSION_free()
385 OPENSSL_cleanse(session, sizeof(*session)); in SSL_SESSION_free()
/external/boringssl/src/crypto/
Dmem.c100 OPENSSL_cleanse(ptr, old_size); in OPENSSL_MSVC_PRAGMA()
105 void OPENSSL_cleanse(void *ptr, size_t len) { in OPENSSL_cleanse() function
/external/boringssl/src/crypto/fipsmodule/digest/
Ddigest.c94 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_MD_CTX_cleanup()
205 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn.c111 OPENSSL_cleanse(bn->d, bn->dmax * sizeof(bn->d[0])); in BN_clear_free()
118 OPENSSL_cleanse(bn, sizeof(BIGNUM)); in BN_clear_free()
Drandom.c192 OPENSSL_cleanse(buf, bytes); in bn_rand_with_additional_data()
/external/libchrome/crypto/
Dsecure_hash.cc35 OPENSSL_cleanse(&ctx_, sizeof(ctx_)); in ~SecureHashSHA256()
/external/boringssl/src/include/openssl/
Dmem.h89 OPENSSL_EXPORT void OPENSSL_cleanse(void *ptr, size_t len);
/external/boringssl/src/crypto/cipher_extra/
Dderive_key.c150 OPENSSL_cleanse(md_buf, EVP_MAX_MD_SIZE); in EVP_BytesToKey()
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha256.c105 OPENSSL_cleanse(&ctx, sizeof(ctx)); in SHA224()
114 OPENSSL_cleanse(&ctx, sizeof(ctx)); in SHA256()
/external/boringssl/src/crypto/buf/
Dbuf.c86 OPENSSL_cleanse(buf->data, buf->max); in BUF_MEM_free()
/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg.c199 OPENSSL_cleanse(drbg, sizeof(CTR_DRBG_STATE)); in CTR_DRBG_clear()
/external/boringssl/src/crypto/fipsmodule/hmac/
Dhmac.c94 OPENSSL_cleanse(ctx, sizeof(HMAC_CTX)); in HMAC_CTX_cleanup()
/external/boringssl/src/crypto/evp/
Dp_ed25519_asn1.c29 OPENSSL_cleanse(key, sizeof(ED25519_KEY)); in ed25519_free()
/external/boringssl/src/crypto/fipsmodule/rsa/
Drsa_impl.c204 OPENSSL_cleanse(buf, rsa_size); in RSA_encrypt()
364 OPENSSL_cleanse(buf, rsa_size); in rsa_default_sign_raw()
427 OPENSSL_cleanse(buf, rsa_size); in rsa_default_decrypt()

12