Home
last modified time | relevance | path

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

/linux-5.19.10/crypto/asymmetric_keys/
Dx509_cert_parser.c30 u8 cn_size; /* Size of commonName (CN) */ member
345 ctx->cn_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()
390 namesize = ctx->cn_size; in x509_fabricate_name()
392 if (ctx->cn_size >= ctx->o_size && in x509_fabricate_name()
396 if (ctx->cn_size >= 7 && in x509_fabricate_name()
401 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name()
411 data + ctx->cn_offset, ctx->cn_size); in x509_fabricate_name()
412 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; in x509_fabricate_name()
[all …]