Lines Matching defs:keybits
415 /* 1 + (keybits / 8) bytes N */
448 /* (keybits / 8) bytes signature to end of LEN1 area */
463 int n, m, keybits = lws_plat_recommended_rsa_bits(), adj;
469 &el[0], keybits);
479 adj = (0x0556 - 0x401) + (keybits / 4) + 1;
483 adj = (0x033e - 0x201) + (keybits / 8) + 1;
487 adj = (0x0222 - 0x201) + (keybits / 8) + 1;
491 adj = (0x020f - 0x201) + (keybits / 8) + 1;
495 adj = (0x020a - 0x201) + (keybits / 8) + 1;
499 *p++ = (uint8_t)(((keybits / 8) + 1) >> 8);
500 *p++ = (uint8_t)(((keybits / 8) + 1) & 0xff);
502 /* we need to drop 1 + (keybits / 8) bytes of n in here, 00 + key */
517 p[17] = (uint8_t)(((keybits / 8) + 1) >> 8);
518 p[18] = (uint8_t)(((keybits / 8) + 1) & 0xff);