HomeSort by: relevance | last modified time | path
    Searched defs:ectx (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/demos/encode/
ec_encode.c 106 OSSL_ENCODER_CTX *ectx = NULL; local
126 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", NULL, propq);
127 if (ectx == NULL) {
149 if (OSSL_ENCODER_CTX_set_cipher(ectx, "AES-256-CBC", propq) == 0) {
155 if (OSSL_ENCODER_CTX_set_passphrase(ectx,
165 if (OSSL_ENCODER_to_fp(ectx, f) == 0) {
172 OSSL_ENCODER_CTX_free(ectx);
rsa_encode.c 106 OSSL_ENCODER_CTX *ectx = NULL; local
126 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", NULL, propq);
127 if (ectx == NULL) {
146 if (OSSL_ENCODER_CTX_set_cipher(ectx, "AES-128-CBC", propq) == 0) {
152 if (OSSL_ENCODER_CTX_set_passphrase(ectx,
162 if (OSSL_ENCODER_to_fp(ectx, f) == 0) {
169 OSSL_ENCODER_CTX_free(ectx);
  /src/crypto/external/bsd/openssl/dist/demos/encode/
ec_encode.c 105 OSSL_ENCODER_CTX *ectx = NULL; local
125 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", NULL, propq);
126 if (ectx == NULL) {
148 if (OSSL_ENCODER_CTX_set_cipher(ectx, "AES-256-CBC", propq) == 0) {
154 if (OSSL_ENCODER_CTX_set_passphrase(ectx,
163 if (OSSL_ENCODER_to_fp(ectx, f) == 0) {
170 OSSL_ENCODER_CTX_free(ectx);
rsa_encode.c 105 OSSL_ENCODER_CTX *ectx = NULL; local
125 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, "PEM", NULL, propq);
126 if (ectx == NULL) {
145 if (OSSL_ENCODER_CTX_set_cipher(ectx, "AES-128-CBC", propq) == 0) {
151 if (OSSL_ENCODER_CTX_set_passphrase(ectx,
160 if (OSSL_ENCODER_to_fp(ectx, f) == 0) {
167 OSSL_ENCODER_CTX_free(ectx);
  /src/external/gpl3/gdb/dist/libsframe/testsuite/libsframe.find/
plt-findfre-1.c 31 add_plt_fde1 (sframe_encoder_ctx *ectx, int idx)
45 err = sframe_encoder_add_funcdesc_v2 (ectx, 0x1000, 16*5, finfo, 16, 3);
50 if (sframe_encoder_add_fre (ectx, idx, fres+i) == SFRAME_ERR)
58 sframe_encoder_ctx *ectx; local
76 ectx = sframe_encode (SFRAME_VERSION, 0, SFRAME_ABI_AMD64_ENDIAN_LITTLE,
81 err = add_plt_fde1 (ectx, 0);
84 fde_cnt = sframe_encoder_get_num_fidx (ectx);
87 sframe_buf = sframe_encoder_write (ectx, &sf_size, &err);
123 sframe_encoder_free (&ectx);
  /src/external/gpl3/gdb.old/dist/libsframe/testsuite/libsframe.find/
plt-findfre-1.c 31 add_plt_fde1 (sframe_encoder_ctx *ectx, int idx)
45 err = sframe_encoder_add_funcdesc_v2 (ectx, 0x1000, 16*5, finfo, 16, 3);
50 if (sframe_encoder_add_fre (ectx, idx, fres+i) == SFRAME_ERR)
58 sframe_encoder_ctx *ectx; local
76 ectx = sframe_encode (SFRAME_VERSION, 0, SFRAME_ABI_AMD64_ENDIAN_LITTLE,
81 err = add_plt_fde1 (ectx, 0);
84 fde_cnt = sframe_encoder_get_num_fidx (ectx);
87 sframe_buf = sframe_encoder_write (ectx, &sf_size, &err);
123 sframe_encoder_free (&ectx);
  /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/
test_bulk.c 132 EVP_CIPHER_CTX ectx; local
137 EVP_CIPHER_CTX_init(&ectx);
140 if (EVP_CipherInit_ex(&ectx, c, NULL, NULL, NULL, 1) != 1)
145 EVP_CIPHER_CTX_set_key_length(&ectx, sizeof(key));
148 if (EVP_CipherInit_ex(&ectx, NULL, NULL, key, iv, 1) != 1)
153 if (!EVP_Cipher(&ectx, d, d, len))
158 EVP_CIPHER_CTX_cleanup(&ectx);
validate.c 221 EVP_CIPHER_CTX ectx; local
225 EVP_CIPHER_CTX_init(&ectx);
228 if (EVP_CipherInit_ex(&ectx, c, NULL, NULL, NULL, 1) != 1)
233 EVP_CIPHER_CTX_set_key_length(&ectx, t->keysize);
236 if (EVP_CipherInit_ex(&ectx, NULL, NULL, t->key, t->iv, 1) != 1)
243 if (!EVP_Cipher(&ectx, d, t->indata, t->datasize))
260 EVP_CIPHER_CTX_cleanup(&ectx);
mdtest.c 242 EVP_MD_CTX *ectx; local
251 ectx = EVP_MD_CTX_create();
256 EVP_DigestInit_ex(ectx, hash->evp(), NULL);
264 EVP_DigestUpdate(ectx, buf, sizeof(buf));
268 EVP_DigestUpdate(ectx, t->str, strlen(t->str));
292 EVP_DigestFinal_ex(ectx, res, &esize);
293 EVP_MD_CTX_destroy(ectx);
test_cipher.c 255 EVP_CIPHER_CTX ectx; local
264 EVP_CIPHER_CTX_init(&ectx);
267 if (EVP_CipherInit_ex(&ectx, c, NULL, NULL, NULL, 1) != 1)
272 EVP_CIPHER_CTX_set_key_length(&ectx, t->keysize);
275 if (EVP_CipherInit_ex(&ectx, NULL, NULL, t->key, t->iv, 1) != 1)
282 if (!EVP_Cipher(&ectx, d, t->indata, t->datasize))
305 EVP_CIPHER_CTX_cleanup(&ectx);
  /src/crypto/external/apache2/openssl/dist/apps/
dhparam.c 356 OSSL_ENCODER_CTX *ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, local
363 if (ectx == NULL || !OSSL_ENCODER_to_bio(ectx, out)) {
364 OSSL_ENCODER_CTX_free(ectx);
368 OSSL_ENCODER_CTX_free(ectx);
dsa.c 105 OSSL_ENCODER_CTX *ectx = NULL; local
271 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, output_type,
273 if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) {
280 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
284 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
287 OSSL_ENCODER_CTX_set_passphrase(ectx,
297 if (!OSSL_ENCODER_CTX_set_params(ectx, params)) {
303 if (!OSSL_ENCODER_to_bio(ectx, out)) {
311 OSSL_ENCODER_CTX_free(ectx);
ec.c 80 OSSL_ENCODER_CTX *ectx = NULL; local
269 ectx = OSSL_ENCODER_CTX_new_for_pkey(eckey, selection,
273 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
275 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
278 OSSL_ENCODER_CTX_set_passphrase(ectx,
282 if (!OSSL_ENCODER_to_bio(ectx, out)) {
295 OSSL_ENCODER_CTX_free(ectx);
rsa.c 155 OSSL_ENCODER_CTX *ectx = NULL; local
376 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection,
379 if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) {
390 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
394 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
397 OSSL_ENCODER_CTX_set_passphrase(ectx,
407 if (!OSSL_ENCODER_CTX_set_params(ectx, params)) {
413 if (!OSSL_ENCODER_to_bio(ectx, out)) {
420 OSSL_ENCODER_CTX_free(ectx);
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
crypto.h 200 EVP_CIPHER_CTX *ectx; member in struct:_krb5_evp_schedule
  /src/crypto/external/bsd/openssl/dist/apps/
dhparam.c 331 OSSL_ENCODER_CTX *ectx = local
338 if (ectx == NULL || !OSSL_ENCODER_to_bio(ectx, out)) {
339 OSSL_ENCODER_CTX_free(ectx);
343 OSSL_ENCODER_CTX_free(ectx);
dsa.c 93 OSSL_ENCODER_CTX *ectx = NULL; local
263 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection, output_type,
265 if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) {
272 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
276 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
279 OSSL_ENCODER_CTX_set_passphrase(ectx,
289 if (!OSSL_ENCODER_CTX_set_params(ectx, params)) {
295 if (!OSSL_ENCODER_to_bio(ectx, out)) {
303 OSSL_ENCODER_CTX_free(ectx);
ec.c 66 OSSL_ENCODER_CTX *ectx = NULL; local
259 ectx = OSSL_ENCODER_CTX_new_for_pkey(eckey, selection,
263 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
265 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
268 OSSL_ENCODER_CTX_set_passphrase(ectx,
272 if (!OSSL_ENCODER_to_bio(ectx, out)) {
285 OSSL_ENCODER_CTX_free(ectx);
rsa.c 140 OSSL_ENCODER_CTX *ectx = NULL; local
363 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, selection,
366 if (OSSL_ENCODER_CTX_get_num_encoders(ectx) == 0) {
377 OSSL_ENCODER_CTX_set_cipher(ectx, EVP_CIPHER_get0_name(enc), NULL);
381 OSSL_ENCODER_CTX_set_passphrase_ui(ectx, get_ui_method(), NULL);
384 OSSL_ENCODER_CTX_set_passphrase(ectx,
394 if (!OSSL_ENCODER_CTX_set_params(ectx, params)) {
400 if (!OSSL_ENCODER_to_bio(ectx, out)) {
407 OSSL_ENCODER_CTX_free(ectx);
  /src/external/gpl3/gcc/dist/libgcc/config/rs6000/
aix-unwind.h 118 extended_context_t * ectx; member in struct:__anon14297
265 if (uc->mark == EXT_CONTEXT_MARK && uc->ectx->mark == EXT_CONTEXT_MARK)
267 vstate_t * vstate = &uc->ectx->vstate;
  /src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
aix-unwind.h 118 extended_context_t * ectx; member in struct:__anon16709
265 if (uc->mark == EXT_CONTEXT_MARK && uc->ectx->mark == EXT_CONTEXT_MARK)
267 vstate_t * vstate = &uc->ectx->vstate;
  /src/crypto/external/apache2/openssl/dist/crypto/x509/
x_pubkey.c 352 OSSL_ENCODER_CTX *ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey, EVP_PKEY_PUBLIC_KEY, local
356 if (OSSL_ENCODER_to_data(ectx, &der, &derlen)) {
362 OSSL_ENCODER_CTX_free(ectx);
  /src/crypto/external/apache2/openssl/dist/test/
endecoder_legacy_test.c 312 OSSL_ENCODER_CTX *ectx = NULL; local
323 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection,
326 || !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
359 OSSL_ENCODER_CTX_free(ectx);
378 OSSL_ENCODER_CTX *ectx = NULL; local
389 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection,
392 || !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
424 OSSL_ENCODER_CTX_free(ectx);
446 OSSL_ENCODER_CTX *ectx = NULL; local
452 if (!TEST_ptr(ectx = OSSL_ENCODER_CTX_new_for_pkey(provided_pkey, selection
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/x509/
x_pubkey.c 343 OSSL_ENCODER_CTX *ectx = local
348 if (OSSL_ENCODER_to_data(ectx, &der, &derlen)) {
354 OSSL_ENCODER_CTX_free(ectx);
  /src/crypto/external/bsd/openssl/dist/test/
endecoder_legacy_test.c 310 OSSL_ENCODER_CTX *ectx = NULL; local
321 if (!TEST_ptr(ectx =
325 || !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
359 OSSL_ENCODER_CTX_free(ectx);
378 OSSL_ENCODER_CTX *ectx = NULL; local
389 if (!TEST_ptr(ectx =
393 || !TEST_true(OSSL_ENCODER_to_bio(ectx, membio_provided))
426 OSSL_ENCODER_CTX_free(ectx);
448 OSSL_ENCODER_CTX *ectx = NULL; local
454 if (!TEST_ptr(ectx
    [all...]

Completed in 51 milliseconds

1 2