Home
last modified time | relevance | path

Searched refs:sig_size (Results 1 – 15 of 15) sorted by relevance

/third_party/fsverity-utils/programs/
Dtest_sign_digest.c26 size_t sig_size; in main() local
41 err = libfsverity_sign_digest(d, &params, &sig, &sig_size); in main()
46 ASSERT(sig_size == expected_sig_size); in main()
47 expected_sig = xmalloc(sig_size); in main()
48 ASSERT(full_read(&file, expected_sig, sig_size)); in main()
49 ASSERT(!memcmp(sig, expected_sig, sig_size)); in main()
Dcmd_sign.c17 static bool write_signature(const char *filename, const u8 *sig, u32 sig_size) in write_signature() argument
24 ok = full_write(&file, sig, sig_size); in write_signature()
53 size_t sig_size; in fsverity_cmd_sign() local
129 &sig, &sig_size) != 0) { in fsverity_cmd_sign()
134 if (!write_signature(argv[1], sig, sig_size)) in fsverity_cmd_sign()
Dcmd_enable.c65 u32 sig_size = 0; in fsverity_cmd_enable() local
83 if (!read_signature(optarg, &sig, &sig_size)) in fsverity_cmd_enable()
100 if (libfsverity_enable_with_sig(file.fd, &tree_params, sig, sig_size)) { in fsverity_cmd_enable()
/third_party/mbedtls/library/
Dpk_wrap.c111 unsigned char *sig, size_t sig_size, size_t *sig_len, in rsa_sign_wrap() argument
122 if( sig_size < *sig_len ) in rsa_sign_wrap()
252 unsigned char *sig, size_t sig_size, size_t *sig_len,
274 unsigned char *sig, size_t sig_size, size_t *sig_len, in eckey_sign_wrap() argument
284 sig, sig_size, sig_len, in eckey_sign_wrap()
301 unsigned char *sig, size_t sig_size, size_t *sig_len,
373 unsigned char *sig, size_t sig_size, size_t *sig_len, in eckey_sign_rs_wrap() argument
389 hash, hash_len, sig, sig_size, sig_len, in eckey_sign_rs_wrap()
658 unsigned char *sig, size_t sig_size, size_t *sig_len, in ecdsa_sign_wrap() argument
663 sig, sig_size, sig_len, in ecdsa_sign_wrap()
[all …]
Dpk_wrap.h52 unsigned char *sig, size_t sig_size, size_t *sig_len,
66 unsigned char *sig, size_t sig_size, size_t *sig_len,
Dpk.c399 unsigned char *sig, size_t sig_size, size_t *sig_len, in mbedtls_pk_sign_restartable() argument
425 sig, sig_size, sig_len, in mbedtls_pk_sign_restartable()
442 sig, sig_size, sig_len, in mbedtls_pk_sign_restartable()
451 unsigned char *sig, size_t sig_size, size_t *sig_len, in mbedtls_pk_sign() argument
455 sig, sig_size, sig_len, in mbedtls_pk_sign()
Decdsa.c651 unsigned char *sig, size_t sig_size, in ecdsa_signature_to_asn1() argument
666 if( len > sig_size ) in ecdsa_signature_to_asn1()
681 unsigned char *sig, size_t sig_size, size_t *slen, in mbedtls_ecdsa_write_signature_restartable() argument
719 MBEDTLS_MPI_CHK( ecdsa_signature_to_asn1( &r, &s, sig, sig_size, slen ) ); in mbedtls_ecdsa_write_signature_restartable()
734 unsigned char *sig, size_t sig_size, size_t *slen, in mbedtls_ecdsa_write_signature() argument
743 ctx, md_alg, hash, hlen, sig, sig_size, slen, in mbedtls_ecdsa_write_signature()
Dx509write_csr.c139 unsigned char *sig, size_t sig_size, in x509write_csr_der_internal() argument
239 sig, sig_size, &sig_len, in x509write_csr_der_internal()
/third_party/fsverity-utils/lib/
Denable.c25 const uint8_t *sig, size_t sig_size) in libfsverity_enable_with_sig() argument
47 arg.sig_size = sig_size; in libfsverity_enable_with_sig()
Dsign_digest.c278 u32 sig_size; in sign_pkcs7() local
322 sig_size = BIO_get_mem_data(bio, &sig); in sign_pkcs7()
323 *sig_ret = libfsverity_memdup(sig, sig_size); in sign_pkcs7()
328 *sig_size_ret = sig_size; in sign_pkcs7()
/third_party/fsverity-utils/common/
Dfsverity_uapi.h27 __u32 sig_size; member
55 __le32 sig_size; member
/third_party/mbedtls/include/mbedtls/
Decdsa.h310 unsigned char *sig, size_t sig_size, size_t *slen,
357 unsigned char *sig, size_t sig_size, size_t *slen,
Dpk.h535 unsigned char *sig, size_t sig_size, size_t *sig_len,
570 unsigned char *sig, size_t sig_size, size_t *sig_len,
/third_party/fsverity-utils/include/
Dlibfsverity.h248 const uint8_t *sig, size_t sig_size);
/third_party/ffmpeg/libavcodec/
Dvc2enc.c954 int slice_ceil, sig_size = 256; in vc2_encode_frame() local
974 while (sig_size > 255) { in vc2_encode_frame()
980 sig_size = r_size/s->size_scaler; /* Signalled slize size */ in vc2_encode_frame()