Home
last modified time | relevance | path

Searched refs:objstr (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/crypto/openssl/crypto/pem/
H A Dpem_info.c253 const char *objstr = NULL; in PEM_X509_INFO_write_bio() local
258 objstr = OBJ_nid2sn(EVP_CIPHER_nid(enc)); in PEM_X509_INFO_write_bio()
259 if (objstr == NULL in PEM_X509_INFO_write_bio()
264 || (strlen(objstr) + 23 + 2 * EVP_CIPHER_iv_length(enc) + 13) in PEM_X509_INFO_write_bio()
293 objstr = OBJ_nid2sn(EVP_CIPHER_nid(xi->enc_cipher.cipher)); in PEM_X509_INFO_write_bio()
294 if (objstr == NULL) { in PEM_X509_INFO_write_bio()
303 PEM_dek_info(buf, objstr, EVP_CIPHER_iv_length(enc), in PEM_X509_INFO_write_bio()
H A Dpem_lib.c315 const char *objstr = NULL; in PEM_ASN1_write_bio() local
321 objstr = OBJ_nid2sn(EVP_CIPHER_nid(enc)); in PEM_ASN1_write_bio()
322 if (objstr == NULL || EVP_CIPHER_iv_length(enc) == 0 in PEM_ASN1_write_bio()
328 || (strlen(objstr) + 23 + 2 * EVP_CIPHER_iv_length(enc) + 13) in PEM_ASN1_write_bio()
380 PEM_dek_info(buf, objstr, EVP_CIPHER_iv_length(enc), (char *)iv); in PEM_ASN1_write_bio()