Lines Matching refs:o_size
42 u8 o_size; /* Size of organizationName (O) */ member
322 ctx->o_size = vlen; in x509_extract_name_segment()
351 if (!ctx->cn_size && !ctx->o_size && !ctx->email_size) { in x509_fabricate_name()
359 if (ctx->cn_size && ctx->o_size) { in x509_fabricate_name()
365 if (ctx->cn_size >= ctx->o_size && in x509_fabricate_name()
367 ctx->o_size) == 0) in x509_fabricate_name()
370 ctx->o_size >= 7 && in x509_fabricate_name()
374 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name()
380 data + ctx->o_offset, ctx->o_size); in x509_fabricate_name()
381 buffer[ctx->o_size + 0] = ':'; in x509_fabricate_name()
382 buffer[ctx->o_size + 1] = ' '; in x509_fabricate_name()
383 memcpy(buffer + ctx->o_size + 2, in x509_fabricate_name()
385 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; in x509_fabricate_name()
391 } else if (ctx->o_size) { in x509_fabricate_name()
392 namesize = ctx->o_size; in x509_fabricate_name()
409 ctx->o_size = 0; in x509_fabricate_name()