Searched refs:inner_cipher_data (Results 1 – 2 of 2) sorted by relevance
/netbsd-src/crypto/external/bsd/openssl/dist/engines/ |
H A D | e_dasync.c | 163 void *inner_cipher_data; member 643 void *inner_cipher_data = OPENSSL_malloc(sz); in dasync_cipher_ctrl_helper() local 645 if (inner_cipher_data == NULL) in dasync_cipher_ctrl_helper() 647 memcpy(inner_cipher_data, pipe_ctx->inner_cipher_data, sz); in dasync_cipher_ctrl_helper() 648 pipe_ctx->inner_cipher_data = inner_cipher_data; in dasync_cipher_ctrl_helper() 670 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data); in dasync_cipher_ctrl_helper() 723 if (pipe_ctx->inner_cipher_data == NULL in dasync_cipher_init_key_helper() 725 pipe_ctx->inner_cipher_data = OPENSSL_zalloc( in dasync_cipher_init_key_helper() 727 if (pipe_ctx->inner_cipher_data == NULL) { in dasync_cipher_init_key_helper() 737 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data); in dasync_cipher_init_key_helper() [all …]
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/engines/ |
H A D | e_dasync.c | 136 void *inner_cipher_data; member 597 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data); in dasync_cipher_ctrl_helper() 644 memcpy(cipher_data, pipe_ctx->inner_cipher_data, data_size); in dasync_cipher_ctrl_helper() 645 pipe_ctx->inner_cipher_data = cipher_data; in dasync_cipher_ctrl_helper() 665 if (pipe_ctx->inner_cipher_data == NULL in dasync_cipher_init_key_helper() 667 pipe_ctx->inner_cipher_data = OPENSSL_zalloc( in dasync_cipher_init_key_helper() 669 if (pipe_ctx->inner_cipher_data == NULL) { in dasync_cipher_init_key_helper() 679 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data); in dasync_cipher_init_key_helper() 696 EVP_CIPHER_CTX_set_cipher_data(ctx, pipe_ctx->inner_cipher_data); in dasync_cipher_helper() 735 OPENSSL_clear_free(pipe_ctx->inner_cipher_data, in dasync_cipher_cleanup_helper()
|