Lines Matching refs:ectx
62 OSSL_ENCODER_CTX *ectx;
67 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey,
72 if (ectx == NULL) {
76 OSSL_ENCODER_CTX_set_passphrase(ectx, pass, strlen(pass));
77 if (OSSL_ENCODER_to_bio(ectx, bio)) {
82 OSSL_ENCODER_CTX_free(ectx);
87 OSSL_ENCODER_CTX *ectx;
94 ectx = OSSL_ENCODER_CTX_new_for_pkey(pkey,
99 if (ectx == NULL) {
103 OSSL_ENCODER_CTX_set_passphrase(ectx, pass, strlen(pass));
106 if (OSSL_ENCODER_to_data(ectx, &data, &datalen)) {
114 OSSL_ENCODER_CTX_free(ectx);