/third_party/mbedtls/library/ |
D | pkwrite.c | 410 size_t pub_len = 0, par_len = 0; in mbedtls_pk_write_key_der() local 424 MBEDTLS_ASN1_CHK_ADD(pub_len, pk_write_ec_pubkey(&c, buf, ec)); in mbedtls_pk_write_key_der() 430 pub_len += 1; in mbedtls_pk_write_key_der() 432 MBEDTLS_ASN1_CHK_ADD(pub_len, mbedtls_asn1_write_len(&c, buf, pub_len)); in mbedtls_pk_write_key_der() 433 MBEDTLS_ASN1_CHK_ADD(pub_len, mbedtls_asn1_write_tag(&c, buf, MBEDTLS_ASN1_BIT_STRING)); in mbedtls_pk_write_key_der() 435 MBEDTLS_ASN1_CHK_ADD(pub_len, mbedtls_asn1_write_len(&c, buf, pub_len)); in mbedtls_pk_write_key_der() 436 MBEDTLS_ASN1_CHK_ADD(pub_len, mbedtls_asn1_write_tag(&c, buf, in mbedtls_pk_write_key_der() 439 len += pub_len; in mbedtls_pk_write_key_der()
|
D | x509write_csr.c | 247 size_t pub_len = 0, sig_and_oid_len = 0, sig_len; in x509write_csr_der_internal() local 292 MBEDTLS_ASN1_CHK_ADD(pub_len, mbedtls_pk_write_pubkey_der(ctx->key, in x509write_csr_der_internal() 294 c -= pub_len; in x509write_csr_der_internal() 295 len += pub_len; in x509write_csr_der_internal()
|
D | x509write_crt.c | 436 size_t sub_len = 0, pub_len = 0, sig_and_oid_len = 0, sig_len; in mbedtls_x509write_crt_der() local 486 MBEDTLS_ASN1_CHK_ADD(pub_len, in mbedtls_x509write_crt_der() 489 c -= pub_len; in mbedtls_x509write_crt_der() 490 len += pub_len; in mbedtls_x509write_crt_der()
|
/third_party/openssl/test/ |
D | acvp_test.c | 151 const unsigned char *pub, size_t pub_len, in ecdsa_create_pkey() argument 165 pub, pub_len) > 0) in ecdsa_create_pkey() 190 tst->pub, tst->pub_len, tst->pass))) in ecdsa_pub_verify_test() 286 tst->pub, tst->pub_len, 1))) in ecdsa_sigver_test() 375 size_t priv_len = 0, pub_len = 0; in dsa_keygen_test() local 388 &pub, &pub_len))) in dsa_keygen_test() 390 test_output_memory("y", pub, pub_len); in dsa_keygen_test() 455 const unsigned char *pub, size_t pub_len, in dsa_create_pkey() argument 499 || !TEST_ptr(BN_bin2bn(pub, pub_len, pub_bn)) in dsa_create_pkey() 633 NULL, 0, 0, 0, 0, tst->pub, tst->pub_len, in dsa_sigver_test() [all …]
|
D | tls-provider.c | 665 size_t priv_len = 0, pub_len = 0; in xor_import() local 681 sizeof(pubkey), &pub_len))) in xor_import() 688 if (pub_len > 0) { in xor_import() 689 memcpy(key->pubkey, pubkey, pub_len); in xor_import()
|
D | acvp_test.inc | 23 size_t pub_len; 40 size_t pub_len; 272 size_t pub_len; 924 size_t pub_len;
|
/third_party/openssl/providers/implementations/encode_decode/ |
D | encode_key2text.c | 496 size_t priv_len = 0, pub_len = 0; in ec_to_text() local 536 pub_len = EC_KEY_key2buf(ec, EC_KEY_get_conv_form(ec), &pub, NULL); in ec_to_text() 537 if (pub_len == 0) in ec_to_text() 548 && !print_labeled_buf(out, "pub:", pub, pub_len)) in ec_to_text()
|
/third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
D | encode_key2text.c | 496 size_t priv_len = 0, pub_len = 0; in ec_to_text() local 536 pub_len = EC_KEY_key2buf(ec, EC_KEY_get_conv_form(ec), &pub, NULL); in ec_to_text() 537 if (pub_len == 0) in ec_to_text() 548 && !print_labeled_buf(out, "pub:", pub, pub_len)) in ec_to_text()
|
/third_party/libcoap/src/ |
D | coap_tinydtls.c | 1103 const uint8_t *pub_data, size_t pub_len, in asn1_derive_keys() argument 1133 t_context->pub_key = get_asn1_tag(COAP_ASN1_BITSTRING, pub_data, pub_len, in asn1_derive_keys()
|