Lines Matching refs:signature
1424 /* signature AlgorithmIdentifier */
1425 if (x509_parse_algorithm_identifier(pos, end - pos, &cert->signature,
1696 * It is an error if the length in bits of the signature S is
1712 wpa_hexdump(MSG_MSGDUMP, "X509: signature",
1720 * x509_certificate_check_signature - Verify certificate signature
1723 * Returns: 0 if cert has a valid signature that was signed by the issuer,
1729 return x509_check_signature(issuer, &cert->signature,
1736 struct x509_algorithm_identifier *signature,
1751 if (!x509_pkcs_oid(&signature->oid) ||
1752 signature->oid.len != 7 ||
1753 signature->oid.oid[5] != 1 /* pkcs-1 */) {
1754 wpa_printf(MSG_DEBUG, "X509: Unrecognized signature "
1774 wpa_printf(MSG_DEBUG, "X509: Failed to decrypt signature");
1781 wpa_hexdump(MSG_MSGDUMP, "X509: Signature data D", data, data_len);
1835 if (signature->oid.oid[6] != 5 /* sha-1WithRSAEncryption */) {
1839 signature->oid.oid[6]);
1847 if (signature->oid.oid[6] !=
1852 signature->oid.oid[6]);
1860 if (signature->oid.oid[6] != 12 /* sha384WithRSAEncryption */) {
1864 signature->oid.oid[6]);
1872 if (signature->oid.oid[6] != 13 /* sha512WithRSAEncryption */) {
1876 signature->oid.oid[6]);
1890 if (signature->oid.oid[6] != 4 /* md5WithRSAEncryption */) {
1894 signature->oid.oid[6]);
1925 switch (signature->oid.oid[6]) {
1958 wpa_printf(MSG_INFO, "X509: Unsupported certificate signature "
1959 "algorithm (%lu)", signature->oid.oid[6]);
1974 "X509: Extra data after certificate signature hash",
2096 "certificate signature within "
2120 "certificate signature");