Lines Matching refs:sig_len
2817 size_t sig_len = MBEDTLS_PK_SIGNATURE_MAX_SIZE; in crypto_ec_key_sign() local
2818 struct wpabuf *buf = wpabuf_alloc(sig_len); in crypto_ec_key_sign()
2823 sig_len, in crypto_ec_key_sign()
2825 &sig_len, hostap_rng_fn, hostap_rng_ctx()) == 0) in crypto_ec_key_sign()
2827 wpabuf_put(buf, sig_len); in crypto_ec_key_sign()
2842 size_t sig_len = MBEDTLS_ECDSA_MAX_LEN; in crypto_ec_key_sign_r_s() local
2846 sig_len, in crypto_ec_key_sign_r_s()
2848 &sig_len, hostap_rng_fn, hostap_rng_ctx())) in crypto_ec_key_sign_r_s()
2856 u8 *end = p + sig_len; in crypto_ec_key_sign_r_s()
2893 …ify_signature(struct crypto_ec_key *key, const u8 *data, size_t len, const u8 *sig, size_t sig_len) in crypto_ec_key_verify_signature() argument
2895 …(mbedtls_pk_verify((mbedtls_pk_context *)key, crypto_ec_key_sign_md(len), data, len, sig, sig_len)) in crypto_ec_key_verify_signature()