Searched refs:num_pad (Results 1 – 1 of 1) sorted by relevance
120 int num_pad = rsa_block_len - (2 + der_header.length + sha_message.length) - 1; in generateSignature() local122 if (num_pad < 8) in generateSignature()125 byte[] sig = new byte[der_header.length + sha_message.length + 2 + num_pad]; in generateSignature()129 for (int i = 0; i < num_pad; i++) in generateSignature()134 sig[num_pad + 1] = 0x00; in generateSignature()136 System.arraycopy(der_header, 0, sig, 2 + num_pad, der_header.length); in generateSignature()137 System.arraycopy(sha_message, 0, sig, 2 + num_pad + der_header.length, sha_message.length); in generateSignature()211 int num_pad = pos - (startpos + 1); in verifySignature() local213 if (num_pad < 8) in verifySignature()