Lines Matching refs:len
40 size_t slen = 0, len;
72 len = sshbuf_len(b);
74 if ((*sigp = malloc(len)) == NULL) {
78 memcpy(*sigp, sshbuf_ptr(b), len);
81 *lenp = len;
103 size_t len;
116 (r = sshbuf_get_string_direct(b, &sigblob, &len)) != 0)
126 if (len > crypto_sign_ed25519_BYTES) {
130 if (datalen >= SIZE_MAX - len) {
134 smlen = len + datalen;
140 memcpy(sm, sigblob, len);
141 memcpy(sm+len, data, datalen);