Lines Matching refs:o_size
29 u8 o_size; /* Size of organizationName (O) */ member
349 ctx->o_size = vlen; in x509_extract_name_segment()
378 if (!ctx->cn_size && !ctx->o_size && !ctx->email_size) { in x509_fabricate_name()
386 if (ctx->cn_size && ctx->o_size) { in x509_fabricate_name()
392 if (ctx->cn_size >= ctx->o_size && in x509_fabricate_name()
394 ctx->o_size) == 0) in x509_fabricate_name()
397 ctx->o_size >= 7 && in x509_fabricate_name()
401 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name()
407 data + ctx->o_offset, ctx->o_size); in x509_fabricate_name()
408 buffer[ctx->o_size + 0] = ':'; in x509_fabricate_name()
409 buffer[ctx->o_size + 1] = ' '; in x509_fabricate_name()
410 memcpy(buffer + ctx->o_size + 2, in x509_fabricate_name()
412 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; in x509_fabricate_name()
418 } else if (ctx->o_size) { in x509_fabricate_name()
419 namesize = ctx->o_size; in x509_fabricate_name()
436 ctx->o_size = 0; in x509_fabricate_name()