Searched refs:cn_size (Results 1 – 1 of 1) sorted by relevance
32 u8 cn_size; /* Size of commonName (CN) */ member343 ctx->cn_size = vlen; in x509_extract_name_segment()376 if (!ctx->cn_size && !ctx->o_size && !ctx->email_size) { in x509_fabricate_name()384 if (ctx->cn_size && ctx->o_size) { in x509_fabricate_name()388 namesize = ctx->cn_size; in x509_fabricate_name()390 if (ctx->cn_size >= ctx->o_size && in x509_fabricate_name()394 if (ctx->cn_size >= 7 && in x509_fabricate_name()399 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name()409 data + ctx->cn_offset, ctx->cn_size); in x509_fabricate_name()410 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; in x509_fabricate_name()[all …]