Searched refs:cipher_data (Results 1 – 10 of 10) sorted by relevance
| /freebsd-13.1/crypto/openssl/crypto/engine/ |
| H A D | eng_devcrypto.c | 76 } cipher_data[] = { variable 126 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in get_cipher_data_index() 127 if (nid == cipher_data[i].nid) in get_cipher_data_index() 141 return &cipher_data[get_cipher_data_index(nid)]; in get_cipher_data() 340 static int known_cipher_nids[OSSL_NELEM(cipher_data)]; 354 i < OSSL_NELEM(cipher_data); i++) { in prepare_cipher_methods() 360 sess.cipher = cipher_data[i].devcryptoid; in prepare_cipher_methods() 361 sess.keylen = cipher_data[i].keylen; in prepare_cipher_methods() 394 cipher_data[i].nid; in prepare_cipher_methods() 426 for (i = 0; i < OSSL_NELEM(cipher_data); i++) in destroy_all_cipher_methods() [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | evp_enc.c | 30 if (c->cipher_data && c->cipher->ctx_size) in EVP_CIPHER_CTX_reset() 31 OPENSSL_cleanse(c->cipher_data, c->cipher->ctx_size); in EVP_CIPHER_CTX_reset() 33 OPENSSL_free(c->cipher_data); in EVP_CIPHER_CTX_reset() 92 || ctx->cipher_data) { in EVP_CipherInit_ex() 129 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in EVP_CipherInit_ex() 130 if (ctx->cipher_data == NULL) { in EVP_CipherInit_ex() 136 ctx->cipher_data = NULL; in EVP_CipherInit_ex() 702 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy() 703 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy() 704 if (out->cipher_data == NULL) { in EVP_CIPHER_CTX_copy() [all …]
|
| H A D | evp_lib.c | 225 return ctx->cipher_data; in EVP_CIPHER_CTX_get_cipher_data() 228 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data) in EVP_CIPHER_CTX_set_cipher_data() argument 232 old_cipher_data = ctx->cipher_data; in EVP_CIPHER_CTX_set_cipher_data() 233 ctx->cipher_data = cipher_data; in EVP_CIPHER_CTX_set_cipher_data()
|
| H A D | e_chacha20_poly1305.c | 31 #define data(ctx) ((EVP_CHACHA_KEY *)(ctx)->cipher_data) 162 # define aead_data(ctx) ((EVP_CHACHA_AEAD_CTX *)(ctx)->cipher_data) 496 OPENSSL_cleanse(ctx->cipher_data, sizeof(*actx) + Poly1305_ctx_size()); in chacha20_poly1305_cleanup() 508 actx = ctx->cipher_data in chacha20_poly1305_ctrl() 528 dst->cipher_data = in chacha20_poly1305_ctrl() 530 if (dst->cipher_data == NULL) { in chacha20_poly1305_ctrl()
|
| H A D | evp_local.h | 38 void *cipher_data; /* per EVP data */ member
|
| /freebsd-13.1/crypto/openssl/ssl/ |
| H A D | ssl_asn1.c | 110 unsigned char cipher_data[2]; in i2d_SSL_SESSION() local 141 cipher_data[0] = ((unsigned char)(l >> 8L)) & 0xff; in i2d_SSL_SESSION() 142 cipher_data[1] = ((unsigned char)(l)) & 0xff; in i2d_SSL_SESSION() 144 ssl_session_oinit(&as.cipher, &cipher, cipher_data, 2); in i2d_SSL_SESSION()
|
| /freebsd-13.1/crypto/openssl/engines/ |
| H A D | e_dasync.c | 640 void *cipher_data = OPENSSL_malloc(data_size); in dasync_cipher_ctrl_helper() local 642 if (cipher_data == NULL) 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()
|
| /freebsd-13.1/crypto/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);
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libdes/ |
| H A D | t_des.c | 144 static unsigned char cipher_data[NUM_TESTS][8] = { variable 538 if (memcmp(out, cipher_data[i], 8) != 0) { in ATF_TC_BODY() 542 pt(cipher_data[i]), pt(out)); in ATF_TC_BODY()
|
| /freebsd-13.1/crypto/openssl/include/openssl/ |
| H A D | evp.h | 491 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
|