/systemd-251/src/home/ |
D | user-record-sign.c | 37 size_t signature_size = 0, key_size = 0; in user_record_sign() local 58 if (EVP_DigestSign(md_ctx, NULL, &signature_size, (uint8_t*) text, strlen(text)) <= 0) in user_record_sign() 61 signature = malloc(signature_size); in user_record_sign() 65 if (EVP_DigestSign(md_ctx, signature, &signature_size, (uint8_t*) text, strlen(text)) <= 0) in user_record_sign() 80 … JSON_BUILD_OBJECT(JSON_BUILD_PAIR("data", JSON_BUILD_BASE64(signature, signature_size)), in user_record_sign() 132 size_t signature_size = 0; in user_record_verify() local 142 r = json_variant_unbase64(data, &signature, &signature_size); in user_record_verify() 153 … if (EVP_DigestVerify(md_ctx, signature, signature_size, (uint8_t*) text, strlen(text)) <= 0) { in user_record_verify()
|
/systemd-251/src/resolve/ |
D | test-dnssec.c | 161 rrsig->rrsig.signature_size = sizeof(signature_blob); in TEST() 162 rrsig->rrsig.signature = memdup(signature_blob, rrsig->rrsig.signature_size); in TEST() 253 rrsig->rrsig.signature_size = sizeof(signature_blob); in TEST() 254 rrsig->rrsig.signature = memdup(signature_blob, rrsig->rrsig.signature_size); in TEST() 344 rrsig->rrsig.signature_size = sizeof(signature_blob); in TEST() 345 rrsig->rrsig.signature = memdup(signature_blob, rrsig->rrsig.signature_size); in TEST() 439 rrsig->rrsig.signature_size = sizeof(signature_blob); in TEST() 440 rrsig->rrsig.signature = memdup(signature_blob, rrsig->rrsig.signature_size); in TEST() 504 rrsig->rrsig.signature_size = sizeof(signature_blob); in TEST() 505 rrsig->rrsig.signature = memdup(signature_blob, rrsig->rrsig.signature_size); in TEST() [all …]
|
D | resolved-dns-dnssec.c | 95 const void *signature, size_t signature_size, in dnssec_rsa_verify_raw() argument 127 assert((size_t) RSA_size(rpubkey) == signature_size); in dnssec_rsa_verify_raw() 149 r = EVP_PKEY_verify(ctx, signature, signature_size, data, data_size); in dnssec_rsa_verify_raw() 162 ge = gcry_mpi_scan(&s, GCRYMPI_FMT_USG, signature, signature_size, NULL); in dnssec_rsa_verify_raw() 288 rrsig->rrsig.signature, rrsig->rrsig.signature_size, in dnssec_rsa_verify() 477 if (rrsig->rrsig.signature_size != key_size * 2) in dnssec_ecdsa_verify() 495 const uint8_t *signature, size_t signature_size, in dnssec_eddsa_verify_raw() argument 506 assert(signature_size == key_size * 2); in dnssec_eddsa_verify_raw() 508 uint8_t *q = newa(uint8_t, signature_size + 1); in dnssec_eddsa_verify_raw() 510 memcpy(q+1, signature, signature_size); in dnssec_eddsa_verify_raw() [all …]
|
D | resolved-dns-rr.c | 1033 rr->rrsig.signature, rr->rrsig.signature_size, in dns_resource_record_to_string() 1422 siphash24_compress_safe(rr->rrsig.signature, rr->rrsig.signature_size, state); in dns_resource_record_hash_func() 1601 copy->rrsig.signature = memdup(rr->rrsig.signature, rr->rrsig.signature_size); in dns_resource_record_copy() 1604 copy->rrsig.signature_size = rr->rrsig.signature_size; in dns_resource_record_copy()
|
D | resolved-dns-rr.h | 196 size_t signature_size; member
|
D | resolved-dns-packet.c | 1103 r = dns_packet_append_blob(p, rr->rrsig.signature, rr->rrsig.signature_size, NULL); in dns_packet_append_rr() 1996 &rr->rrsig.signature, &rr->rrsig.signature_size, in dns_packet_read_rr() 1999 if (rr->rrsig.signature_size <= 0) in dns_packet_read_rr()
|
/systemd-251/src/import/ |
D | pull-common.c | 383 const void *signature, size_t signature_size) { in verify_gpg() argument 392 assert(signature || signature_size == 0); in verify_gpg() 398 if (signature_size > 0) { in verify_gpg() 405 r = loop_write(sig_file, signature, signature_size, false); in verify_gpg() 496 if (signature_size > 0) in verify_gpg()
|
/systemd-251/test/units/ |
D | testsuite-50.sh | 122 signature_size=4 124 dd if=/dev/zero of="${image}.gpt" bs=512 count=$((8192+root_size*2+verity_size*2+signature_size*2)) 133 signature_size="$((signature_size * 2))KiB" 168 truncate -s "${signature_size}" "${image}.verity-sig" 182 echo -e "size=${signature_size}, type=${signature_guid}" | sfdisk "${image}.gpt" --append
|
/systemd-251/src/shared/ |
D | cryptsetup-util.h | 20 …r *volume_key, size_t volume_key_size, const char *signature, size_t signature_size, uint32_t flag…
|
D | cryptsetup-util.c | 14 …r *volume_key, size_t volume_key_size, const char *signature, size_t signature_size, uint32_t flag…
|