Lines Matching refs:buffer
163 char buffer[50]; in x509_note_OID() local
164 sprint_oid(value, vlen, buffer, sizeof(buffer)); in x509_note_OID()
166 (unsigned long)value - ctx->data, buffer); in x509_note_OID()
370 char *buffer; in x509_fabricate_name() local
377 buffer = kmalloc(1, GFP_KERNEL); in x509_fabricate_name()
378 if (!buffer) in x509_fabricate_name()
380 buffer[0] = 0; in x509_fabricate_name()
399 buffer = kmalloc(ctx->o_size + 2 + ctx->cn_size + 1, in x509_fabricate_name()
401 if (!buffer) in x509_fabricate_name()
404 memcpy(buffer, in x509_fabricate_name()
406 buffer[ctx->o_size + 0] = ':'; in x509_fabricate_name()
407 buffer[ctx->o_size + 1] = ' '; in x509_fabricate_name()
408 memcpy(buffer + ctx->o_size + 2, in x509_fabricate_name()
410 buffer[ctx->o_size + 2 + ctx->cn_size] = 0; in x509_fabricate_name()
425 buffer = kmalloc(namesize + 1, GFP_KERNEL); in x509_fabricate_name()
426 if (!buffer) in x509_fabricate_name()
428 memcpy(buffer, name, namesize); in x509_fabricate_name()
429 buffer[namesize] = 0; in x509_fabricate_name()
432 *_name = buffer; in x509_fabricate_name()