Lines Matching defs:keylen
1149 size_t keylen;
1163 keylen = 1 + strlen(key);
1165 len = sizeof(uint32_t) + sizeof(uint32_t) + keylen + sizeof(uint32_t) + valuelen;
1176 SAFEALIGN_SET_UINT32(&body[*rp], keylen, rp);
1178 if (keylen == 1) {
1181 memcpy(&body[*rp], key, keylen);
1183 *rp += keylen;
1214 uint32_t keylen;
1262 SAFEALIGN_COPY_UINT32_CHECK(&keylen, body+c, blen, &c);
1264 if (keylen == 0 || keylen > blen - c) {
1272 if (cmdctx->key[keylen] != '\0') {
1278 if (!sss_utf8_check((const uint8_t *) cmdctx->key, keylen -1)) {