Searched refs:cn_size (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/crypto/asymmetric_keys/
H A Dx509_cert_parser.c34 u8 cn_size; /* Size of commonName (CN) */ member in struct:x509_parse_context
271 ctx->cn_size = vlen; x509_extract_name_segment()
304 if (!ctx->cn_size && !ctx->o_size && !ctx->email_size) { x509_fabricate_name()
312 if (ctx->cn_size && ctx->o_size) { x509_fabricate_name()
316 namesize = ctx->cn_size; x509_fabricate_name()
318 if (ctx->cn_size >= ctx->o_size && x509_fabricate_name()
322 if (ctx->cn_size >= 7 && x509_fabricate_name()
327 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, x509_fabricate_name()
337 data + ctx->cn_offset, ctx->cn_size); x509_fabricate_name()
338 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; x509_fabricate_name()
341 } else if (ctx->cn_size) { x509_fabricate_name()
342 namesize = ctx->cn_size; x509_fabricate_name()
361 ctx->cn_size = 0; x509_fabricate_name()

Completed in 79 milliseconds