Lines Matching refs:signature_len
4595 size_t signature_len;
4713 if (EVP_DigestSignFinal(md_ctx, NULL, &signature_len) != 1) {
4718 signature = os_malloc(signature_len);
4721 if (EVP_DigestSignFinal(md_ctx, signature, &signature_len) != 1) {
4727 signature, signature_len);
4730 sig = d2i_ECDSA_SIG(NULL, &p, signature_len);
4738 signature_len = 2 * curve->prime_len;
4740 signature, signature_len);
4741 signed3 = (char *) base64_url_encode(signature, signature_len,
5562 size_t prot_hdr_len = 0, signature_len = 0;
5641 os_strlen(pos), &signature_len);
5649 signature, signature_len);
5656 if (signature_len & 0x01) {
5659 (int) signature_len);
5666 r = BN_bin2bn(signature, signature_len / 2, NULL);
5667 s = BN_bin2bn(signature + signature_len / 2, signature_len / 2, NULL);
8215 size_t signature_len = 0, signed3_len;
8234 os_strlen(pos), &signature_len);
8235 if (!signature || signature_len == 0)
8238 signature, signature_len);
8239 signature[signature_len - 1] ^= 0x01;
8241 signature, signature_len);
8242 signed3 = (char *) base64_url_encode(signature, signature_len,