Lines Matching refs:derl
1251 int derl = -1; in EVP_CIPHER_CTX_set_algor_params() local
1253 if ((derl = i2d_ASN1_TYPE(alg->parameter, &der)) >= 0) { in EVP_CIPHER_CTX_set_algor_params()
1262 params[0] = OSSL_PARAM_construct_octet_string(k_old, der, (size_t)derl); in EVP_CIPHER_CTX_set_algor_params()
1263 params[1] = OSSL_PARAM_construct_octet_string(k_new, der, (size_t)derl); in EVP_CIPHER_CTX_set_algor_params()
1275 size_t derl; in EVP_CIPHER_CTX_get_algor_params() local
1315 derl = params[i].return_size; in EVP_CIPHER_CTX_get_algor_params()
1316 if ((der = OPENSSL_malloc(derl)) != NULL) { in EVP_CIPHER_CTX_get_algor_params()
1319 params[i] = OSSL_PARAM_construct_octet_string(derk, der, derl); in EVP_CIPHER_CTX_get_algor_params()
1323 (int)derl) != NULL) { in EVP_CIPHER_CTX_get_algor_params()
1379 int derl = -1; in EVP_PKEY_CTX_set_algor_params() local
1381 if ((derl = i2d_ASN1_TYPE(alg->parameter, &der)) >= 0) { in EVP_PKEY_CTX_set_algor_params()
1389 params[0] = OSSL_PARAM_construct_octet_string(k, der, (size_t)derl); in EVP_PKEY_CTX_set_algor_params()
1402 size_t derl; in EVP_PKEY_CTX_get_algor_params() local
1428 derl = params[0].return_size; in EVP_PKEY_CTX_get_algor_params()
1431 && derl != 0 in EVP_PKEY_CTX_get_algor_params()
1432 && (der = OPENSSL_malloc(derl)) != NULL) { in EVP_PKEY_CTX_get_algor_params()
1435 params[0] = OSSL_PARAM_construct_octet_string(k, der, derl); in EVP_PKEY_CTX_get_algor_params()
1439 derl) != NULL) { in EVP_PKEY_CTX_get_algor_params()