Searched refs:cipher_data (Results 1 – 11 of 11) sorted by relevance
/freebsd/crypto/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() 197 return &cipher_data[get_cipher_data_index(nid)]; in get_cipher_data() 407 static int known_cipher_nids[OSSL_NELEM(cipher_data)]; 409 static EVP_CIPHER *known_cipher_methods[OSSL_NELEM(cipher_data)] = { NULL, }; 410 static int selected_ciphers[OSSL_NELEM(cipher_data)]; 411 static struct driver_info_st cipher_driver_info[OSSL_NELEM(cipher_data)]; 444 i < OSSL_NELEM(cipher_data); i++) { in prepare_cipher_methods() 450 sess.cipher = cipher_data[i].devcryptoid; in prepare_cipher_methods() [all …]
|
/freebsd/crypto/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() 167 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal() 168 ctx->cipher_data = NULL; in evp_cipher_init_internal() 388 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal() 389 if (ctx->cipher_data == NULL) { in evp_cipher_init_internal() 394 ctx->cipher_data = NULL; in evp_cipher_init_internal() 521 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_skey_internal() 522 ctx->cipher_data = NULL; in evp_cipher_init_skey_internal() [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
|
/freebsd/crypto/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()
|
/freebsd/crypto/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()
|
/freebsd/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/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/crypto/openssl/include/openssl/ |
H A D | evp.h | 671 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
|