Home | History | Annotate | Download | only in 2lib

Lines Matching refs:sig

243 int vb2_check_padding(const uint8_t *sig, const struct vb2_public_key *key)
275 result |= *sig++ ^ 0x00;
276 result |= *sig++ ^ 0x01;
280 result |= *sig++ ^ 0xff;
286 result |= vb2_safe_memcmp(sig, tail, tail_size);
292 uint8_t *sig,
303 if (!key || !sig || !digest)
323 modpowF4(key, sig, workbuf32);
332 rv = vb2_check_padding(sig, key);
342 if (vb2_safe_memcmp(sig + pad_size, digest, key_bytes - pad_size)) {