Searched refs:makebytes (Results 1 – 5 of 5) sorted by relevance
| /plan9/sys/src/libsec/port/ |
| H A D | tlshand.c | 305 static Bytes* makebytes(uchar* buf, int len); 512 c->sid = makebytes(sid, nsid); in tlsServer2() 513 m.u.serverHello.sid = makebytes(c->sid->data, c->sid->len); in tlsServer2() 522 m.u.certificate.certs[0] = makebytes(cert, ncert); in tlsServer2() 524 m.u.certificate.certs[i+1] = makebytes(chp->pem, chp->pemlen); in tlsServer2() 633 m.u.clientHello.sid = makebytes(csid, ncsid); in tlsClient2() 635 m.u.clientHello.compressors = makebytes(compressors,sizeof(compressors)); in tlsClient2() 652 c->sid = makebytes(m.u.serverHello.sid->data, m.u.serverHello.sid->len); in tlsClient2() 676 c->cert = makebytes(m.u.certificate.certs[0]->data, m.u.certificate.certs[0]->len); in tlsClient2() 731 m.u.clientKeyExchange.key = makebytes(epm, nepm); in tlsClient2() [all …]
|
| H A D | x509.c | 116 static Bytes* makebytes(uchar* buf, int len); 391 pval->u.bigintval = makebytes(p, length); in value_decode() 485 pval->u.otherval = makebytes(p, length); in value_decode() 498 pval->u.realval = makebytes(p, length); in value_decode() 549 pval->u.otherval = makebytes(p, length); in value_decode() 649 ans = makebytes(p, length); in octet_decode() 1304 makebytes(uchar* buf, int len) in makebytes() function 1334 ans = makebytes(b2->data, b2->len); in catbytes() 1337 ans = makebytes(b1->data, b1->len); in catbytes() 1819 c->publickey = makebytes(bits->data, bits->len); in decode_cert() [all …]
|
| /plan9/sys/src/cmd/unix/drawterm/libsec/ |
| H A D | x509.c | 115 static Bytes* makebytes(uchar* buf, int len); 389 pval->u.bigintval = makebytes(p, length); in value_decode() 483 pval->u.otherval = makebytes(p, length); in value_decode() 496 pval->u.realval = makebytes(p, length); in value_decode() 545 pval->u.otherval = makebytes(p, length); in value_decode() 645 ans = makebytes(p, length); in octet_decode() 1297 makebytes(uchar* buf, int len) in makebytes() function 1327 ans = makebytes(b2->data, b2->len); in catbytes() 1330 ans = makebytes(b1->data, b1->len); in catbytes() 1807 c->publickey = makebytes(bits->data, bits->len); in decode_cert() [all …]
|
| H A D | tlshand.c | 303 static Bytes* makebytes(uchar* buf, int len); 494 c->sid = makebytes(sid, nsid); in tlsServer2() 495 m.u.serverHello.sid = makebytes(c->sid->data, c->sid->len); in tlsServer2() 503 m.u.certificate.certs[0] = makebytes(cert, ncert); in tlsServer2() 612 m.u.clientHello.sid = makebytes(csid, ncsid); in tlsClient2() 614 m.u.clientHello.compressors = makebytes(compressors,sizeof(compressors)); in tlsClient2() 631 c->sid = makebytes(m.u.serverHello.sid->data, m.u.serverHello.sid->len); in tlsClient2() 655 c->cert = makebytes(m.u.certificate.certs[0]->data, m.u.certificate.certs[0]->len); in tlsClient2() 710 m.u.clientKeyExchange.key = makebytes(epm, nepm); in tlsClient2() 1002 m->u.clientHello.sid = makebytes(nil, 0); in msgRecv() [all …]
|
| /plan9/sys/src/ape/lib/sec/port/ |
| H A D | x509-ape.c | 116 static Bytes* makebytes(uchar* buf, int len); 391 pval->u.bigintval = makebytes(p, length); in value_decode() 485 pval->u.otherval = makebytes(p, length); in value_decode() 498 pval->u.realval = makebytes(p, length); in value_decode() 549 pval->u.otherval = makebytes(p, length); in value_decode() 649 ans = makebytes(p, length); in octet_decode() 1304 makebytes(uchar* buf, int len) in makebytes() function 1334 ans = makebytes(b2->data, b2->len); in catbytes() 1337 ans = makebytes(b1->data, b1->len); in catbytes() 1819 c->publickey = makebytes(bits->data, bits->len); in decode_cert() [all …]
|