Home
last modified time | relevance | path

Searched refs:ktype (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/
Dptrmap.h6 #define DECLARE_PTRMAP(name, ktype, vtype) \ argument
7 struct name ## _pair { ktype key; vtype val; }; \
10 void name##_add(struct name **map, ktype k, vtype v) { \
14 void name##_update(struct name **map, ktype k, vtype v) { \
18 vtype name##_lookup(struct name *map, ktype k) { \
/third_party/openssl/crypto/dsa/
Ddsa_ameth.c332 const char *ktype = NULL; in do_dsa_print() local
346 ktype = "Private-Key"; in do_dsa_print()
348 ktype = "Public-Key"; in do_dsa_print()
350 ktype = "DSA-Parameters"; in do_dsa_print()
355 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) in do_dsa_print()
/third_party/openssl/crypto/dh/
Ddh_ameth.c270 const char *ktype = NULL; in do_dh_print() local
290 ktype = "DH Private-Key"; in do_dh_print()
292 ktype = "DH Public-Key"; in do_dh_print()
294 ktype = "DH Parameters"; in do_dh_print()
297 if (BIO_printf(bp, "%s: (%d bit)\n", ktype, BN_num_bits(x->p)) <= 0) in do_dh_print()
/third_party/openssl/crypto/ec/
Dec_ameth.c359 static int do_EC_KEY_print(BIO *bp, const EC_KEY *x, int off, ec_print_t ktype) in do_EC_KEY_print() argument
372 if (ktype != EC_KEY_PRINT_PARAM && EC_KEY_get0_public_key(x) != NULL) { in do_EC_KEY_print()
378 if (ktype == EC_KEY_PRINT_PRIVATE && EC_KEY_get0_private_key(x) != NULL) { in do_EC_KEY_print()
384 if (ktype == EC_KEY_PRINT_PRIVATE) in do_EC_KEY_print()
386 else if (ktype == EC_KEY_PRINT_PUBLIC) in do_EC_KEY_print()