HomeSort by: relevance | last modified time | path
    Searched defs:calculated (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/bsd/netpgp/dist/src/libverify/
libverify.c 1551 rsa_verify(uint8_t *calculated, unsigned calclen, uint8_t hashalg, pgpv_bignum_t *bn, pgpv_pubkey_t *pubkey)
1583 return memcmp(&decrypted[i + prefixlen], calculated, calclen) == 0;
1602 verify_dsa_sig(uint8_t *calculated, unsigned calclen, pgpv_bignum_t *sig, pgpv_pubkey_t *pubkey)
1646 if (BN_bin2bn(calculated, (int)calclen, M) == NULL ||
2135 /* match the calculated signature against the oen in the signature packet */
2140 uint8_t calculated[64]; local
2143 calclen = pgpv_digest_memory(calculated, sizeof(calculated),
2148 match = rsa_verify(calculated, calclen, signature->hashalg, signature->bn, pubkey);
2150 match = verify_dsa_sig(calculated, calclen, signature->bn, pubkey)
    [all...]
  /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
libverify.c 2011 rsa_verify(uint8_t *calculated, unsigned calclen, uint8_t hashalg, pgpv_bignum_t *bn, pgpv_pubkey_t *pubkey)
2043 return memcmp(&decrypted[i + prefixlen], calculated, calclen) == 0;
2062 verify_dsa_sig(uint8_t *calculated, unsigned calclen, pgpv_bignum_t *sig, pgpv_pubkey_t *pubkey)
2106 if (PGPV_BN_bin2bn(calculated, (int)calclen, M) == NULL ||
2840 /* match the calculated signature against the one in the signature packet */
2845 uint8_t calculated[64]; local
2848 calclen = pgpv_digest_memory(calculated, sizeof(calculated),
2853 match = rsa_verify(calculated, calclen, signature->hashalg, signature->bn, pubkey);
2855 match = verify_dsa_sig(calculated, calclen, signature->bn, pubkey)
    [all...]

Completed in 25 milliseconds