Searched refs:cipher_data (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/crypto/openssl/engines/
H A De_devcrypto.c122 } cipher_data[] = { variable in typeref:struct:cipher_data_st
172 for (i = 0; i < OSSL_NELEM(cipher_data); i++)
173 if (nid == cipher_data[i].nid)
196 return &cipher_data[get_cipher_data_index(nid)];
404 * cipher_data[] above, which the other tables are.
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);
[all...]
/freebsd-current/crypto/openssl/crypto/evp/
H A Devp_enc.c57 if (ctx->cipher_data && ctx->cipher->ctx_size)
58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size);
60 OPENSSL_free(ctx->cipher_data);
156 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size);
157 ctx->cipher_data = NULL;
344 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size);
345 if (ctx->cipher_data == NULL) {
351 ctx->cipher_data = NULL;
1456 if (in->cipher_data && in->cipher->ctx_size) {
1457 out->cipher_data
[all...]
H A 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());
504 actx = ctx->cipher_data
524 dst->cipher_data =
526 if (dst->cipher_data == NULL) {
H A Devp_lib.c487 return ctx->cipher_data;
490 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data) argument
494 old_cipher_data = ctx->cipher_data;
495 ctx->cipher_data = cipher_data;
H A Devp_local.h51 void *cipher_data; /* per EVP data */ member in struct:evp_cipher_ctx_st
/freebsd-current/crypto/openssl/ssl/
H A Dssl_asn1.c112 unsigned char cipher_data[2];
145 cipher_data[0] = ((unsigned char)(l >> 8L)) & 0xff;
146 cipher_data[1] = ((unsigned char)(l)) & 0xff;
148 ssl_session_oinit(&as.cipher, &cipher, cipher_data, 2);
/freebsd-current/crypto/openssl/test/
H A Dbftest.c125 static unsigned char cipher_data[NUM_TESTS][8] = { variable
242 printf("%02X", cipher_data[i][j]);
323 if (!TEST_mem_eq(&(cipher_data[n][0]), BF_BLOCK, out, BF_BLOCK))
H A Ddestest.c107 static unsigned char cipher_data[NUM_TESTS][8] = { variable
321 if (!TEST_mem_eq(out, 8, cipher_data[i], 8)) {
/freebsd-current/contrib/netbsd-tests/lib/libdes/
H A Dt_des.c144 static unsigned char cipher_data[NUM_TESTS][8] = { variable
538 if (memcmp(out, cipher_data[i], 8) != 0) {
542 pt(cipher_data[i]), pt(out));
/freebsd-current/crypto/openssl/include/openssl/
H A Devp.h643 void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);

Completed in 114 milliseconds