Lines Matching refs:dig
33 xor_hash_data(const br_hash_class *dig, void *dst, const void *src, size_t len) in xor_hash_data() argument
40 hc.vtable = dig; in xor_hash_data()
41 dig->init(&hc.vtable); in xor_hash_data()
42 dig->update(&hc.vtable, src, len); in xor_hash_data()
43 dig->out(&hc.vtable, tmp); in xor_hash_data()
45 hlen = br_digest_size(dig); in xor_hash_data()
53 br_rsa_oaep_unpad(const br_hash_class *dig, in br_rsa_oaep_unpad() argument
61 hlen = br_digest_size(dig); in br_rsa_oaep_unpad()
75 br_mgf1_xor(buf + 1, hlen, dig, buf + 1 + hlen, k - hlen - 1); in br_rsa_oaep_unpad()
76 br_mgf1_xor(buf + 1 + hlen, k - hlen - 1, dig, buf + 1, hlen); in br_rsa_oaep_unpad()
82 xor_hash_data(dig, buf + 1 + hlen, label, label_len); in br_rsa_oaep_unpad()