Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/pem/
Dpem_info.c284 const char *objstr = NULL; in PEM_X509_INFO_write_bio() local
291 objstr = OBJ_nid2sn(EVP_CIPHER_nid(enc)); in PEM_X509_INFO_write_bio()
292 if (objstr == NULL) { in PEM_X509_INFO_write_bio()
320 objstr = OBJ_nid2sn(EVP_CIPHER_nid(xi->enc_cipher.cipher)); in PEM_X509_INFO_write_bio()
321 if (objstr == NULL) { in PEM_X509_INFO_write_bio()
327 assert(strlen(objstr) + 23 + 2 * iv_len + 13 <= sizeof buf); in PEM_X509_INFO_write_bio()
330 PEM_dek_info(buf, objstr, iv_len, (char *)iv); in PEM_X509_INFO_write_bio()
Dpem_lib.c278 const char *objstr = NULL; in PEM_ASN1_write_bio() local
284 objstr = OBJ_nid2sn(EVP_CIPHER_nid(enc)); in PEM_ASN1_write_bio()
285 if (objstr == NULL || in PEM_ASN1_write_bio()
286 cipher_by_name(objstr) == NULL || in PEM_ASN1_write_bio()
335 assert(strlen(objstr) + 23 + 2 * iv_len + 13 <= sizeof buf); in PEM_ASN1_write_bio()
339 PEM_dek_info(buf, objstr, iv_len, (char *)iv); in PEM_ASN1_write_bio()