Searched refs:cipher_data (Results 1 – 10 of 10) sorted by relevance
/openssl/engines/ |
H A D | e_devcrypto.c | 123 } cipher_data[] = { variable 173 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in find_cipher_data_index() 174 if (nid == cipher_data[i].nid) in find_cipher_data_index() 444 i < OSSL_NELEM(cipher_data); i++) { in prepare_cipher_methods() 450 sess.cipher = cipher_data[i].devcryptoid; in prepare_cipher_methods() 451 sess.keylen = cipher_data[i].keylen; in prepare_cipher_methods() 530 cipher_data[i].nid; in prepare_cipher_methods() 575 destroy_cipher_method(cipher_data[i].nid); in destroy_all_cipher_methods() 596 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in devcrypto_select_all_ciphers() 633 name = OBJ_nid2sn(cipher_data[i].nid); in dump_cipher_info() [all …]
|
/openssl/crypto/evp/ |
H A D | evp_enc.c | 60 if (ctx->cipher_data && ctx->cipher->ctx_size) in OSSL_SAFE_MATH_SIGNED() 61 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in OSSL_SAFE_MATH_SIGNED() 63 OPENSSL_free(ctx->cipher_data); in OSSL_SAFE_MATH_SIGNED() 164 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal() 165 ctx->cipher_data = NULL; in evp_cipher_init_internal() 355 if (ctx->cipher_data == NULL) { in evp_cipher_init_internal() 360 ctx->cipher_data = NULL; in evp_cipher_init_internal() 1504 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy() 1505 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy() 1506 if (out->cipher_data == NULL) { in EVP_CIPHER_CTX_copy() [all …]
|
H A D | e_chacha20_poly1305.c | 32 #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()
|
H A D | evp_lib.c | 472 return ctx->cipher_data; in EVP_CIPHER_CTX_get_cipher_data() 475 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data) in EVP_CIPHER_CTX_set_cipher_data() argument 479 old_cipher_data = ctx->cipher_data; in EVP_CIPHER_CTX_set_cipher_data() 480 ctx->cipher_data = cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
|
H A D | evp_local.h | 51 void *cipher_data; /* per EVP data */ member
|
/openssl/test/ |
H A D | bftest.c | 125 static unsigned char cipher_data[NUM_TESTS][8] = { variable 244 printf("%02X", cipher_data[i][j]); in print_test_data() 325 if (!TEST_mem_eq(&(cipher_data[n][0]), BF_BLOCK, out, BF_BLOCK)) in test_bf_ecb()
|
H A D | destest.c | 107 static unsigned char cipher_data[NUM_TESTS][8] = { variable 331 if (!TEST_mem_eq(out, 8, cipher_data[i], 8)) { in test_des_ecb()
|
/openssl/ssl/ |
H A D | ssl_asn1.c | 115 unsigned char cipher_data[2]; in i2d_SSL_SESSION() local 150 cipher_data[0] = ((unsigned char)(l >> 8L)) & 0xff; in i2d_SSL_SESSION() 151 cipher_data[1] = ((unsigned char)(l)) & 0xff; in i2d_SSL_SESSION() 153 ssl_session_oinit(&as.cipher, &cipher, cipher_data, 2); in i2d_SSL_SESSION()
|
/openssl/doc/man3/ |
H A D | EVP_CIPHER_CTX_get_cipher_data.pod | 13 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
|
/openssl/include/openssl/ |
H A D | evp.h | 651 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
|
Completed in 56 milliseconds