Home
last modified time | relevance | path

Searched refs:cipher_data (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/engines/
De_devcrypto.c122 } cipher_data[] = { variable
172 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in find_cipher_data_index()
173 if (nid == cipher_data[i].nid) in find_cipher_data_index()
196 return &cipher_data[get_cipher_data_index(nid)]; in get_cipher_data()
406 static int known_cipher_nids[OSSL_NELEM(cipher_data)];
408 static EVP_CIPHER *known_cipher_methods[OSSL_NELEM(cipher_data)] = { NULL, };
409 static int selected_ciphers[OSSL_NELEM(cipher_data)];
410 static struct driver_info_st cipher_driver_info[OSSL_NELEM(cipher_data)];
443 i < OSSL_NELEM(cipher_data); i++) { in prepare_cipher_methods()
449 sess.cipher = cipher_data[i].devcryptoid; in prepare_cipher_methods()
[all …]
/third_party/openssl/crypto/evp/
Devp_enc.c57 if (ctx->cipher_data && ctx->cipher->ctx_size) in EVP_CIPHER_CTX_reset()
58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in EVP_CIPHER_CTX_reset()
60 OPENSSL_free(ctx->cipher_data); in EVP_CIPHER_CTX_reset()
156 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
157 ctx->cipher_data = NULL; in evp_cipher_init_internal()
339 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal()
340 if (ctx->cipher_data == NULL) { in evp_cipher_init_internal()
346 ctx->cipher_data = NULL; in evp_cipher_init_internal()
1451 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1452 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
[all …]
De_chacha20_poly1305.c32 #define data(ctx) ((EVP_CHACHA_KEY *)(ctx)->cipher_data)
164 # define aead_data(ctx) ((EVP_CHACHA_AEAD_CTX *)(ctx)->cipher_data)
492 OPENSSL_cleanse(ctx->cipher_data, sizeof(*actx) + Poly1305_ctx_size()); in chacha20_poly1305_cleanup()
504 actx = ctx->cipher_data in chacha20_poly1305_ctrl()
524 dst->cipher_data = in chacha20_poly1305_ctrl()
526 if (dst->cipher_data == NULL) { in chacha20_poly1305_ctrl()
Devp_lib.c487 return ctx->cipher_data; in EVP_CIPHER_CTX_get_cipher_data()
490 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data) in EVP_CIPHER_CTX_set_cipher_data() argument
494 old_cipher_data = ctx->cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
495 ctx->cipher_data = cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
Devp_local.h51 void *cipher_data; /* per EVP data */ member
/third_party/openssl/test/
Dbftest.c125 static unsigned char cipher_data[NUM_TESTS][8] = { variable
242 printf("%02X", cipher_data[i][j]); in print_test_data()
323 if (!TEST_mem_eq(&(cipher_data[n][0]), BF_BLOCK, out, BF_BLOCK)) in test_bf_ecb()
Ddestest.c107 static unsigned char cipher_data[NUM_TESTS][8] = { variable
321 if (!TEST_mem_eq(out, 8, cipher_data[i], 8)) { in test_des_ecb()
/third_party/openssl/ssl/
Dssl_asn1.c112 unsigned char cipher_data[2]; in i2d_SSL_SESSION() local
145 cipher_data[0] = ((unsigned char)(l >> 8L)) & 0xff; in i2d_SSL_SESSION()
146 cipher_data[1] = ((unsigned char)(l)) & 0xff; in i2d_SSL_SESSION()
148 ssl_session_oinit(&as.cipher, &cipher, cipher_data, 2); in i2d_SSL_SESSION()
/third_party/openssl/doc/man3/
DEVP_CIPHER_CTX_get_cipher_data.pod13 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
/third_party/openssl/ohos_lite/include/openssl/
Devp.h489 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
/third_party/openssl/include/openssl/
Devp.h641 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);